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