From 589e6c881bd2cf11e8615e9c1bf8cb4012293bad Mon Sep 17 00:00:00 2001 From: David Runge Date: Thu, 31 Dec 2015 03:34:08 +0100 Subject: libraries/oscP5: Adding oscP5 library for OSC capabilities. --- .../oscP5/reference/netP5/AbstractMulticast.html | 560 +++++++++++ .../oscP5/reference/netP5/AbstractTcpClient.html | 869 +++++++++++++++++ .../oscP5/reference/netP5/AbstractTcpServer.html | 675 +++++++++++++ .../oscP5/reference/netP5/AbstractUdpClient.html | 408 ++++++++ .../oscP5/reference/netP5/AbstractUdpServer.html | 440 +++++++++ libraries/oscP5/reference/netP5/Bytes.html | 906 ++++++++++++++++++ libraries/oscP5/reference/netP5/Logger.html | 613 ++++++++++++ libraries/oscP5/reference/netP5/Multicast.html | 428 +++++++++ libraries/oscP5/reference/netP5/NetAddress.html | 422 ++++++++ .../oscP5/reference/netP5/NetAddressList.html | 460 +++++++++ libraries/oscP5/reference/netP5/NetInfo.html | 334 +++++++ libraries/oscP5/reference/netP5/NetListener.html | 223 +++++ libraries/oscP5/reference/netP5/NetMessage.html | 386 ++++++++ libraries/oscP5/reference/netP5/NetP5.html | 274 ++++++ libraries/oscP5/reference/netP5/NetStatus.html | 434 +++++++++ libraries/oscP5/reference/netP5/StringUtils.html | 1008 ++++++++++++++++++++ libraries/oscP5/reference/netP5/TcpClient.html | 473 +++++++++ libraries/oscP5/reference/netP5/TcpPacket.html | 311 ++++++ .../oscP5/reference/netP5/TcpPacketListener.html | 247 +++++ libraries/oscP5/reference/netP5/TcpServer.html | 463 +++++++++ libraries/oscP5/reference/netP5/UdpClient.html | 266 ++++++ .../oscP5/reference/netP5/UdpPacketListener.html | 213 +++++ libraries/oscP5/reference/netP5/UdpServer.html | 411 ++++++++ libraries/oscP5/reference/netP5/package-frame.html | 85 ++ .../oscP5/reference/netP5/package-summary.html | 255 +++++ libraries/oscP5/reference/netP5/package-tree.html | 172 ++++ 26 files changed, 11336 insertions(+) create mode 100644 libraries/oscP5/reference/netP5/AbstractMulticast.html create mode 100644 libraries/oscP5/reference/netP5/AbstractTcpClient.html create mode 100644 libraries/oscP5/reference/netP5/AbstractTcpServer.html create mode 100644 libraries/oscP5/reference/netP5/AbstractUdpClient.html create mode 100644 libraries/oscP5/reference/netP5/AbstractUdpServer.html create mode 100644 libraries/oscP5/reference/netP5/Bytes.html create mode 100644 libraries/oscP5/reference/netP5/Logger.html create mode 100644 libraries/oscP5/reference/netP5/Multicast.html create mode 100644 libraries/oscP5/reference/netP5/NetAddress.html create mode 100644 libraries/oscP5/reference/netP5/NetAddressList.html create mode 100644 libraries/oscP5/reference/netP5/NetInfo.html create mode 100644 libraries/oscP5/reference/netP5/NetListener.html create mode 100644 libraries/oscP5/reference/netP5/NetMessage.html create mode 100644 libraries/oscP5/reference/netP5/NetP5.html create mode 100644 libraries/oscP5/reference/netP5/NetStatus.html create mode 100644 libraries/oscP5/reference/netP5/StringUtils.html create mode 100644 libraries/oscP5/reference/netP5/TcpClient.html create mode 100644 libraries/oscP5/reference/netP5/TcpPacket.html create mode 100644 libraries/oscP5/reference/netP5/TcpPacketListener.html create mode 100644 libraries/oscP5/reference/netP5/TcpServer.html create mode 100644 libraries/oscP5/reference/netP5/UdpClient.html create mode 100644 libraries/oscP5/reference/netP5/UdpPacketListener.html create mode 100644 libraries/oscP5/reference/netP5/UdpServer.html create mode 100644 libraries/oscP5/reference/netP5/package-frame.html create mode 100644 libraries/oscP5/reference/netP5/package-summary.html create mode 100644 libraries/oscP5/reference/netP5/package-tree.html (limited to 'libraries/oscP5/reference/netP5') diff --git a/libraries/oscP5/reference/netP5/AbstractMulticast.html b/libraries/oscP5/reference/netP5/AbstractMulticast.html new file mode 100644 index 0000000..7de48fc --- /dev/null +++ b/libraries/oscP5/reference/netP5/AbstractMulticast.html @@ -0,0 +1,560 @@ + + + + + + +AbstractMulticast (Javadocs: oscP5) + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + +
+ +
+ + + +
+ +

+ +netP5 +
+Class AbstractMulticast

+
+java.lang.Object
+  extended by netP5.AbstractMulticast
+
+
+
All Implemented Interfaces:
Runnable
+
+
+
Direct Known Subclasses:
Multicast
+
+
+
+
public abstract class AbstractMulticast
extends Object
implements Runnable
+ + +

+


+ +

+ + + + + + + + + + + + + + +
+Constructor Summary
AbstractMulticast(UdpPacketListener theDatagramListener, + String theMulticastAddress, + int thePort) + +
+           
AbstractMulticast(UdpPacketListener theDatagramListener, + String theMulticastAddress, + int thePort, + int theBufferSize) + +
+           
+  + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+Method Summary
+ voidclose() + +
+           
+ voiddispose() + +
+          dispose the multicastSocket.
+ booleanloopback() + +
+          get the current loopback mode.
+ voidrun() + +
+           
+ voidsend(byte[] theBytes) + +
+          send a byte array to the mulitcast address.
+ voidsend(String theString) + +
+          send a string to the multicast address.
+ voidsetDatagramSize(int theDatagramSize) + +
+          set the buffer size of the datagrams received by the multicast socket.
+ voidsetLoopback(boolean theFlag) + +
+          Disable/Enable local loopback of multicast datagrams.
+ booleansetTimeToLive(int theTTL) + +
+          Set the default time-to-live for multicast packets + sent out on this MulticastSocket in order to control the scope + of the multicasts.
+ MulticastSocketsocket() + +
+          get the running multicast socket.
+ voidstart() + +
+           
+ inttimeToLive() + +
+          get the current time to live value.
+ + + + + + + +
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
+  +

+ + + + + + + + +
+Constructor Detail
+ +

+AbstractMulticast

+
+public AbstractMulticast(UdpPacketListener theDatagramListener,
+                         String theMulticastAddress,
+                         int thePort,
+                         int theBufferSize)
+
+
+
Parameters:
theDatagramListener - UdpPacketListener
theMulticastAddress - String
thePort - int
theBufferSize - int
+
+
+ +

+AbstractMulticast

+
+public AbstractMulticast(UdpPacketListener theDatagramListener,
+                         String theMulticastAddress,
+                         int thePort)
+
+
+
Parameters:
theDatagramListener - UdpPacketListener
theMulticastAddress - String
thePort - int
+
+ + + + + + + + +
+Method Detail
+ +

+socket

+
+public MulticastSocket socket()
+
+
get the running multicast socket. +

+

+
+
+
+ +
Returns:
MulticastSocket
+
+
+
+ +

+setDatagramSize

+
+public void setDatagramSize(int theDatagramSize)
+
+
set the buffer size of the datagrams received by the multicast socket. +

+

+
+
+
+
Parameters:
theDatagramSize - int
+
+
+
+ +

+start

+
+public void start()
+
+
+
+
+
+
+
+
+
+ +

+run

+
+public void run()
+
+
+
Specified by:
run in interface Runnable
+
+
+
+
+
+
+ +

+dispose

+
+public void dispose()
+
+
dispose the multicastSocket. +

+

+
+
+
+
+
+
+
+ +

+close

+
+public void close()
+
+
+
+
+
+
+
+
+
+ +

+setTimeToLive

+
+public boolean setTimeToLive(int theTTL)
+
+
Set the default time-to-live for multicast packets + sent out on this MulticastSocket in order to control the scope + of the multicasts. theTTL must be in the range 0 <= ttl <= 255 +

+

+
+
+
+
Parameters:
theTTL - int +
Returns:
boolean
+
+
+
+ +

+timeToLive

+
+public int timeToLive()
+
+
get the current time to live value. +

+

+
+
+
+ +
Returns:
int
+
+
+
+ +

+setLoopback

+
+public void setLoopback(boolean theFlag)
+
+
Disable/Enable local loopback of multicast datagrams. + The option is used by the platform's networking code as a + hint for setting whether multicast data will be + looped back to the local socket. +

+

+
+
+
+
Parameters:
theFlag - boolean
+
+
+
+ +

+loopback

+
+public boolean loopback()
+
+
get the current loopback mode. messages loop back to the local address + if the loopback is set to false. set loopback to false to prevent messages + to loop back to your local address. +

+

+
+
+
+ +
Returns:
boolean
+
+
+
+ +

+send

+
+public void send(String theString)
+
+
send a string to the multicast address. +

+

+
+
+
+
Parameters:
theString - String
+
+
+
+ +

+send

+
+public void send(byte[] theBytes)
+
+
send a byte array to the mulitcast address. +

+

+
+
+
+
Parameters:
theBytes - byte[]
+
+
+ +
+ + + + + + + + + + + + + + + + + + + +
+ +
+ + + +
+processing library oscP5 by Andreas Schlegel. (c) 2004-2012 + + diff --git a/libraries/oscP5/reference/netP5/AbstractTcpClient.html b/libraries/oscP5/reference/netP5/AbstractTcpClient.html new file mode 100644 index 0000000..afc5010 --- /dev/null +++ b/libraries/oscP5/reference/netP5/AbstractTcpClient.html @@ -0,0 +1,869 @@ + + + + + + +AbstractTcpClient (Javadocs: oscP5) + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + +
+ +
+ + + +
+ +

+ +netP5 +
+Class AbstractTcpClient

+
+java.lang.Object
+  extended by netP5.AbstractTcpClient
+
+
+
All Implemented Interfaces:
Runnable
+
+
+
Direct Known Subclasses:
TcpClient
+
+
+
+
public abstract class AbstractTcpClient
extends Object
implements Runnable
+ + +

+


+ +

+ + + + + + + + + + + + + + + + + + + + + + + +
+Field Summary
+static intMODE_NEWLINE + +
+          terminator is newline.
+static intMODE_READLINE + +
+          terminator is readline.
+static intMODE_STREAM + +
+          no terminator required, packets are sent via + a tcp stream.
+static intMODE_TERMINATED + +
+          terminator is terminated, by default this is character '\0' + and can be set with setTerminator
+  + + + + + + + + + + + + + + + + + + + + + + +
+Constructor Summary
AbstractTcpClient(AbstractTcpServer theTcpServer, + Socket theSocket, + TcpPacketListener theTcpPacketListener, + int theServerPort, + int theMode) + +
+           
AbstractTcpClient(String theHost, + int thePort) + +
+           
AbstractTcpClient(String theHost, + int thePort, + int theMode) + +
+           
AbstractTcpClient(TcpPacketListener theTcpPacketListener, + String theHost, + int thePort) + +
+           
AbstractTcpClient(TcpPacketListener theTcpPacketListener, + String theHost, + int thePort, + int theMode) + +
+           
+  + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+Method Summary
+ voiddispose() + +
+          stop and dispose a tcp client.
+ booleanequals(NetAddress theNetAddress) + +
+           
+ booleanequals(TcpClient theClient) + +
+           
+ StringgetString() + +
+           
+ StringBuffergetStringBuffer() + +
+           
+abstract  voidhandleInput() + +
+           
+abstract  voidhandleStatus(int theIndex) + +
+           
+ TcpPacketListenerlistener() + +
+           
+ intmode() + +
+          get the mode of the terminator.
+ NetAddressnetaddress() + +
+          Deprecated.  
+ NetAddressnetAddress() + +
+           
+ voidreconnect() + +
+          when a TCP connection is lost, reconnect to the server with reconnect().
+ voidrun() + +
+           
+ voidsend(byte[] theBytes) + +
+           
+ voidsend(byte[][] theBytes) + +
+           
+ voidsend(String theString) + +
+           
+ intserverport() + +
+          get the server port.
+ voidsetTerminator(char theTerminator) + +
+          to parse an incomming tcp message, a terminator character is required to + determine the end of the message so that it can be parsed and forwarded.
+ Socketsocket() + +
+          get the instance of the socket.
+ + + + + + + +
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
+  +

