org.kth.dks.dks_comm
Class ConnectionHandler
java.lang.Object
org.kth.dks.dks_comm.ConnectionHandler
public class ConnectionHandler
- extends java.lang.Object
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
ConnectionHandler
public ConnectionHandler(DKSMarshal m,
ConnectionManager c)
statAddMsgsDelivered
public void statAddMsgsDelivered(int i)
statAddMsgsFailed
public void statAddMsgsFailed(int i)
statAddBytesReceived
public void statAddBytesReceived(int i)
statAddMsgsReceived
public void statAddMsgsReceived(int i)
statAddMsgsUnacked
public void statAddMsgsUnacked(int i)
statAddBytesSent
public void statAddBytesSent(int i)
statAddOpenConnection
public void statAddOpenConnection(int i)
statAddTotalConnection
public void statAddTotalConnection(int i)
getBytesRec
public int getBytesRec()
getMsgsRec
public int getMsgsRec()
getBytesSent
public int getBytesSent()
getMsgsDelivered
public int getMsgsDelivered()
getMsgsFailed
public int getMsgsFailed()
getNumConnections
public int getNumConnections()
getOpenConnections
public int getOpenConnections()
getTotalConnections
public int getTotalConnections()
getMsgsUnackedNB
public int getMsgsUnackedNB()
getMsgsUnacked
public int getMsgsUnacked()
getDKSMarshal
public final DKSMarshal getDKSMarshal()
getNodeRTT
public double getNodeRTT(DKSRef node)
createConnection
public void createConnection(java.net.Socket s,
DKSNetAddress na)
throws DKSRefNoResponse
- Throws:
DKSRefNoResponse
removeConnection
public void removeConnection(DKSNetAddress n)
getAllPeers
public java.util.Set getAllPeers()
send
public boolean send(MsgSrcDestWrapper triple)
end
public void end()
Copyright © 2010. All Rights Reserved.