edu.unh.sdb.remote
Class RemoteMessenger
java.lang.Object
edu.unh.sdb.remote.RemoteMessenger
public class RemoteMessenger
- extends java.lang.Object
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
RemoteMessenger
public RemoteMessenger()
PassivelySendControlInfo
public int PassivelySendControlInfo(java.net.ServerSocket ssock,
java.lang.String s,
java.lang.String targetIP)
- TCP Control Traffic to client.
We need to add the desired IP so that it only send
to the target address.
ActivelyReceiveControlInfo
public java.lang.String ActivelyReceiveControlInfo(java.lang.String peerIP,
int peerPort)
- Client To Server Control Information for missing packets.
ActivelyReceiveControlInfo
public java.lang.String ActivelyReceiveControlInfo(java.net.InetAddress peerIP,
int peerPort)
PassivelyReceiveControlInfo
public java.lang.String PassivelyReceiveControlInfo(java.net.ServerSocket ssock,
java.util.Set allowedNodes)
ActivelySendControlInfo
public int ActivelySendControlInfo(java.lang.String msg,
java.lang.String targetIP,
int targetPort)
ActivelySendControlInfo
public int ActivelySendControlInfo(java.lang.String msg,
java.net.InetAddress targetIP,
int targetPort)
getRequestAddress
public java.net.InetAddress getRequestAddress()
setMoribund
public void setMoribund()
- Tell this object that its thread is about to be interrupted.