+ + + + + + + + +
+Field Detail
+ +

+MODE_READLINE

+
+public static final int MODE_READLINE
+
+
terminator is readline. +

+

+
See Also:
Constant Field Values
+
+
+ +

+MODE_TERMINATED

+
+public static final int MODE_TERMINATED
+
+
terminator is terminated, by default this is character '\0' + and can be set with setTerminator +

+

+
See Also:
Constant Field Values
+
+
+ +

+MODE_NEWLINE

+
+public static final int MODE_NEWLINE
+
+
terminator is newline. +

+

+
See Also:
Constant Field Values
+
+
+ +

+MODE_STREAM

+
+public static final int MODE_STREAM
+
+
no terminator required, packets are sent via + a tcp stream. +

+

+
See Also:
Constant Field Values
+
+ + + + + + + + +
+Constructor Detail
+ +

+AbstractTcpClient

+
+public AbstractTcpClient(TcpPacketListener theTcpPacketListener,
+                         String theHost,
+                         int thePort)
+
+
+
Parameters:
theTcpPacketListener - TcpPacketListener
theHost - String
thePort - int
+
+
+ +

+AbstractTcpClient

+
+public AbstractTcpClient(String theHost,
+                         int thePort)
+
+
+
Parameters:
theHost - String
thePort - int
+
+
+ +

+AbstractTcpClient

+
+public AbstractTcpClient(TcpPacketListener theTcpPacketListener,
+                         String theHost,
+                         int thePort,
+                         int theMode)
+
+
+
Parameters:
theTcpPacketListener - TcpPacketListener
theHost - String
thePort - int
theMode - int
+
+
+ +

+AbstractTcpClient

+
+public AbstractTcpClient(String theHost,
+                         int thePort,
+                         int theMode)
+
+
+
Parameters:
theHost - String
thePort - int
theMode - int
+
+
+ +

+AbstractTcpClient

+
+public AbstractTcpClient(AbstractTcpServer theTcpServer,
+                         Socket theSocket,
+                         TcpPacketListener theTcpPacketListener,
+                         int theServerPort,
+                         int theMode)
+
+
+
Parameters:
theTcpServer - AbstractTcpServer
theSocket - Socket
theTcpPacketListener - TcpPacketListener
theServerPort - int
theMode - int
+
+ + + + + + + + +
+Method Detail
+ +

+reconnect

+
+public void reconnect()
+
+
when a TCP connection is lost, reconnect to the server with reconnect(). +

+

+
+
+
+
+
+
+
+ +

+setTerminator

+
+public void setTerminator(char theTerminator)
+
+
to parse an incomming tcp message, a terminator character is required to + determine the end of the message so that it can be parsed and forwarded. +

+

+
+
+
+
Parameters:
theTerminator -
+
+
+
+ +

+dispose

+
+public void dispose()
+
+
stop and dispose a tcp client. +

+

+
+
+
+
+
+
+
+ +

+run

+
+public void run()
+
+
+
Specified by:
run in interface Runnable
+
+
+
+
+
+
+ +

+handleInput

+
+public abstract void handleInput()
+
+
+
+
+
+
+
+
+
+ +

+handleStatus

+
+public abstract void handleStatus(int theIndex)
+
+
+
+
+
+
Parameters:
theIndex -
+
+
+
+ +

+listener

+
+public TcpPacketListener listener()
+
+
+
+
+
+ +
Returns:
+
+
+
+ +

+serverport

+
+public int serverport()
+
+
get the server port. +

+

+
+
+
+ +
Returns:
+
+
+
+ +

+socket

+
+public Socket socket()
+
+
get the instance of the socket. more info at java.net.Socket +

+

+
+
+
+ +
Returns:
+
+
+
+ +

+mode

+
+public int mode()
+
+
get the mode of the terminator. +

+

+
+
+
+ +
Returns:
+
+
+
+ +

+getString

+
+public String getString()
+
+
+
+
+
+
+
+
+
+ +

+getStringBuffer

+
+public StringBuffer getStringBuffer()
+
+
+
+
+
+
+
+
+
+ +

+send

+
+public void send(byte[] theBytes)
+
+
+
+
+
+
+
+
+
+ +

+send

+
+public void send(byte[][] theBytes)
+
+
+
+
+
+
+
+
+
+ +

+send

+
+public void send(String theString)
+
+
+
+
+
+
+
+
+
+ +

+netAddress

+
+public NetAddress netAddress()
+
+
+
+
+
+
+
+
+
+ +

+netaddress

+
+public NetAddress netaddress()
+
+
Deprecated.  +

+

+
+
+
+ +
Returns:
NetAddress
+
+
+
+ +

+equals

+
+public boolean equals(NetAddress theNetAddress)
+
+
+
+
+
+
Parameters:
theNetAddress - NetAddress +
Returns:
boolean
+
+
+
+ +

+equals

+
+public boolean equals(TcpClient theClient)
+
+
+
+
+
+
+
+
+ +
+ + + + + + + + + + + + + + + + + + + +
+ +
+ + + +
+processing library oscP5 by Andreas Schlegel. (c) 2004-2012 + + diff --git a/libraries/oscP5/reference/netP5/AbstractTcpServer.html b/libraries/oscP5/reference/netP5/AbstractTcpServer.html new file mode 100644 index 0000000..cd55883 --- /dev/null +++ b/libraries/oscP5/reference/netP5/AbstractTcpServer.html @@ -0,0 +1,675 @@ + + + + + + +AbstractTcpServer (Javadocs: oscP5) + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + +
+ +
+ + + +
+ +

+ +netP5 +
+Class AbstractTcpServer

+
+java.lang.Object
+  extended by netP5.AbstractTcpServer
+
+
+
All Implemented Interfaces:
Runnable, TcpPacketListener
+
+
+
Direct Known Subclasses:
TcpServer
+
+
+
+
public abstract class AbstractTcpServer
extends Object
implements Runnable, TcpPacketListener
+ + +

+


+ +

+ + + + + + + + + + + + + + + + + + + + + + + +
+Field Summary
+static intMODE_NEWLINE + +
+           
+static intMODE_READLINE + +
+           
+static intMODE_STREAM + +
+           
+static intMODE_TERMINATED + +
+           
+  + + + + + + + + + + + + + +
+Constructor Summary
AbstractTcpServer(int thePort, + int theMode) + +
+           
AbstractTcpServer(TcpPacketListener theTcpPacketListener, + int thePort, + int theMode) + +
+           
+  + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+Method Summary
+ voidban(String theIP) + +
+          ban an IP address from the server.
+ voiddispose() + +
+          kill the server.
+ TcpClientgetClient(int theIndex) + +
+          get a client at a specific position the client list.
+ TcpClient[]getClients() + +
+          get a list of all connected clients.
+abstract  voidhandleInput(TcpPacket thePacket, + int thePort) + +
+           
+ voidprocess(TcpPacket thePacket, + int thePort) + +
+           
+ voidremove(AbstractTcpClient theTcpClient) + +
+          remove a TcpClient from the server's client list.
+ voidrun() + +
+           
+ voidsend(byte[] theBytes) + +
+          send a byte array to the connected client(s).
+ voidsend(String theString) + +
+          send a string to the connected client(s).
+ intsize() + +
+          get the number of connected clients.
+ ServerSocketsocket() + +
+          get the server socket object.
+ voidunBan(String theIP) + +
+          remove the ban for an IP address.
+ + + + + + + +
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
+ + + + + + + +
Methods inherited from interface netP5.TcpPacketListener
status
+  +

+ + + + + + + + +
+Field Detail
+ +

+MODE_READLINE

+
+public static final int MODE_READLINE
+
+
+
See Also:
Constant Field Values
+
+
+ +

+MODE_TERMINATED

+
+public static final int MODE_TERMINATED
+
+
+
See Also:
Constant Field Values
+
+
+ +

+MODE_NEWLINE

+
+public static final int MODE_NEWLINE
+
+
+
See Also:
Constant Field Values
+
+
+ +

+MODE_STREAM

+
+public static final int MODE_STREAM
+
+
+
See Also:
Constant Field Values
+
+ + + + + + + + +
+Constructor Detail
+ +

+AbstractTcpServer

+
+public AbstractTcpServer(int thePort,
+                         int theMode)
+
+
+
Parameters:
thePort - int
theMode - int
+
+
+ +

+AbstractTcpServer

+
+public AbstractTcpServer(TcpPacketListener theTcpPacketListener,
+                         int thePort,
+                         int theMode)
+
+
+
Parameters:
theTcpPacketListener - TcpPacketListener
thePort - int
theMode - int
+
+ + + + + + + + +
+Method Detail
+ +

+ban

+
+public void ban(String theIP)
+
+
ban an IP address from the server. +

+

+
+
+
+
Parameters:
theIP -
+
+
+
+ +

+unBan

+
+public void unBan(String theIP)
+
+
remove the ban for an IP address. +

+

+
+
+
+
Parameters:
theIP -
+
+
+
+ +

+socket

+
+public ServerSocket socket()
+
+
get the server socket object. more at java.net.ServerSocket +

+

+
+
+
+ +
Returns:
+
+
+
+ +

+run

+
+public void run()
+
+
+
Specified by:
run in interface Runnable
+
+
+
+
+
+
+ +

+send

+
+public void send(String theString)
+
+
send a string to the connected client(s). +

+

+
+
+
+
Parameters:
theString -
+
+
+
+ +

+send

+
+public void send(byte[] theBytes)
+
+
send a byte array to the connected client(s). +

+

+
+
+
+
Parameters:
theBytes -
+
+
+
+ +

+dispose

+
+public void dispose()
+
+
kill the server. +

+

+
+
+
+
+
+
+
+ +

+size

+
+public int size()
+
+
get the number of connected clients. +

+

+
+
+
+ +
Returns:
+
+
+
+ +

+getClients

+
+public TcpClient[] getClients()
+
+
get a list of all connected clients. an array of type TcpClient[] + will be returned. +

+

+
+
+
+ +
Returns:
+
+
+
+ +

+getClient

+
+public TcpClient getClient(int theIndex)
+
+
get a client at a specific position the client list. +

+

+
+
+
+
Parameters:
theIndex - +
Returns:
+
+
+
+ +

+process

+
+public void process(TcpPacket thePacket,
+                    int thePort)
+
+
+
Specified by:
process in interface TcpPacketListener
+
+
+
Parameters:
thePacket - TcpPacket
thePort - int
+
+
+
+ +

+handleInput

+
+public abstract void handleInput(TcpPacket thePacket,
+                                 int thePort)
+
+
+
+
+
+
Parameters:
thePacket - TcpPacket
thePort - int
+
+
+
+ +

+remove

+
+public void remove(AbstractTcpClient theTcpClient)
+
+
remove a TcpClient from the server's client list. +

+

+
Specified by:
remove in interface TcpPacketListener
+
+
+
Parameters:
theTcpClient - TCPClientAbstract
+
+
+ +
+ + + + + + + + + + + + + + + + + + + +
+ +
+ + + +
+processing library oscP5 by Andreas Schlegel. (c) 2004-2012 + + diff --git a/libraries/oscP5/reference/netP5/AbstractUdpClient.html b/libraries/oscP5/reference/netP5/AbstractUdpClient.html new file mode 100644 index 0000000..44efe19 --- /dev/null +++ b/libraries/oscP5/reference/netP5/AbstractUdpClient.html @@ -0,0 +1,408 @@ + + + + + + +AbstractUdpClient (Javadocs: oscP5) + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + +
+ +
+ + + +
+ +

+ +netP5 +
+Class AbstractUdpClient

+
+java.lang.Object
+  extended by netP5.AbstractUdpClient
+
+
+
Direct Known Subclasses:
UdpClient
+
+
+
+
public abstract class AbstractUdpClient
extends Object
+ + +

