Class MessageReader

java.lang.Object
  extended by MessageReader
All Implemented Interfaces:
SimpleP2PConst

public class MessageReader
extends java.lang.Object
implements SimpleP2PConst


Field Summary
(package private)  SinkIF compQ
           
(package private)  ATcpConnection conn
           
(package private)  byte[] cur_data
           
(package private)  int cur_offset
           
 
Fields inherited from interface SimpleP2PConst
MSG_SIZE, PORT
 
Constructor Summary
MessageReader(ATcpConnection conn, SinkIF compQ)
           
MessageReader(SinkIF compQ)
           
 
Method Summary
(package private)  void parse(ATcpInPacket pkt)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

cur_offset

int cur_offset

cur_data

byte[] cur_data

compQ

SinkIF compQ

conn

ATcpConnection conn
Constructor Detail

MessageReader

MessageReader(SinkIF compQ)

MessageReader

MessageReader(ATcpConnection conn,
              SinkIF compQ)
Method Detail

parse

void parse(ATcpInPacket pkt)