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/AbstractUdpClient.html | 408 +++++++++++++++++++++ 1 file changed, 408 insertions(+) create mode 100644 libraries/oscP5/reference/netP5/AbstractUdpClient.html (limited to 'libraries/oscP5/reference/netP5/AbstractUdpClient.html') 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 + + -- cgit v1.2.3-70-g09d2