+


+ +

+ + + + + + + + + + + + + + +
+Constructor Summary
AbstractUdpClient() + +
+           
AbstractUdpClient(String theAddr, + int thePort) + +
+           
+  + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+Method Summary
+ voidsend(byte[] theBytes) + +
+          send a byte array using UDP to an already specified RemoteAddress.
+ voidsend(byte[] theBytes, + InetAddress theAddress, + int thePort) + +
+          send a byte array to the dedicated remoteAddress.
+ voidsend(byte[] theBytes, + NetAddress theNetAddress) + +
+          send a byte array to the dedicated remoteAddress.
+ voidsend(byte[] theBytes, + String theAddress, + int thePort) + +
+          send a byte array to the dedicated remoteAddress.
+ voidsend(DatagramPacket thePacket) + +
+           
+ voidsend(String theString) + +
+          send a string using UDP to an already specified RemoteAddress.
+ DatagramSocketsocket() + +
+          get the datagram socket of the UDP client.
+ + + + + + + +
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
+  +

+ + + + + + + + +
+Constructor Detail
+ +

+AbstractUdpClient

+
+public AbstractUdpClient()
+
+
+
+ +

+AbstractUdpClient

+
+public AbstractUdpClient(String theAddr,
+                         int thePort)
+
+
+
Parameters:
theAddr - String
thePort - int
+
+ + + + + + + + +
+Method Detail
+ +

+socket

+
+public DatagramSocket socket()
+
+
get the datagram socket of the UDP client. more info at java.net.DatagramSocket +

+

+ +
Returns:
DatagramSocket
+
+
+
+ +

+send

+
+public void send(String theString)
+
+
send a string using UDP to an already specified RemoteAddress. +

+

+
Parameters:
theString -
+
+
+
+ +

+send

+
+public void send(byte[] theBytes)
+
+
send a byte array using UDP to an already specified RemoteAddress. +

+

+
Parameters:
theBytes - byte[]
+
+
+
+ +

+send

+
+public void send(byte[] theBytes,
+                 NetAddress theNetAddress)
+
+
send a byte array to the dedicated remoteAddress. +

+

+
Parameters:
theBytes -
theNetAddress -
+
+
+
+ +

+send

+
+public void send(byte[] theBytes,
+                 String theAddress,
+                 int thePort)
+
+
send a byte array to the dedicated remoteAddress. +

+

+
Parameters:
thePacket - OscPacket
theAddress - String
thePort - int
+
+
+
+ +

+send

+
+public void send(DatagramPacket thePacket)
+
+
+
Parameters:
thePacket - DatagramPacket
+
+
+
+ +

+send

+
+public void send(byte[] theBytes,
+                 InetAddress theAddress,
+                 int thePort)
+
+
send a byte array to the dedicated remoteAddress. +

+

+
Parameters:
theBytes - byte[]
theAddress - InetAddress
thePort - int
+
+
+ +
+ + + + + + + + + + + + + + + + + + + +
+ +
+ + + +
+processing library oscP5 by Andreas Schlegel. (c) 2004-2012 + + diff --git a/libraries/oscP5/reference/netP5/AbstractUdpServer.html b/libraries/oscP5/reference/netP5/AbstractUdpServer.html new file mode 100644 index 0000000..927c9cb --- /dev/null +++ b/libraries/oscP5/reference/netP5/AbstractUdpServer.html @@ -0,0 +1,440 @@ + + + + + + +AbstractUdpServer (Javadocs: oscP5) + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + +
+ +
+ + + +
+ +

+ +netP5 +
+Class AbstractUdpServer

+
+java.lang.Object
+  extended by netP5.AbstractUdpServer
+
+
+
All Implemented Interfaces:
Runnable
+
+
+
Direct Known Subclasses:
UdpServer
+
+
+
+
public abstract class AbstractUdpServer
extends Object
implements Runnable
+ + +

+


+ +

+ + + + + + + + + + + +
+Constructor Summary
AbstractUdpServer(UdpPacketListener theListener, + int thePort, + int theBufferSize) + +
+          create a new UdpServer
+  + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+Method Summary
+ voiddispose() + +
+          stop the UDP server, clean up and delete its reference.
+ voidrun() + +
+           
+ voidsend(byte[] theBytes) + +
+          send a byte array to a previously defined remoteAddress.
+ voidsend(byte[] theBytes, + InetAddress theAddress, + int thePort) + +
+          send a byte array to a dedicated remoteAddress.
+ voidsend(byte[] theBytes, + String theAddress, + int thePort) + +
+          send a byte array to a dedicated remoteAddress.
+ voidsend(DatagramPacket thePacket) + +
+           
+ DatagramSocketsocket() + +
+          get the datagram socket of the UDP server.
+ voidstart() + +
+           
+ + + + + + + +
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
+  +

+ + + + + + + + +
+Constructor Detail
+ +

+AbstractUdpServer

+
+public AbstractUdpServer(UdpPacketListener theListener,
+                         int thePort,
+                         int theBufferSize)
+
+
create a new UdpServer +

+

+
Parameters:
theListener - UdpPacketListener
thePort - int
theBufferSize - int
+
+ + + + + + + + +
+Method Detail
+ +

+socket

+
+public DatagramSocket socket()
+
+
get the datagram socket of the UDP server. +

+

+
+
+
+ +
Returns:
DatagramSocket
+
+
+
+ +

+start

+
+public void start()
+
+
+
+
+
+
+
+
+
+ +

+run

+
+public void run()
+
+
+
Specified by:
run in interface Runnable
+
+
+
+
+
+
+ +

+dispose

+
+public void dispose()
+
+
stop the UDP server, clean up and delete its reference. +

+

+
+
+
+
+
+
+
+ +

+send

+
+public void send(byte[] theBytes)
+
+
send a byte array to a previously defined remoteAddress. +

+

+
+
+
+
Parameters:
theBytes - byte[]
+
+
+
+ +

+send

+
+public void send(byte[] theBytes,
+                 String theAddress,
+                 int thePort)
+
+
send a byte array to a dedicated remoteAddress. +

+

+
+
+
+
Parameters:
thePacket - OscPacket
theAddress - String
thePort - int
+
+
+
+ +

+send

+
+public void send(DatagramPacket thePacket)
+
+
+
+
+
+
Parameters:
thePacket - DatagramPacket
+
+
+
+ +

+send

+
+public void send(byte[] theBytes,
+                 InetAddress theAddress,
+                 int thePort)
+
+
send a byte array to a dedicated remoteAddress. +

+

+
+
+
+
Parameters:
theBytes - byte[]
theAddress - InetAddress
thePort - int
+
+
+ +
+ + + + + + + + + + + + + + + + + + + +
+ +
+ + + +
+processing library oscP5 by Andreas Schlegel. (c) 2004-2012 + + diff --git a/libraries/oscP5/reference/netP5/Bytes.html b/libraries/oscP5/reference/netP5/Bytes.html new file mode 100644 index 0000000..e3bdca7 --- /dev/null +++ b/libraries/oscP5/reference/netP5/Bytes.html @@ -0,0 +1,906 @@ + + + + + + +Bytes (Javadocs: oscP5) + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + +
+ +
+ + + +
+ +

+ +netP5 +
+Class Bytes

+
+java.lang.Object
+  extended by netP5.Bytes
+
+
+
+
public class Bytes
extends Object
+ + +

+


+ +

+ + + + + + + + + + + +
+Constructor Summary
Bytes() + +
+           
+  + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+Method Summary
+static byte[]append(byte[] abyte0, + byte[] abyte1) + +
+           
+static byte[]append(byte[] abyte0, + byte[] abyte1, + byte[] abyte2) + +
+           
+static booleanareEqual(byte[] abyte0, + byte[] abyte1) + +
+           
+static byte[]copy(byte[] abyte0, + int i) + +
+           
+static byte[]copy(byte[] abyte0, + int i, + int j) + +
+           
+static StringgetAsString(byte[] theBytes) + +
+           
+static StringgetAsString(Object[] theObject) + +
+          converts an object array into a String that is formated like a list
+static voidmerge(byte[] abyte0, + byte[] abyte1) + +
+           
+static voidmerge(byte[] abyte0, + byte[] abyte1, + int i) + +
+           
+static voidmerge(byte[] abyte0, + byte[] abyte1, + int i, + int j) + +
+           
+static voidmerge(byte[] abyte0, + byte[] abyte1, + int i, + int j, + int k) + +
+           
+static voidprintBytes(byte[] byteArray) + +
+           
+static byte[]toByteArray(InputStream ins) + +
+           
+static byte[]toBytes(int i) + +
+           
+static byte[]toBytes(int i, + byte[] abyte0) + +
+           
+static byte[]toBytes(long l) + +
+           
+static byte[]toBytes(long l, + byte[] abyte0) + +
+           
+static doubletoDouble(byte[] abyte0) + +
+           
+static voidtoFile(InputStream ins, + File file) + +
+           
+static floattoFloat(byte[] abyte0) + +
+           
+static inttoInt(byte[] abyte0) + +
+           
+static inttoIntBigEndian(InputStream theInputStream) + +
+           
+static inttoIntLittleEndian(InputStream theInputStream) + +
+           
+static longtoLong(byte[] abyte0) + +
+           
+static voidtoStream(OutputStream os, + byte[] theBytes) + +
+           
+static voidtoStream(OutputStream os, + File file) + +
+           
+static voidtoStream(OutputStream os, + int i) + +
+           
+static voidtoStream(OutputStream os, + String s) + +
+           
+static StringtoString(byte[] abyte0) + +
+           
+static StringtoString(byte[] abyte0, + int i, + int j) + +
+           
+static StringtoString(InputStream ins) + +
+           
+ + + + + + + +
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
+  +

+ + + + + + + + +
+Constructor Detail
+ +

+Bytes

+
+public Bytes()
+
+
+ + + + + + + + +
+Method Detail
+ +

+getAsString

+
+public static String getAsString(Object[] theObject)
+
+
converts an object array into a String that is formated like a list +

+

+
Parameters:
theObject - Object[] +
Returns:
String
+
+
+
+ +

+getAsString

+
+public static String getAsString(byte[] theBytes)
+
+
+
+
+
+
+ +

+toInt

+
+public static int toInt(byte[] abyte0)
+
+
+
+
+
+
+ +

+toLong

+
+public static long toLong(byte[] abyte0)
+
+
+
+
+
+
+ +

+toFloat

+
+public static float toFloat(byte[] abyte0)
+
+
+
+
+
+
+ +

+toDouble

+
+public static double toDouble(byte[] abyte0)
+
+
+
+
+
+
+ +

+toBytes

+
+public static byte[] toBytes(int i)
+
+
+
+
+
+
+ +

+toBytes

+
+public static byte[] toBytes(int i,
+                             byte[] abyte0)
+
+
+
+
+
+
+ +

+toBytes

+
+public static byte[] toBytes(long l)
+
+
+
+
+
+
+ +

+toBytes

+
+public static byte[] toBytes(long l,
+                             byte[] abyte0)
+
+
+
+
+
+
+ +

+areEqual

+
+public static boolean areEqual(byte[] abyte0,
+                               byte[] abyte1)
+
+
+
+
+
+
+ +

+append

+
+public static byte[] append(byte[] abyte0,
+                            byte[] abyte1)
+
+
+
+
+
+
+ +

+append

+
+public static byte[] append(byte[] abyte0,
+                            byte[] abyte1,
+                            byte[] abyte2)
+
+
+
+
+
+
+ +

+copy

+
+public static byte[] copy(byte[] abyte0,
+                          int i)
+
+
+
+
+
+
+ +

+copy

+
+public static byte[] copy(byte[] abyte0,
+                          int i,
+                          int j)
+
+
+
+
+
+
+ +

+merge

+
+public static void merge(byte[] abyte0,
+                         byte[] abyte1,
+                         int i,
+                         int j,
+                         int k)
+
+
+
+
+
+
+ +

+merge

+
+public static void merge(byte[] abyte0,
+                         byte[] abyte1,
+                         int i)
+
+
+
+
+
+
+ +

+merge

+
+public static void merge(byte[] abyte0,
+                         byte[] abyte1)
+
+
+
+
+
+
+ +

+merge

+
+public static void merge(byte[] abyte0,
+                         byte[] abyte1,
+                         int i,
+                         int j)
+
+
+
+
+
+
+ +

+toString

+
+public static String toString(byte[] abyte0,
+                              int i,
+                              int j)
+
+
+
+
+
+
+ +

+toString

+
+public static String toString(byte[] abyte0)
+
+
+
+
+
+
+ +

+printBytes

+
+public static void printBytes(byte[] byteArray)
+
+
+
+
+
+
+ +

+toIntLittleEndian

+
+public static int toIntLittleEndian(InputStream theInputStream)
+                             throws IOException
+
+
+ +
Throws: +
IOException
+
+
+
+ +

+toIntBigEndian

+
+public static int toIntBigEndian(InputStream theInputStream)
+                          throws IOException
+
+
+ +
Throws: +
IOException
+
+
+
+ +

+toString

+
+public static String toString(InputStream ins)
+                       throws IOException
+
+
+ +
Throws: +
IOException
+
+
+
+ +

+toStream

+
+public static void toStream(OutputStream os,
+                            int i)
+                     throws Exception
+
+
+ +
Throws: +
Exception
+
+
+
+ +

+toStream

+
+public static void toStream(OutputStream os,
+                            String s)
+                     throws Exception
+
+
+ +
Throws: +
Exception
+
+
+
+ +

+toStream

+
+public static void toStream(OutputStream os,
+                            byte[] theBytes)
+                     throws Exception
+
+
+ +
Throws: +
Exception
+
+
+
+ +

+toByteArray

+
+public static byte[] toByteArray(InputStream ins)
+                          throws IOException
+
+
+ +
Throws: +
IOException
+
+
+
+ +

+toFile

+
+public static void toFile(InputStream ins,
+                          File file)
+                   throws FileNotFoundException,
+                          IOException
+
+
+ +
Throws: +
FileNotFoundException +
IOException
+
+
+
+ +

+toStream

+
+public static void toStream(OutputStream os,
+                            File file)
+                     throws FileNotFoundException,
+                            Exception
+
+
+ +
Throws: +
FileNotFoundException +
Exception
+
+
+ +
+ + + + + + + + + + + + + + + + + + + +
+ +
+ + + +
+processing library oscP5 by Andreas Schlegel. (c) 2004-2012 + + diff --git a/libraries/oscP5/reference/netP5/Logger.html b/libraries/oscP5/reference/netP5/Logger.html new file mode 100644 index 0000000..8719681 --- /dev/null +++ b/libraries/oscP5/reference/netP5/Logger.html @@ -0,0 +1,613 @@ + + + + + + +Logger (Javadocs: oscP5) + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + +
+ +
+ + + +
+ +

+ +netP5 +
+Class Logger

+
+java.lang.Object
+  extended by netP5.Logger
+
+
+
+
public class Logger
extends Object
+ + +

+


+ +

+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+Field Summary
+static intALL + +
+           
+static intDEBUG + +
+           
+static intERROR + +
+           
+static int[]flags + +
+           
+static intINFO + +
+           
+static intOFF + +
+           
+static intON + +
+           
+static intPROCESS + +
+           
+static intWARNING + +
+           
+  + + + + + + + + + + +
+Constructor Summary
Logger() + +
+           
+  + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+Method Summary
+static StringgetTime() + +
+           
+static voidprint(String theMsg) + +
+           
+static voidprintBytes(byte[] byteArray) + +
+           
+static voidprintDebug(String theLocation, + String theMsg) + +
+           
+static voidprintError(String theLocation, + String theMsg) + +
+           
+static voidprintInfo(String theLocation, + String theMsg) + +
+           
+static voidprintln(String theMsg) + +
+           
+static voidprintProcess(String theLocation, + String theMsg) + +
+           
+static voidprintWarning(String theLocation, + String theMsg) + +
+           
+static voidset(int theIndex, + int theValue) + +
+           
+ + + + + + + +
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
+  +

+ + + + + + + + +
+Field Detail
+ +

+ON

+
+public static final int ON
+
+
+
See Also:
Constant Field Values
+
+
+ +

+OFF

+
+public static final int OFF
+
+
+
See Also:
Constant Field Values
+
+
+ +

+ERROR

+
+public static final int ERROR
+
+
+
See Also:
Constant Field Values
+
+
+ +

+WARNING

+
+public static final int WARNING
+
+
+
See Also:
Constant Field Values
+
+
+ +

+PROCESS

+
+public static final int PROCESS
+
+
+
See Also:
Constant Field Values
+
+
+ +

+INFO

+
+public static final int INFO
+
+
+
See Also:
Constant Field Values
+
+
+ +

+DEBUG

+
+public static final int DEBUG
+
+
+
See Also:
Constant Field Values
+
+
+ +

+ALL

+
+public static final int ALL
+
+
+
See Also:
Constant Field Values
+
+
+ +

+flags

+
+public static int[] flags
+
+
+
+
+ + + + + + + + +
+Constructor Detail
+ +

+Logger

+
+public Logger()
+
+
+ + + + + + + + +
+Method Detail
+ +

+set

+
+public static void set(int theIndex,
+                       int theValue)
+
+
+
+
+
+
+ +

+printError

+
+public static void printError(String theLocation,
+                              String theMsg)
+
+
+
+
+
+
+ +

+printProcess

+
+public static void printProcess(String theLocation,
+                                String theMsg)
+
+
+
+
+
+
+ +

+printWarning

+
+public static void printWarning(String theLocation,
+                                String theMsg)
+
+
+
+
+
+
+ +

+printInfo

+
+public static void printInfo(String theLocation,
+                             String theMsg)
+
+
+
+
+
+
+ +

+printDebug

+
+public static void printDebug(String theLocation,
+                              String theMsg)
+
+
+
+
+
+
+ +

+print

+
+public static void print(String theMsg)
+
+
+
+
+
+
+ +

+println

+
+public static void println(String theMsg)
+
+
+
+
+
+
+ +

+printBytes

+
+public static void printBytes(byte[] byteArray)
+
+
+
+
+
+
+ +

+getTime

+
+public static String getTime()
+
+
+
+
+
+ +
+ + + + + + + + + + + + + + + + + + + +
+ +
+ + + +
+processing library oscP5 by Andreas Schlegel. (c) 2004-2012 + + diff --git a/libraries/oscP5/reference/netP5/Multicast.html b/libraries/oscP5/reference/netP5/Multicast.html new file mode 100644 index 0000000..ce735bc --- /dev/null +++ b/libraries/oscP5/reference/netP5/Multicast.html @@ -0,0 +1,428 @@ + + + + + + +Multicast (Javadocs: oscP5) + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + +
+ +
+ + + +
+ +

+ +netP5 +
+Class Multicast

+
+java.lang.Object
+  extended by netP5.AbstractMulticast
+      extended by netP5.Multicast
+
+
+
All Implemented Interfaces:
Runnable, UdpPacketListener
+
+
+
+
public class Multicast
extends AbstractMulticast
implements UdpPacketListener
+ + +

+Multicast is a method of forwarding IP datagrams to a group of interested receivers. + UDP is used as the transport portocol. +

+ +

+


+ +

+ + + + + + + + + + + + + + + + + + + + +
+Constructor Summary
Multicast(Object theObject, + String theMulticastAddress, + int thePort) + +
+           
Multicast(Object theObject, + String theMulticastAddress, + int thePort, + int theBufferSize) + +
+          create a new instance of Multicast.
Multicast(UdpPacketListener theDatagramListener, + String theMulticastAddress, + int thePort) + +
+           
Multicast(UdpPacketListener theDatagramListener, + String theMulticastAddress, + int thePort, + int theBufferSize) + +
+           
+  + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+Method Summary
+ voidaddListener(NetListener theListener) + +
+           
+ NetListenergetListener(int theIndex) + +
+           
+ VectorgetListeners() + +
+           
+ voidprocess(DatagramPacket thePacket, + int thePort) + +
+           
+ voidremoveListener(NetListener theListener) + +
+           
+ + + + + + + +
Methods inherited from class netP5.AbstractMulticast
close, dispose, loopback, run, send, send, setDatagramSize, setLoopback, setTimeToLive, socket, start, timeToLive
+ + + + + + + +
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
+  +

+ + + + + + + + +
+Constructor Detail
+ +

+Multicast

+
+public Multicast(Object theObject,
+                 String theMulticastAddress,
+                 int thePort,
+                 int theBufferSize)
+
+
create a new instance of Multicast. the buffersize of the datagrams + is set to 1536 by default. +

+

+
Parameters:
theObject - Object
theMulticastAddress - String
thePort - int
theBufferSize - int
+
+
+ +

+Multicast

+
+public Multicast(Object theObject,
+                 String theMulticastAddress,
+                 int thePort)
+
+
+
+ +

+Multicast

+
+public Multicast(UdpPacketListener theDatagramListener,
+                 String theMulticastAddress,
+                 int thePort,
+                 int theBufferSize)
+
+
+
+ +

+Multicast

+
+public Multicast(UdpPacketListener theDatagramListener,
+                 String theMulticastAddress,
+                 int thePort)
+
+
+ + + + + + + + +
+Method Detail
+ +

+process

+
+public void process(DatagramPacket thePacket,
+                    int thePort)
+
+
+
Specified by:
process in interface UdpPacketListener
+
+
+
Parameters:
thePacket - DatagramPacket
thePort - int
+
+
+
+ +

+addListener

+
+public void addListener(NetListener theListener)
+
+
+
+
+
+
+
+
+
+ +

+removeListener

+
+public void removeListener(NetListener theListener)
+
+
+
+
+
+
+
+
+
+ +

+getListener

+
+public NetListener getListener(int theIndex)
+
+
+
+
+
+
+
+
+
+ +

+getListeners

+
+public Vector getListeners()
+
+
+
+
+
+
+
+
+ +
+ + + + + + + + + + + + + + + + + + + +
+ +
+ + + +
+processing library oscP5 by Andreas Schlegel. (c) 2004-2012 + + diff --git a/libraries/oscP5/reference/netP5/NetAddress.html b/libraries/oscP5/reference/netP5/NetAddress.html new file mode 100644 index 0000000..ce4439f --- /dev/null +++ b/libraries/oscP5/reference/netP5/NetAddress.html @@ -0,0 +1,422 @@ + + + + + + +NetAddress (Javadocs: oscP5) + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + +
+ +
+ + + +
+ +

+ +netP5 +
+Class NetAddress

+
+java.lang.Object
+  extended by netP5.NetAddress
+
+
+
+
public class NetAddress
extends Object
+ + +

+NetAddress is an Object that contains an inetaddress + of an remote internet address, consisting of an + ip address and a port number. +

+ +

+

+
Author:
+
andreas schlegel
+
+
+ +

+ + + + + + + + + + + +
+Field Summary
+ Stringname + +
+           
+  + + + + + + + + + + + + + + + + +
+Constructor Summary
NetAddress(InetAddress theInetAddress, + int thePort) + +
+           
NetAddress(NetAddress theNetAddress) + +
+           
NetAddress(String theAddress, + int thePort) + +
+           
+  + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+Method Summary
+ Stringaddress() + +
+          returns the remote ip address as string
+ InetAddressinetaddress() + +
+           
+ booleanisvalid() + +
+          check if the netAddress is valid.
+ intport() + +
+          returns the remote port number
+ StringtoString() + +
+           
+ + + + + + + +
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
+  +

+ + + + + + + + +
+Field Detail
+ +

+name

+
+public String name
+
+
+
+
+ + + + + + + + +
+Constructor Detail
+ +

+NetAddress

+
+public NetAddress(String theAddress,
+                  int thePort)
+
+
+
Parameters:
theAddress - String
thePort - int
+
+
+ +

+NetAddress

+
+public NetAddress(NetAddress theNetAddress)
+
+
+
+ +

+NetAddress

+
+public NetAddress(InetAddress theInetAddress,
+                  int thePort)
+
+
+
Parameters:
theInetAddress - InetAddress
thePort - int
+
+ + + + + + + + +
+Method Detail
+ +

+inetaddress

+
+public InetAddress inetaddress()
+
+
+ +
Returns:
InetAddress
+
+
+
+ +

+address

