cgl.narada.transport.ptcp.psocket.tools
Class PTCPSocketInfo

java.lang.Object
  extended by 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

Field Summary
 
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
 
Constructor Summary
PTCPSocketInfo()
           
PTCPSocketInfo(String id)
           
PTCPSocketInfo(String id, int numStreams)
           
 
Method Summary
 void addCommSocket(Socket soc)
           
 void addSocket(int index, Socket soc)
           
 void addSocket(Socket soc)
           
 void closeSockets()
           
 Socket getCommSocket()
           
 String getId()
           
 int getNumStreams()
           
 int getRtt()
           
 Socket getSocket(int index)
           
 Socket[] getSockets()
           
 int getTcpWindowSize()
           
 long getTxEndTime()
           
 long getTxStartTime()
           
 boolean isDone()
           
static void main(String[] args)
           
 void setId(String id)
           
 void setNumStreams(int numStreams)
           
 void setRtt(int rtt)
           
 void setTcpWindowSize(int tcpWindowSize)
           
 void setTxEndTime_(long txEndTime)
           
 void setTxStartTime_(long txStartTime)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

PTCPSocketInfo

public PTCPSocketInfo()

PTCPSocketInfo

public PTCPSocketInfo(String id)

PTCPSocketInfo

public PTCPSocketInfo(String id,
                      int numStreams)
Method Detail

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