concast.merged
Class ConcastSocket
java.lang.Object
|
+--concast.merged.ConcastSocket
- public class ConcastSocket
- extends java.lang.Object
Internal class, declares native concast socket.
Field Summary |
protected long |
id
|
protected byte |
ttl
|
Method Summary |
protected void |
init()
|
protected int |
read(byte[] msg,
long waitTime)
Read a new data message. |
protected void |
send(byte[] msg,
int len,
byte ttl,
long id,
java.lang.String receiverAddress)
Send a message |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
ttl
protected byte ttl
id
protected long id
ConcastSocket
public ConcastSocket()
init
protected void init()
read
protected int read(byte[] msg,
long waitTime)
- Read a new data message.
Wait for a message at most waitTime milliseconds
send
protected void send(byte[] msg,
int len,
byte ttl,
long id,
java.lang.String receiverAddress)
- Send a message