+
+public String address()
+
+
returns the remote ip address as string +

+

+ +
Returns:
String
+
+
+
+ +

+port

+
+public int port()
+
+
returns the remote port number +

+

+ +
Returns:
int
+
+
+
+ +

+isvalid

+
+public boolean isvalid()
+
+
check if the netAddress is valid. this is true if + the remote ip address was found. +

+

+ +
Returns:
boolean
+
+
+
+ +

+toString

+
+public String toString()
+
+
+
Overrides:
toString in class Object
+
+
+
+
+
+ +
+ + + + + + + + + + + + + + + + + + + +
+ +
+ + + +
+processing library oscP5 by Andreas Schlegel. (c) 2004-2012 + + diff --git a/libraries/oscP5/reference/netP5/NetAddressList.html b/libraries/oscP5/reference/netP5/NetAddressList.html new file mode 100644 index 0000000..c1b98bf --- /dev/null +++ b/libraries/oscP5/reference/netP5/NetAddressList.html @@ -0,0 +1,460 @@ + + + + + + +NetAddressList (Javadocs: oscP5) + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + +
+ +
+ + + +
+ +

+ +netP5 +
+Class NetAddressList

+
+java.lang.Object
+  extended by netP5.NetAddressList
+
+
+
+
public class NetAddressList
extends Object
+ + +

+NetAddressList is an arraylist of netaddresses. +

+ +

+

+
Author:
+
andreas schlegel
+
+
+ +

+ + + + + + + + + + + +
+Constructor Summary
NetAddressList() + +
+           
+  + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+Method Summary
+ voidadd(NetAddress theNetAddress) + +
+           
+ voidadd(String theAddress, + int thePort) + +
+           
+ booleancontains(NetAddress theNetAddress) + +
+           
+ booleancontains(String theIPaddress, + int thePort) + +
+           
+ NetAddressget(int theIndex) + +
+           
+ NetAddressget(String theIPaddress, + int thePort) + +
+           
+ ArrayListlist() + +
+           
+ voidremove(NetAddress theNetAddress) + +
+           
+ voidremove(String theAddress, + int thePort) + +
+           
+ voidset(NetAddress[] theList) + +
+           
+ intsize() + +
+           
+ + + + + + + +
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
+  +

+ + + + + + + + +
+Constructor Detail
+ +

+NetAddressList

+
+public NetAddressList()
+
+
+ + + + + + + + +
+Method Detail
+ +

+add

+
+public void add(NetAddress theNetAddress)
+
+
+
Parameters:
theNetAddress - NetAddress
+
+
+
+ +

+add

+
+public void add(String theAddress,
+                int thePort)
+
+
+
Parameters:
theAddress - String
thePort - int
+
+
+
+ +

+remove

+
+public void remove(String theAddress,
+                   int thePort)
+
+
+
Parameters:
theAddress - String
thePort - int
+
+
+
+ +

+remove

+
+public void remove(NetAddress theNetAddress)
+
+
+
Parameters:
theNetAddress - NetAddress
+
+
+
+ +

+get

+
+public NetAddress get(String theIPaddress,
+                      int thePort)
+
+
+
+
+
+
+ +

+contains

+
+public boolean contains(NetAddress theNetAddress)
+
+
+
Parameters:
theNetAddress - NetAddress +
Returns:
boolean
+
+
+
+ +

+contains

+
+public boolean contains(String theIPaddress,
+                        int thePort)
+
+
+
Parameters:
theIPaddress - String
thePort - int +
Returns:
boolean
+
+
+
+ +

+size

+
+public int size()
+
+
+
+
+
+
+ +

+set

+
+public void set(NetAddress[] theList)
+
+
+
Parameters:
theList - NetAddress[]
+
+
+
+ +

+list

+
+public ArrayList list()
+
+
+ +
Returns:
ArrayList
+
+
+
+ +

+get

+
+public NetAddress get(int theIndex)
+
+
+
Parameters:
theIndex - int +
Returns:
NetAddress
+
+
+ +
+ + + + + + + + + + + + + + + + + + + +
+ +
+ + + +
+processing library oscP5 by Andreas Schlegel. (c) 2004-2012 + + diff --git a/libraries/oscP5/reference/netP5/NetInfo.html b/libraries/oscP5/reference/netP5/NetInfo.html new file mode 100644 index 0000000..ec3af8e --- /dev/null +++ b/libraries/oscP5/reference/netP5/NetInfo.html @@ -0,0 +1,334 @@ + + + + + + +NetInfo (Javadocs: oscP5) + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + +
+ +
+ + + +
+ +

+ +netP5 +
+Class NetInfo

+
+java.lang.Object
+  extended by netP5.NetInfo
+
+
+
+
public class NetInfo
extends Object
+ + +

+some description +

+ +

+

+
Author:
+
andreas schlegel
+
+
+ +

+ + + + + + + + + + + +
+Constructor Summary
NetInfo() + +
+           
+  + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+Method Summary
+static StringgetHostAddress() + +
+           
+static Stringlan() + +
+           
+static voidmain(String[] args) + +
+           
+static voidprint() + +
+           
+static Stringwan() + +
+           
+ + + + + + + +
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
+  +

+ + + + + + + + +
+Constructor Detail
+ +

+NetInfo

+
+public NetInfo()
+
+
+ + + + + + + + +
+Method Detail
+ +

+print

+
+public static void print()
+
+
+
+
+
+
+ +

+getHostAddress

+
+public static String getHostAddress()
+
+
+
+
+
+
+ +

+lan

+
+public static String lan()
+
+
+
+
+
+
+ +

+wan

+
+public static String wan()
+
+
+
+
+
+
+ +

+main

+
+public static void main(String[] args)
+
+
+
Parameters:
args - String[]
+
+
+ +
+ + + + + + + + + + + + + + + + + + + +
+ +
+ + + +
+processing library oscP5 by Andreas Schlegel. (c) 2004-2012 + + diff --git a/libraries/oscP5/reference/netP5/NetListener.html b/libraries/oscP5/reference/netP5/NetListener.html new file mode 100644 index 0000000..990e5a8 --- /dev/null +++ b/libraries/oscP5/reference/netP5/NetListener.html @@ -0,0 +1,223 @@ + + + + + + +NetListener (Javadocs: oscP5) + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + +
+ +
+ + + +
+ +

+ +netP5 +
+Interface NetListener

+
+
+
public interface NetListener
+ + +

+


+ +

+ + + + + + + + + + + + + + + + +
+Method Summary
+ voidnetEvent(NetMessage theNetMessage) + +
+           
+ voidnetStatus(NetStatus theStatus) + +
+           
+  +

+ + + + + + + + +
+Method Detail
+ +

+netEvent

+
+void netEvent(NetMessage theNetMessage)
+
+
+
+
+
+
+ +

+netStatus

+
+void netStatus(NetStatus theStatus)
+
+
+
+
+
+ +
+ + + + + + + + + + + + + + + + + + + +
+ +
+ + + +
+processing library oscP5 by Andreas Schlegel. (c) 2004-2012 + + diff --git a/libraries/oscP5/reference/netP5/NetMessage.html b/libraries/oscP5/reference/netP5/NetMessage.html new file mode 100644 index 0000000..adc6d8a --- /dev/null +++ b/libraries/oscP5/reference/netP5/NetMessage.html @@ -0,0 +1,386 @@ + + + + + + +NetMessage (Javadocs: oscP5) + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + +
+ +
+ + + +
+ +

+ +netP5 +
+Class NetMessage

+
+java.lang.Object
+  extended by netP5.NetMessage
+
+
+
+
public class NetMessage
extends Object
+ + +

+

+
Author:
+
andreas schlegel
+
+
+ +

+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+Method Summary
+ Stringaddress() + +
+           
+ byte[]getData() + +
+          get the data of the message as bytes.
+ DatagramPacketgetDatagramPacket() + +
+           
+ StringgetString() + +
+          get the data the message as string.
+ TcpPacketgetTcpPacket() + +
+           
+ InetAddressinetAddress() + +
+           
+ intport() + +
+          get the port the net message was received at.
+ intprotocol() + +
+          get the protocol type the message was sent over.
+ TcpClienttcpConnection() + +
+           
+ + + + + + + +
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
+  +

+ + + + + + + + +
+Method Detail
+ +

+getTcpPacket

+
+public TcpPacket getTcpPacket()
+
+
+
+
+
+
+ +

+getDatagramPacket

+
+public DatagramPacket getDatagramPacket()
+
+
+
+
+
+
+ +

+getData

+
+public byte[] getData()
+
+
get the data of the message as bytes. +

+

+ +
Returns:
+
+
+
+ +

+getString

+
+public String getString()
+
+
get the data the message as string. +

+

+ +
Returns:
+
+
+
+ +

+protocol

+
+public int protocol()
+
+
get the protocol type the message was sent over. + NetP5.TCP or NetP5.UDP are possible. +

+

+ +
Returns:
+
+
+
+ +

+port

+
+public int port()
+
+
get the port the net message was received at. +

+

+ +
Returns:
+
+
+
+ +

+tcpConnection

+
+public TcpClient tcpConnection()
+
+
+
+
+
+
+ +

+address

+
+public String address()
+
+
+
+
+
+
+ +

+inetAddress

+
+public InetAddress inetAddress()
+
+
+
+
+
+ +
+ + + + + + + + + + + + + + + + + + + +
+ +
+ + + +
+processing library oscP5 by Andreas Schlegel. (c) 2004-2012 + + diff --git a/libraries/oscP5/reference/netP5/NetP5.html b/libraries/oscP5/reference/netP5/NetP5.html new file mode 100644 index 0000000..86219fa --- /dev/null +++ b/libraries/oscP5/reference/netP5/NetP5.html @@ -0,0 +1,274 @@ + + + + + + +NetP5 (Javadocs: oscP5) + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + +
+ +
+ + + +
+ +

+ +netP5 +
+Interface NetP5

+
+
+
public interface NetP5
+ + +

+


+ +

+ + + + + + + + + + + + + + + + + + + + + + + + + + + +
+Field Summary
+static booleanDEBUG + +
+           
+static intMULTICAST + +
+           
+static intTCP + +
+           
+static intUDP + +
+           
+static StringVERSION + +
+           
+  +

+ + + + + + + + +
+Field Detail
+ +

+VERSION

+
+static final String VERSION
+
+
+
See Also:
Constant Field Values
+
+
+ +

+DEBUG

+
+static final boolean DEBUG
+
+
+
See Also:
Constant Field Values
+
+
+ +

+UDP

+
+static final int UDP
+
+
+
See Also:
Constant Field Values
+
+
+ +

+MULTICAST

+
+static final int MULTICAST
+
+
+
See Also:
Constant Field Values
+
+
+ +

+TCP

+
+static final int TCP
+
+
+
See Also:
Constant Field Values
+
+ +
+ + + + + + + + + + + + + + + + + + + +
+ +
+ + + +
+processing library oscP5 by Andreas Schlegel. (c) 2004-2012 + + diff --git a/libraries/oscP5/reference/netP5/NetStatus.html b/libraries/oscP5/reference/netP5/NetStatus.html new file mode 100644 index 0000000..7293687 --- /dev/null +++ b/libraries/oscP5/reference/netP5/NetStatus.html @@ -0,0 +1,434 @@ + + + + + + +NetStatus (Javadocs: oscP5) + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + +
+ +
+ + + +
+ +

+ +netP5 +
+Class NetStatus

+
+java.lang.Object
+  extended by netP5.NetStatus
+
+
+
+
public class NetStatus
extends Object
+ + +

+

+
Author:
+
andreas schlegel
+
+
+ +

+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+Field Summary
+static intCLIENT_CLOSED + +
+           
+static intCONNECTION_CLOSED + +
+           
+static intCONNECTION_FAILED + +
+           
+static intCONNECTION_REFUSED + +
+           
+static intCONNECTION_TERMINATED + +
+           
+static intDEFAULT + +
+           
+static intERROR + +
+           
+static intSEND_FAILED + +
+           
+static intSERVER_CLOSED + +
+           
+  + + + + + + + + + + +
+Constructor Summary
NetStatus(int theIndex) + +
+           
+  + + + + + + + + + + + +
+Method Summary
+ intid() + +
+           
+ + + + + + + +
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
+  +

