|
|||||||||
| 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
Class wrapper to send atoms via UDP/IP. The host on the other side must use UdpReceive to read the sended atoms. This class is a work in progress and have been lightly tested.
| Constructor Summary | |
|---|---|
UdpSender()
|
|
UdpSender(String address,
int port)
Create a UpdSender. |
|
| Method Summary | |
|---|---|
String |
getAddress()
Returns the hostname/ip address to reach. |
int |
getPort()
Returns the UDP port to use. |
void |
send(Atom[] args)
|
void |
send(float f)
|
void |
send(int i)
|
void |
send(String msg,
Atom[] args)
|
void |
setAddress(String address)
Sets hostname/ip address to reach. |
void |
setPort(int port)
Sets the UDP port to use. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public UdpSender()
public UdpSender(String address,
int port)
address - the hostname/ip address of the host to reachport - the UDP port to use| Method Detail |
|---|
public void send(Atom[] args)
public void send(int i)
public void send(float f)
public void send(String msg,
Atom[] args)
public String getAddress()
public void setAddress(String address)
address - hostname/ip address to reachpublic int getPort()
public void setPort(int port)
port - the UDP port to use
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||