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

java.lang.Object
  extended by cgl.narada.transport.ptcp.psocket.tools.PTCPBuffer
All Implemented Interfaces:
PTCPParameters

public class PTCPBuffer
extends Object
implements PTCPParameters


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
PTCPBuffer(int size)
           
PTCPBuffer(int size, boolean perfInc)
           
 
Method Summary
 int getPacketSize()
           
 byte[] read()
           
 void setExit(String name)
           
 void setPacketSize(int packetSize)
           
 void write(int index, Object o)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

PTCPBuffer

public PTCPBuffer(int size)

PTCPBuffer

public PTCPBuffer(int size,
                  boolean perfInc)
Method Detail

setExit

public void setExit(String name)

write

public void write(int index,
                  Object o)
           throws InterruptedException
Throws:
InterruptedException

read

public byte[] read()
            throws InterruptedException
Throws:
InterruptedException

getPacketSize

public int getPacketSize()

setPacketSize

public void setPacketSize(int packetSize)


For comments and suggestions please send e-mail to The NaradaBrokering Project