+ + + + + + + + +
+Field Detail
+ +

+ERROR

+
+public static int ERROR
+
+
+
+
+
+ +

+DEFAULT

+
+public static int DEFAULT
+
+
+
+
+
+ +

+CONNECTION_CLOSED

+
+public static int CONNECTION_CLOSED
+
+
+
+
+
+ +

+CONNECTION_REFUSED

+
+public static int CONNECTION_REFUSED
+
+
+
+
+
+ +

+CONNECTION_TERMINATED

+
+public static int CONNECTION_TERMINATED
+
+
+
+
+
+ +

+CONNECTION_FAILED

+
+public static int CONNECTION_FAILED
+
+
+
+
+
+ +

+SERVER_CLOSED

+
+public static int SERVER_CLOSED
+
+
+
+
+
+ +

+CLIENT_CLOSED

+
+public static int CLIENT_CLOSED
+
+
+
+
+
+ +

+SEND_FAILED

+
+public static int SEND_FAILED
+
+
+
+
+ + + + + + + + +
+Constructor Detail
+ +

+NetStatus

+
+public NetStatus(int theIndex)
+
+
+ + + + + + + + +
+Method Detail
+ +

+id

+
+public int id()
+
+
+
+
+
+ +
+ + + + + + + + + + + + + + + + + + + +
+ +
+ + + +
+processing library oscP5 by Andreas Schlegel. (c) 2004-2012 + + diff --git a/libraries/oscP5/reference/netP5/StringUtils.html b/libraries/oscP5/reference/netP5/StringUtils.html new file mode 100644 index 0000000..5357371 --- /dev/null +++ b/libraries/oscP5/reference/netP5/StringUtils.html @@ -0,0 +1,1008 @@ + + + + + + +StringUtils (Javadocs: oscP5) + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + +
+ +
+ + + +
+ +

+ +netP5 +
+Class StringUtils

+
+java.lang.Object
+  extended by netP5.StringUtils
+
+
+
+
public class StringUtils
extends Object
+ + +

+


+ +

+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+Method Summary
+static StringarrayToString(String[] theArray) + +
+           
+static StringarrayToString(String[] theArray, + int theStart, + int theEnd) + +
+           
+static StringcenterJustify(String source, + int length) + +
+          Creates a string of the given width with the given string left justified + (padded by an appropriate number of spaces in front and after it).
+static Stringduplicate(String source, + int copies) + +
+          Returns a String with the source String copied the specified number of + times.
+static String[]explode(String source) + +
+          Splits a string into an array with a space as delimiter.
+static Vectorexplode(String[] source, + int[] lengths) + +
+          Splits every String in an array at the specified lengths.
+static String[]explode(String source, + int[] lengths) + +
+          Splits a string at the specified lengths and returns an array of Strings.
+static String[]explode(String s, + String delimiter) + +
+          Splits a string into an array with the specified delimiter.
+static floatgetFloat(String theString) + +
+           
+static intgetInt(String theString) + +
+           
+static StringgetStackTrace(Throwable t) + +
+          Prints the stacktrace to a buffer and returns the buffer as a String.
+static Stringimplode(Object[] elements) + +
+          Combines an array to a string, using a comma and a space as delimiter.
+static Stringimplode(Object[] elements, + String delimiter) + +
+          Combines an array to a string, using the specified delimiter.
+static booleanisEmpty(String s) + +
+          Checks if a String is empty or null.
+static Stringleft(String source, + String searchFor) + +
+          Returns the substring to the left of the specified substring in the + specified String, starting from the left.
+static StringleftBack(String source, + String searchFor) + +
+          Returns the substring to the left of the specified substring in the + specified String, starting from the right.
+static StringleftJustify(String source, + int length) + +
+          Creates a string of the given width with the given string left justified + (followed by an appropriate number of spaces).
+static Stringmiddle(String source, + int startIndex, + int length) + +
+          Returns a substring of a String, starting from specified index and with + specified length.
+static Stringmiddle(String source, + String start, + String end) + +
+          Returns the substring between two substrings.
+static Stringremove(String source, + char searchFor) + +
+          Removes all instances of a character in a String.
+static Stringremove(String source, + String searchFor) + +
+          Removes all instances of a substring in a String.
+static Stringremove(String source, + String[] searchFor) + +
+          Removes all instances of substrings in a String.
+static StringremoveDuplicates(String source, + String searchFor) + +
+          Removes duplicates of a substring in a String.
+static Stringreplace(String source, + String[] searchFor, + String replaceWith) + +
+          Replaces several substrings in a string.
+static Stringreplace(String source, + String searchFor, + String replaceWith) + +
+          Replaces substrings in a string.
+static Stringright(String source, + String searchFor) + +
+          Returns the substring to the right of the specified substring in the + specified String, starting from the left.
+static StringrightBack(String source, + String searchFor) + +
+          Returns the substring to the right of the specified substring in the + specified String, starting from the right.
+static StringrightJustify(String source, + int length) + +
+          Creates a string of the given width with the given string right justified + (with an appropriate number of spaces before it).
+static String[]slice(int theNum, + String[] theStringArray) + +
+           
+static Stringspaces(int length) + +
+          Returns a String with the specified number of spaces.
+static charswitchCase(char source) + +
+          Switches the case of the supplied character.
+static StringswitchCase(String source) + +
+          Switches the case of the supplied String.
+ + + + + + + +
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
+  +

+ + + + + + + + +
+Method Detail
+ +

+right

+
+public static String right(String source,
+                           String searchFor)
+
+
Returns the substring to the right of the specified substring in the + specified String, starting from the left. +

+

+
Parameters:
source - the source String to search.
searchFor - the substring to search for in source. +
Returns:
the substring that is to the right of searchFor in source.
+
+
+
+ +

+rightBack

+
+public static String rightBack(String source,
+                               String searchFor)
+
+
Returns the substring to the right of the specified substring in the + specified String, starting from the right. +

+

+
Parameters:
source - the source String to search.
searchFor - the substring to search for in source. +
Returns:
the substring that is to the right of searchFor in source, + starting from the right.
+
+
+
+ +

+left

+
+public static String left(String source,
+                          String searchFor)
+
+
Returns the substring to the left of the specified substring in the + specified String, starting from the left. +

+

+
Parameters:
source - the source String to search.
searchFor - the substring to search for in source. +
Returns:
the substring that is to the left of searchFor in source.
+
+
+
+ +

+leftBack

+
+public static String leftBack(String source,
+                              String searchFor)
+
+
Returns the substring to the left of the specified substring in the + specified String, starting from the right. +

+

+
Parameters:
source - the source String to search.
searchFor - the substring to search for in source. +
Returns:
the substring that is to the left of searchFor in source, + starting from the right.
+
+
+
+ +

+middle

+
+public static String middle(String source,
+                            String start,
+                            String end)
+
+
Returns the substring between two substrings. I.e. + StringUtils.middle("This i a big challenge", "a", "challenge") returns " + big ". +

+

+
Parameters:
source - the String to search.
start - the String to the left to search for, from the left.
end - the String to the right to search for, from the right.
+
+
+
+ +

+middle

+
+public static String middle(String source,
+                            int startIndex,
+                            int length)
+
+
Returns a substring of a String, starting from specified index and with + specified length. I. e. StringUtils.middle("This is a big challenge", 5, + 6) returns " is a " +

+

+
Parameters:
source - the String to get a substring from.
startIndex - the index in the source String to get the substring from.
length - the length of the substring to return.
+
+
+
+ +

+replace

+
+public static String replace(String source,
+                             String searchFor,
+                             String replaceWith)
+
+
Replaces substrings in a string. +

+

+
Parameters:
source - the source String to replace substrings in.
searchFor - the string to search for.
replaceWith - the string to replace all found searchFor-substrings with.
+
+
+
+ +

+replace

+
+public static String replace(String source,
+                             String[] searchFor,
+                             String replaceWith)
+
+
Replaces several substrings in a string. +

+

+
Parameters:
source - the source String to replace substrings in.
searchFor - the substrings to search for.
replaceWith - what to replace every searchFor with,
+
+
+
+ +

+explode

+
+public static Vector explode(String[] source,
+                             int[] lengths)
+
+
Splits every String in an array at the specified lengths. + + Example:
+ String source[] = { "123a123b123c123d", "Bla1bla2bla3bla4bla5bla6bla7" };
+ int[] lengths = { 3, 1, 3, 1 };
+ Vector result = StringUtils.explode(source, lengths);
+ Object element = null;
+ String[] rowElements = null;
+ Enumeration enum = result.elements();
+ while (enum.hasMoreElements()) {
+        element = enum.nextElement();
+        if (element instanceof String[]) {
+                rowElements = (String[]) element;
+                for (int i = 0; i < rowElements.length; i++) {
+                        System.out.println(rowElements[i]);
+                }
+        }
+ }
+ 
The result that will be output: 123 a 123 b + + Bla 1 bla 2 +

+

+ +
Returns:
a Vector containing String arrays (the rows).
+
+
+
+ +

+explode

+
+public static String[] explode(String source,
+                               int[] lengths)
+
+
Splits a string at the specified lengths and returns an array of Strings. +

+

+
Parameters:
source - the String to split. +
Returns:
an array of Strings with the same number of elements as the + number of elements in the lengths argument. The length of each + String element is specified by the correspondent lengths array + element. +
Throws: +
IndexOutOfBoundsException - if any of the length´s are invalid.
+
+
+
+ +

+explode

+
+public static String[] explode(String source)
+
+
Splits a string into an array with a space as delimiter. +

+

+
Parameters:
source - the source String to explode. +
Returns:
an array of strings that are made out of splitting the string at + the spaces.
+
+
+
+ +

+explode

+
+public static String[] explode(String s,
+                               String delimiter)
+
+
Splits a string into an array with the specified delimiter. Original code + Copyright (C) 2001,2002 Stephen Ostermiller + http://ostermiller.org/utils/StringHelper.java.html + +

+ This method is meant to be similar to the split function in other + programming languages but it does not use regular expressions. Rather the + String is split on a single String literal. It is equivalent to the +

+

+
Parameters:
s - the String to explode.
delimiter - the delimiter where to split the string. +
Returns:
an array of strings that are made out of splitting the string at + the specified delimiter. +
Throws: +
NullPointerException - if s is null.
+
+
+
+ +

+slice

+
+public static String[] slice(int theNum,
+                             String[] theStringArray)
+
+
+
+
+
+
+ +

+implode

+
+public static String implode(Object[] elements,
+                             String delimiter)
+
+
Combines an array to a string, using the specified delimiter. +

+

+
Parameters:
elements - the array to combine to a single string.
delimiter - the delimiter to put between the combined elements. +
Returns:
the array combined to a string.
+
+
+
+ +

+implode

+
+public static String implode(Object[] elements)
+
+
Combines an array to a string, using a comma and a space as delimiter. +

+

+
Parameters:
elements - the array to combine to a single string. +
Returns:
the array combined to a string.
+
+
+
+ +

+remove

+
+public static String remove(String source,
+                            char searchFor)
+
+
Removes all instances of a character in a String. +

+

+
Parameters:
source - the String to remove substring in.
searchFor - the character to remove. +
Returns:
the replaced String.
+
+
+
+ +

+remove

+
+public static String remove(String source,
+                            String searchFor)
+
+
Removes all instances of a substring in a String. +

+

+
Parameters:
source - the String to remove substring in.
searchFor - the substring to remove. +
Returns:
the replaced String.
+
+
+
+ +

+remove

+
+public static String remove(String source,
+                            String[] searchFor)
+
+
Removes all instances of substrings in a String. +

+

+
Parameters:
source - the String to remove substrings in.
searchFor - an array of substrings to remove from the source String. +
Returns:
the replaced String.
+
+
+
+ +

+removeDuplicates

+
+public static String removeDuplicates(String source,
+                                      String searchFor)
+
+
Removes duplicates of a substring in a String. Case sensitive. +

+

+
Parameters:
source - the String to remove duplicates in.
searchFor - the substring that can only occur one at a time, several can + exist in the source though.
+
+
+
+ +

+getStackTrace

+
+public static String getStackTrace(Throwable t)
+                            throws IOException
+
+
Prints the stacktrace to a buffer and returns the buffer as a String. +

+

+
Parameters:
t - the Throwable you wnat to generate a stacktrace for. +
Returns:
the stacktrace of the supplied Throwable. +
Throws: +
IOException
+
+
+
+ +

+isEmpty

+
+public static boolean isEmpty(String s)
+
+
Checks if a String is empty or null. +

+

+
Parameters:
s - the String to test if it is empty or null. +
Returns:
true if the String is null or empty ("").
+
+
+
+ +

+leftJustify

+
+public static String leftJustify(String source,
+                                 int length)
+
+
Creates a string of the given width with the given string left justified + (followed by an appropriate number of spaces). +

+

+
Parameters:
source - the String to justify
length - the length of the resulting String +
Returns:
the source String padded with spaces to fill up the length. If + the source string is longer than the length argument, the source + String is returned.
+
+
+
+ +

+rightJustify

+
+public static String rightJustify(String source,
+                                  int length)
+
+
Creates a string of the given width with the given string right justified + (with an appropriate number of spaces before it). +

+

+
Parameters:
source - the String to justify
length - the length of the resulting String +
Returns:
the source String padded with spaces to fill up the length. If + the source string is longer than the length argument, the source + String is returned.
+
+
+
+ +

+centerJustify

+
+public static String centerJustify(String source,
+                                   int length)
+
+
Creates a string of the given width with the given string left justified + (padded by an appropriate number of spaces in front and after it). +

+

+
Parameters:
source - the String to justify
length - the length of the resulting String +
Returns:
the source String padded with spaces to fill up the length. If + the source string is longer than the length argument, the source + String is returned.
+
+
+
+ +

+spaces

+
+public static String spaces(int length)
+
+
Returns a String with the specified number of spaces. +

+

+
Parameters:
length - the number of spaces to return. +
Returns:
a String consisting of the specified number of spaces.
+
+
+
+ +

+duplicate

+
+public static String duplicate(String source,
+                               int copies)
+
+
Returns a String with the source String copied the specified number of + times. +

+

+
Parameters:
source - the source String to copy.
length - the number of copies of source to return. +
Returns:
a String consisting of the specified source String copied the + specified number of times.
+
+
+
+ +

+switchCase

+
+public static String switchCase(String source)
+
+
Switches the case of the supplied String. Any lower case characters will + be uppercase and vice versa. +

+

+
Parameters:
source - the String to switch case of. +
Returns:
the supplied String with switched case.
+
+
+
+ +

+switchCase

+
+public static char switchCase(char source)
+
+
Switches the case of the supplied character. A lower case character will + be uppercase and vice versa. +

+

+
Parameters:
source - the character to switch case of. +
Returns:
the supplied character with switched case.
+
+
+
+ +

+getInt

+
+public static int getInt(String theString)
+
+
+
+
+
+
+ +

+getFloat

+
+public static float getFloat(String theString)
+
+
+
+
+
+
+ +

+arrayToString

+
+public static String arrayToString(String[] theArray)
+
+
+
+
+
+
+ +

+arrayToString

+
+public static String arrayToString(String[] theArray,
+                                   int theStart,
+                                   int theEnd)
+
+
+
+
+
+ +
+ + + + + + + + + + + + + + + + + + + +
+ +
+ + + +
+processing library oscP5 by Andreas Schlegel. (c) 2004-2012 + + diff --git a/libraries/oscP5/reference/netP5/TcpClient.html b/libraries/oscP5/reference/netP5/TcpClient.html new file mode 100644 index 0000000..0781ef2 --- /dev/null +++ b/libraries/oscP5/reference/netP5/TcpClient.html @@ -0,0 +1,473 @@ + + + + + + +TcpClient (Javadocs: oscP5) + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + +
+ +
+ + + +
+ +

+ +netP5 +
+Class TcpClient

+
+java.lang.Object
+  extended by netP5.AbstractTcpClient
+      extended by netP5.TcpClient
+
+
+
All Implemented Interfaces:
Runnable
+
+
+
+
public class TcpClient
extends AbstractTcpClient
+ + +

+

+
Author:
+
andreas schlegel
+
+
+ +

+ + + + + + + +
+Field Summary
+ + + + + + + +
Fields inherited from class netP5.AbstractTcpClient
MODE_NEWLINE, MODE_READLINE, MODE_STREAM, MODE_TERMINATED
+  + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+Constructor Summary
TcpClient(AbstractTcpServer theTcpServer, + Socket theSocket, + TcpPacketListener theTcpPacketListener, + int theServerPort, + int theMode) + +
+           
TcpClient(NetAddress theNetAddress) + +
+           
TcpClient(Object theObject, + NetAddress theNetAddress) + +
+           
TcpClient(Object theObject, + String theAddress, + int thePort) + +
+           
TcpClient(Object theObject, + String theAddress, + int thePort, + int theMode) + +
+           
TcpClient(String theAddress, + int thePort) + +
+           
TcpClient(TcpPacketListener theListener, + String theServerAddress, + int theServerPort, + int theMode) + +
+           
+  + + + + + + + + + + + + + + + + + + + + + + + +
+Method Summary
+ voidhandleInput() + +
+           
+ voidhandleStatus(int theIndex) + +
+           
+ Stringname() + +
+           
+ voidsetName(String theName) + +
+           
+ + + + + + + +
Methods inherited from class netP5.AbstractTcpClient
dispose, equals, equals, getString, getStringBuffer, listener, mode, netaddress, netAddress, reconnect, run, send, send, send, serverport, setTerminator, socket
+ + + + + + + +
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
+  +

+ + + + + + + + +
+Constructor Detail
+ +

+TcpClient

+
+public TcpClient(Object theObject,
+                 String theAddress,
+                 int thePort)
+
+
+
Parameters:
theAddress - String
thePort - int
+
+
+ +

+TcpClient

+
+public TcpClient(Object theObject,
+                 String theAddress,
+                 int thePort,
+                 int theMode)
+
+
+
Parameters:
theObject - Object
theAddress - String
thePort - int
theMode - int
+
+
+ +

+TcpClient

+
+public TcpClient(TcpPacketListener theListener,
+                 String theServerAddress,
+                 int theServerPort,
+                 int theMode)
+
+
+
Parameters:
theListener - TcpPacketListener
theServerAddress - String
theServerPort - int
theMode - int
+
+
+ +

+TcpClient

+
+public TcpClient(Object theObject,
+                 NetAddress theNetAddress)
+
+
+
Parameters:
theNetAddress - NetAddress
+
+
+ +

+TcpClient

+
+public TcpClient(NetAddress theNetAddress)
+
+
+
Parameters:
theNetAddress - NetAddress
+
+
+ +

+TcpClient

+
+public TcpClient(String theAddress,
+                 int thePort)
+
+
+
Parameters:
theAddress - String
thePort - int
+
+
+ +

+TcpClient

+
+public TcpClient(AbstractTcpServer theTcpServer,
+                 Socket theSocket,
+                 TcpPacketListener theTcpPacketListener,
+                 int theServerPort,
+                 int theMode)
+
+
+ + + + + + + + +
+Method Detail
+ +

+handleStatus

+
+public void handleStatus(int theIndex)
+
+
+
Specified by:
handleStatus in class AbstractTcpClient
+
+
+
Parameters:
theIndex - int
+
+
+
+ +

+handleInput

+
+public void handleInput()
+
+
+
Specified by:
handleInput in class AbstractTcpClient
+
+
+
+
+
+
+ +

+name

+
+public String name()
+
+
+ +
Returns:
String
+
+
+
+ +

+setName

+
+public void setName(String theName)
+
+
+
Parameters:
theName - String
+
+
+ +
+ + + + + + + + + + + + + + + + + + + +
+ +
+ + + +
+processing library oscP5 by Andreas Schlegel. (c) 2004-2012 + + diff --git a/libraries/oscP5/reference/netP5/TcpPacket.html b/libraries/oscP5/reference/netP5/TcpPacket.html new file mode 100644 index 0000000..bab40ac --- /dev/null +++ b/libraries/oscP5/reference/netP5/TcpPacket.html @@ -0,0 +1,311 @@ + + + + + + +TcpPacket (Javadocs: oscP5) + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + +
+ +
+ + + +
+ +

+ +netP5 +
+Class TcpPacket

+
+java.lang.Object
+  extended by netP5.TcpPacket
+
+
+
+
public class TcpPacket
extends Object
+ + +

+


+ +

+ + + + + + + + + + + +
+Constructor Summary
TcpPacket(TcpClient theTcpClient, + StringBuffer theBuffer, + byte[] theBytes) + +
+           
+  + + + + + + + + + + + + + + + + + + + + + + + +
+Method Summary
+ byte[]getData() + +
+           
+ StringgetString() + +
+           
+ StringBuffergetStringBuffer() + +
+           
+ TcpClientgetTcpConnection() + +
+           
+ + + + + + + +
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
+  +

+ + + + + + + + +
+Constructor Detail
+ +

+TcpPacket

+
+public TcpPacket(TcpClient theTcpClient,
+                 StringBuffer theBuffer,
+                 byte[] theBytes)
+
+
+ + + + + + + + +
+Method Detail
+ +

+getTcpConnection

+
+public TcpClient getTcpConnection()
+
+
+
+
+
+
+ +

+getString

+
+public String getString()
+
+
+
+
+
+
+ +

+getStringBuffer

+
+public StringBuffer getStringBuffer()
+
+
+
+
+
+
+ +

+getData

+
+public byte[] getData()
+
+
+
+
+
+ +
+ + + + + + + + + + + + + + + + + + + +
+ +
+ + + +
+processing library oscP5 by Andreas Schlegel. (c) 2004-2012 + + diff --git a/libraries/oscP5/reference/netP5/TcpPacketListener.html b/libraries/oscP5/reference/netP5/TcpPacketListener.html new file mode 100644 index 0000000..04cc6d2 --- /dev/null +++ b/libraries/oscP5/reference/netP5/TcpPacketListener.html @@ -0,0 +1,247 @@ + + + + + + +TcpPacketListener (Javadocs: oscP5) + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + +
+ +
+ + + +
+ +

+ +netP5 +
+Interface TcpPacketListener

+
+
All Known Implementing Classes:
AbstractTcpServer, OscNetManager, OscP5, TcpServer
+
+
+
+
public interface TcpPacketListener
+ + +

+


+ +

+ + + + + + + + + + + + + + + + + + + + +
+Method Summary
+ voidprocess(TcpPacket theTcpPacket, + int thePort) + +
+           
+ voidremove(AbstractTcpClient theClient) + +
+           
+ voidstatus(int theStatus) + +
+           
+  +

+ + + + + + + + +
+Method Detail
+ +

+process

+
+void process(TcpPacket theTcpPacket,
+             int thePort)
+
+
+
+
+
+
+ +

+status

+
+void status(int theStatus)
+
+
+
+
+
+
+ +

+remove

+
+void remove(AbstractTcpClient theClient)
+
+
+
+
+
+ +
+ + + + + + + + + + + + + + + + + + + +
+ +
+ + + +
+processing library oscP5 by Andreas Schlegel. (c) 2004-2012 + + diff --git a/libraries/oscP5/reference/netP5/TcpServer.html b/libraries/oscP5/reference/netP5/TcpServer.html new file mode 100644 index 0000000..a79b380 --- /dev/null +++ b/libraries/oscP5/reference/netP5/TcpServer.html @@ -0,0 +1,463 @@ + + + + + + +TcpServer (Javadocs: oscP5) + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + +
+ +
+ + + +
+ +

+ +netP5 +
+Class TcpServer

+
+java.lang.Object
+  extended by netP5.AbstractTcpServer
+      extended by netP5.TcpServer
+
+
+
All Implemented Interfaces:
Runnable, TcpPacketListener
+
+
+
+
public class TcpServer
extends AbstractTcpServer
+ + +

+

+
Author:
+
andreas schlegel
+
+
+ +

