|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.ObjectnetP5.AbstractUdpClient
public abstract class AbstractUdpClient
Constructor Summary | |
---|---|
AbstractUdpClient()
|
|
AbstractUdpClient(java.lang.String theAddr,
int thePort)
|
Method Summary | |
---|---|
void |
send(byte[] theBytes)
send a byte array using UDP to an already specified RemoteAddress. |
void |
send(byte[] theBytes,
java.net.InetAddress theAddress,
int thePort)
send a byte array to the dedicated remoteAddress. |
void |
send(byte[] theBytes,
NetAddress theNetAddress)
send a byte array to the dedicated remoteAddress. |
void |
send(byte[] theBytes,
java.lang.String theAddress,
int thePort)
send a byte array to the dedicated remoteAddress. |
void |
send(java.net.DatagramPacket thePacket)
|
void |
send(java.lang.String theString)
send a string using UDP to an already specified RemoteAddress. |
java.net.DatagramSocket |
socket()
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 |
---|
public AbstractUdpClient()
public AbstractUdpClient(java.lang.String theAddr, int thePort)
theAddr
- StringthePort
- intMethod Detail |
---|
public java.net.DatagramSocket socket()
public void send(java.lang.String theString)
theString
- public void send(byte[] theBytes)
theBytes
- byte[]public void send(byte[] theBytes, NetAddress theNetAddress)
theBytes
- theNetAddress
- public void send(byte[] theBytes, java.lang.String theAddress, int thePort)
thePacket
- OscPackettheAddress
- StringthePort
- intpublic void send(java.net.DatagramPacket thePacket)
thePacket
- DatagramPacketpublic void send(byte[] theBytes, java.net.InetAddress theAddress, int thePort)
theBytes
- byte[]theAddress
- InetAddressthePort
- int
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |