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
           
 
Constructor Summary
ConcastSocket()
           
 
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
 

Field Detail

ttl

protected byte ttl

id

protected long id
Constructor Detail

ConcastSocket

public ConcastSocket()
Method Detail

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