+ + + + + + + +
+Field Summary
+ + + + + + + +
Fields inherited from class netP5.AbstractTcpServer
MODE_NEWLINE, MODE_READLINE, MODE_STREAM, MODE_TERMINATED
+  + + + + + + + + + + + + + + + + + + + + + + +
+Constructor Summary
TcpServer(int thePort) + +
+           
TcpServer(int thePort, + int theMode) + +
+           
TcpServer(Object theObject, + int thePort) + +
+           
TcpServer(Object theObject, + int thePort, + int theMode) + +
+           
TcpServer(TcpPacketListener theTcpPacketListener, + int thePort, + int theMode) + +
+           
+  + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+Method Summary
+ voidaddListener(NetListener theListener) + +
+           
+ NetListenergetListener(int theIndex) + +
+           
+ VectorgetListeners() + +
+           
+ voidhandleInput(TcpPacket thePacket, + int thePort) + +
+           
+ voidremoveListener(NetListener theListener) + +
+           
+ voidstatus(int theIndex) + +
+           
+ + + + + + + +
Methods inherited from class netP5.AbstractTcpServer
ban, dispose, getClient, getClients, process, remove, run, send, send, size, socket, unBan
+ + + + + + + +
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
+  +

+ + + + + + + + +
+Constructor Detail
+ +

+TcpServer

+
+public TcpServer(int thePort)
+
+
+
Parameters:
thePort - int
+
+
+ +

+TcpServer

+
+public TcpServer(Object theObject,
+                 int thePort)
+
+
+
Parameters:
theObject - Object
thePort - int
+
+
+ +

+TcpServer

+
+public TcpServer(Object theObject,
+                 int thePort,
+                 int theMode)
+
+
+
Parameters:
theObject - Object
thePort - int
theMode - int
+
+
+ +

+TcpServer

+
+public TcpServer(int thePort,
+                 int theMode)
+
+
+
Parameters:
thePort - int
theMode - int
+
+
+ +

+TcpServer

+
+public TcpServer(TcpPacketListener theTcpPacketListener,
+                 int thePort,
+                 int theMode)
+
+
+
Parameters:
theTcpPacketListener - TcpPacketListener
thePort - int
theMode - int
+
+ + + + + + + + +
+Method Detail
+ +

+handleInput

+
+public void handleInput(TcpPacket thePacket,
+                        int thePort)
+
+
+
Specified by:
handleInput in class AbstractTcpServer
+
+
+
Parameters:
thePacket - TcpPacket
thePort - int
+
+
+
+ +

+status

+
+public void status(int theIndex)
+
+
+
Parameters:
theIndex - int
+
+
+
+ +

+addListener

+
+public void addListener(NetListener theListener)
+
+
+
+
+
+
+ +

+removeListener

+
+public void removeListener(NetListener theListener)
+
+
+
+
+
+
+ +

+getListener

+
+public NetListener getListener(int theIndex)
+
+
+
+
+
+
+ +

+getListeners

+
+public Vector getListeners()
+
+
+
+
+
+ +
+ + + + + + + + + + + + + + + + + + + +
+ +
+ + + +
+processing library oscP5 by Andreas Schlegel. (c) 2004-2012 + + diff --git a/libraries/oscP5/reference/netP5/UdpClient.html b/libraries/oscP5/reference/netP5/UdpClient.html new file mode 100644 index 0000000..7edd272 --- /dev/null +++ b/libraries/oscP5/reference/netP5/UdpClient.html @@ -0,0 +1,266 @@ + + + + + + +UdpClient (Javadocs: oscP5) + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + +
+ +
+ + + +
+ +

+ +netP5 +
+Class UdpClient

+
+java.lang.Object
+  extended by netP5.AbstractUdpClient
+      extended by netP5.UdpClient
+
+
+
+
public class UdpClient
extends AbstractUdpClient
+ + +

+

+
Author:
+
andreas schlegel
+
+
+ +

+ + + + + + + + + + + + + + + + + +
+Constructor Summary
UdpClient() + +
+           
UdpClient(NetAddress theNetAddress) + +
+           
UdpClient(String theAddr, + int thePort) + +
+           
+  + + + + + + + +
+Method Summary
+ + + + + + + +
Methods inherited from class netP5.AbstractUdpClient
send, send, send, send, send, send, socket
+ + + + + + + +
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
+  +

+ + + + + + + + +
+Constructor Detail
+ +

+UdpClient

+
+public UdpClient()
+
+
+
+ +

+UdpClient

+
+public UdpClient(String theAddr,
+                 int thePort)
+
+
+
+ +

+UdpClient

+
+public UdpClient(NetAddress theNetAddress)
+
+
+ +
+ + + + + + + + + + + + + + + + + + + +
+ +
+ + + +
+processing library oscP5 by Andreas Schlegel. (c) 2004-2012 + + diff --git a/libraries/oscP5/reference/netP5/UdpPacketListener.html b/libraries/oscP5/reference/netP5/UdpPacketListener.html new file mode 100644 index 0000000..9a70362 --- /dev/null +++ b/libraries/oscP5/reference/netP5/UdpPacketListener.html @@ -0,0 +1,213 @@ + + + + + + +UdpPacketListener (Javadocs: oscP5) + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + +
+ +
+ + + +
+ +

+ +netP5 +
+Interface UdpPacketListener

+
+
All Known Implementing Classes:
Multicast, OscNetManager, OscP5, UdpServer
+
+
+
+
public interface UdpPacketListener
+ + +

+

+
Author:
+
andreas schlegel
+
+
+ +

+ + + + + + + + + + + + +
+Method Summary
+ voidprocess(DatagramPacket theDatagramPacket, + int thePort) + +
+           
+  +

+ + + + + + + + +
+Method Detail
+ +

+process

+
+void process(DatagramPacket theDatagramPacket,
+             int thePort)
+
+
+
Parameters:
theDatagramPacket - DatagramPacket
+
+
+ +
+ + + + + + + + + + + + + + + + + + + +
+ +
+ + + +
+processing library oscP5 by Andreas Schlegel. (c) 2004-2012 + + diff --git a/libraries/oscP5/reference/netP5/UdpServer.html b/libraries/oscP5/reference/netP5/UdpServer.html new file mode 100644 index 0000000..700e9b7 --- /dev/null +++ b/libraries/oscP5/reference/netP5/UdpServer.html @@ -0,0 +1,411 @@ + + + + + + +UdpServer (Javadocs: oscP5) + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + +
+ +
+ + + +
+ +

+ +netP5 +
+Class UdpServer

+
+java.lang.Object
+  extended by netP5.AbstractUdpServer
+      extended by netP5.UdpServer
+
+
+
All Implemented Interfaces:
Runnable, UdpPacketListener
+
+
+
+
public class UdpServer
extends AbstractUdpServer
implements UdpPacketListener
+ + +

+

+
Author:
+
andreas schlegel
+
+
+ +

+ + + + + + + + + + + + + + + + + +
+Constructor Summary
UdpServer(Object theObject, + int thePort) + +
+           
UdpServer(Object theObject, + int thePort, + int theBufferSize) + +
+          new UDP server.
UdpServer(UdpPacketListener theListener, + int thePort, + int theBufferSize) + +
+           
+  + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+Method Summary
+ voidaddListener(NetListener theListener) + +
+          add a listener to the udp server.
+ NetListenergetListener(int theIndex) + +
+           
+ VectorgetListeners() + +
+           
+ voidprocess(DatagramPacket thePacket, + int thePort) + +
+           
+ voidremoveListener(NetListener theListener) + +
+           
+ + + + + + + +
Methods inherited from class netP5.AbstractUdpServer
dispose, run, send, send, send, send, socket, start
+ + + + + + + +
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
+  +

+ + + + + + + + +
+Constructor Detail
+ +

+UdpServer

+
+public UdpServer(Object theObject,
+                 int thePort,
+                 int theBufferSize)
+
+
new UDP server. + by default the buffersize of a udp packet is 1536 bytes. you can set + your own individual buffersize with the third parameter int in the constructor. +

+

+
Parameters:
theObject - Object
thePort - int
theBufferSize - int
+
+
+ +

+UdpServer

+
+public UdpServer(Object theObject,
+                 int thePort)
+
+
+
+ +

+UdpServer

+
+public UdpServer(UdpPacketListener theListener,
+                 int thePort,
+                 int theBufferSize)
+
+
+
Parameters:
theListener -
thePort -
theBufferSize -
+
+ + + + + + + + +
+Method Detail
+ +

+process

+
+public void process(DatagramPacket thePacket,
+                    int thePort)
+
+
+
Specified by:
process in interface UdpPacketListener
+
+
+
Parameters:
thePacket - DatagramPacket
thePort - int
+
+
+
+ +

+addListener

+
+public void addListener(NetListener theListener)
+
+
add a listener to the udp server. each incoming packet will be forwarded + to the listener. +

+

+
+
+
+
Parameters:
theListener -
+
+
+
+ +

+removeListener

+
+public void removeListener(NetListener theListener)
+
+
+
+
+
+
Parameters:
theListener -
+
+
+
+ +

+getListener

+
+public NetListener getListener(int theIndex)
+
+
+
+
+
+
Parameters:
theIndex - +
Returns:
+
+
+
+ +

+getListeners

+
+public Vector getListeners()
+
+
+
+
+
+ +
Returns:
+
+
+ +
+ + + + + + + + + + + + + + + + + + + +
+ +
+ + + +
+processing library oscP5 by Andreas Schlegel. (c) 2004-2012 + + diff --git a/libraries/oscP5/reference/netP5/package-frame.html b/libraries/oscP5/reference/netP5/package-frame.html new file mode 100644 index 0000000..49c374e --- /dev/null +++ b/libraries/oscP5/reference/netP5/package-frame.html @@ -0,0 +1,85 @@ + + + + + + +netP5 (Javadocs: oscP5) + + + + + + + + + + + +netP5 + + + + +
+Interfaces  + +
+NetListener +
+NetP5 +
+TcpPacketListener +
+UdpPacketListener
+ + + + + + +
+Classes  + +
+AbstractMulticast +
+AbstractTcpClient +
+AbstractTcpServer +
+AbstractUdpClient +
+AbstractUdpServer +
+Bytes +
+Logger +
+Multicast +
+NetAddress +
+NetAddressList +
+NetInfo +
+NetMessage +
+NetStatus +
+StringUtils +
+TcpClient +
+TcpPacket +
+TcpServer +
+UdpClient +
+UdpServer
+ + + + diff --git a/libraries/oscP5/reference/netP5/package-summary.html b/libraries/oscP5/reference/netP5/package-summary.html new file mode 100644 index 0000000..186e368 --- /dev/null +++ b/libraries/oscP5/reference/netP5/package-summary.html @@ -0,0 +1,255 @@ + + + + + + +netP5 (Javadocs: oscP5) + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + +
+ +
+ + + +
+

+Package netP5 +

+ + + + + + + + + + + + + + + + + + + + + +
+Interface Summary
NetListener 
NetP5 
TcpPacketListener 
UdpPacketListener 
+  + +

+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+Class Summary
AbstractMulticast 
AbstractTcpClient 
AbstractTcpServer 
AbstractUdpClient 
AbstractUdpServer 
Bytes 
Logger 
MulticastMulticast is a method of forwarding IP datagrams to a group of interested receivers.
NetAddressNetAddress is an Object that contains an inetaddress + of an remote internet address, consisting of an + ip address and a port number.
NetAddressListNetAddressList is an arraylist of netaddresses.
NetInfosome description
NetMessage 
NetStatus 
StringUtils 
TcpClient 
TcpPacket 
TcpServer 
UdpClient 
UdpServer 
+  + +

+

+
+
+ + + + + + + + + + + + + + + +
+ +
+ + + +
+processing library oscP5 by Andreas Schlegel. (c) 2004-2012 + + diff --git a/libraries/oscP5/reference/netP5/package-tree.html b/libraries/oscP5/reference/netP5/package-tree.html new file mode 100644 index 0000000..98492d1 --- /dev/null +++ b/libraries/oscP5/reference/netP5/package-tree.html @@ -0,0 +1,172 @@ + + + + + + +netP5 Class Hierarchy (Javadocs: oscP5) + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + +
+ +
+ + + +
+
+

+Hierarchy For Package netP5 +

+
+
+
Package Hierarchies:
All Packages
+
+

+Class Hierarchy +

+ +

+Interface Hierarchy +

+ +
+ + + + + + + + + + + + + + + +
+ +
+ + + +
+processing library oscP5 by Andreas Schlegel. (c) 2004-2012 + + -- cgit v1.2.3-70-g09d2