cgl.narada.transport.ptcp.psocket.tools
Class PTCPSocketInfo
java.lang.Object
cgl.narada.transport.ptcp.psocket.tools.PTCPSocketInfo
- All Implemented Interfaces:
- PTCPParameters
public class PTCPSocketInfo
- extends Object
- implements PTCPParameters
Title:
Description:
Copyright: Copyright (c) 2004
Company:
- Version:
- 1.0
| Fields inherited from interface cgl.narada.transport.ptcp.psocket.tools.PTCPParameters |
COMM_SOCKET, DATA_SOCKET, PTCPBuffer_Debug, PTCPDataFragmentator_Debug, PTCPInputStream_Debug, PTCPOutputStream_Debug, PTCPPacket_Debug, PTCPReceiverWorker_Debug, PTCPSenderWorker_Debug, PTCPServerSocket_Debug, PTCPSocket_Debug, PTCPSocketInfo_Debug |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
PTCPSocketInfo
public PTCPSocketInfo()
PTCPSocketInfo
public PTCPSocketInfo(String id)
PTCPSocketInfo
public PTCPSocketInfo(String id,
int numStreams)
getSocket
public Socket getSocket(int index)
getSockets
public Socket[] getSockets()
addSocket
public void addSocket(int index,
Socket soc)
addSocket
public void addSocket(Socket soc)
addCommSocket
public void addCommSocket(Socket soc)
getCommSocket
public Socket getCommSocket()
main
public static void main(String[] args)
isDone
public boolean isDone()
setId
public void setId(String id)
getId
public String getId()
setNumStreams
public void setNumStreams(int numStreams)
getNumStreams
public int getNumStreams()
setRtt
public void setRtt(int rtt)
getRtt
public int getRtt()
setTcpWindowSize
public void setTcpWindowSize(int tcpWindowSize)
getTcpWindowSize
public int getTcpWindowSize()
closeSockets
public void closeSockets()
getTxEndTime
public long getTxEndTime()
getTxStartTime
public long getTxStartTime()
setTxEndTime_
public void setTxEndTime_(long txEndTime)
setTxStartTime_
public void setTxStartTime_(long txStartTime)
For comments and suggestions please send
e-mail to
The NaradaBrokering Project