|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectcom.cycling74.net.MultiSender
public class MultiSender
Send to a multicast group. created on 17-May-2004
| Constructor Summary | |
|---|---|
MultiSender()
Create a new MultiSender. |
|
MultiSender(java.lang.String groupName,
int port)
Create a new MultiSender with specified group and port. |
|
MultiSender(java.lang.String groupName,
int port,
byte timeToLive)
Create a new MultiSender with specified group, port, and time to live. |
|
MultiSender(java.lang.String groupName,
int port,
java.lang.String debugString,
byte timeToLive)
Create a new MultiSender with specified group name, port, debug string, and time to live. |
|
| Method Summary | |
|---|---|
java.lang.String |
getGroup()
Get the group. |
int |
getPort()
Get the port. |
byte |
getTimeToLive()
Gets time to live. |
void |
send(Atom[] a)
Send an Atom array. |
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 |
setDebugString(java.lang.String s)
Sets the debug string. |
void |
setGroup(java.lang.String s)
Set the group. |
void |
setPort(int p)
Set the port. |
void |
setTimeToLive(int i)
Sets time to live. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public MultiSender(java.lang.String groupName,
int port,
java.lang.String debugString,
byte timeToLive)
groupName - group to send toport - port to send ondebugString - part of the output to the Max window in the event of a
networking errortimeToLive - number of hops the transmission will stay alive
public MultiSender(java.lang.String groupName,
int port,
byte timeToLive)
groupName - group to send toport - port to send ontimeToLive - number of hops the transmission will stay alive
public MultiSender(java.lang.String groupName,
int port)
groupName - group to send toport - port to send onpublic MultiSender()
| Method Detail |
|---|
public void setPort(int p)
p - port to send over.public int getPort()
public void setGroup(java.lang.String s)
s - the group to send topublic java.lang.String getGroup()
public void setTimeToLive(int i)
i - the transmission will remain alive for this number of hops.public byte getTimeToLive()
public void setDebugString(java.lang.String s)
s - the debug stringpublic void send(int i)
i - the int to sendpublic void send(float f)
f - the float to sendpublic void send(Atom[] a)
a - the Atom array to send.
public void send(java.lang.String msg,
Atom[] a)
msg - the message to senda - the arguments to send with the message
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||