|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.cycling74.net.UdpSender
public class UdpSender
UDP sender.
Constructor Summary | |
---|---|
UdpSender()
Creates a UdpSender. |
|
UdpSender(java.lang.String address,
int port)
Creates a UdpSender with specified IP address and port. |
Method Summary | |
---|---|
java.lang.String |
getAddress()
Get IP address. |
int |
getPort()
Get port. |
void |
send(Atom[] a)
Send a list. |
void |
send(float f)
Send a float. |
void |
send(int i)
Send an integer. |
void |
send(java.lang.String msg,
Atom[] a)
Send a message. |
void |
setAddress(java.lang.String address)
Set IP address. |
void |
setPort(int port)
Set port. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public UdpSender(java.lang.String address, int port)
address
- IP address to send data toport
- port to send data topublic UdpSender()
Method Detail |
---|
public void setPort(int port)
port
- the port to send data topublic int getPort()
public void setAddress(java.lang.String address)
address
- the IP address to send data topublic java.lang.String getAddress()
public void send(int i)
i
- the integer to sendpublic void send(float f)
f
- the float to sendpublic void send(Atom[] a)
a
- the array of Atoms to send.public void send(java.lang.String msg, Atom[] a)
msg
- the message to senda
- arguments to the message
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |