| 
 |   | ||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
java.lang.Object | +--net.vattp.data.DataCommThunk
| Field Summary | |
| private static int | ACCEPT_RECEIVER | 
| private static int | INCOMING_SOCKET | 
| private  String | myAddress | 
| private  VatTPMgr | myConnMgr | 
| private  StreamMessage | myContinuation | 
| private  DataPath | myDataPath | 
| private  Throwable | myException | 
| private  NetAddr | myLocalNetAddr | 
| private  byte[] | myMessage | 
| private  RecvThread | myRecvThread | 
| private  NetAddr | myRemoteNetAddr | 
| private  Socket | mySocket | 
| private  int | myWrittenCount | 
| private  int | myWrittenLength | 
| private static int | NEW_INCOMING_MSG | 
| private static int | NOTICE_PROBLEM | 
| private static int | NOTICE_PROBLEM_CM | 
| private static int | SEND_FINISHED | 
| private static int | SEND_PROGRESS | 
| private static int | SHUT_DOWN_FINISHED | 
| private  int | type | 
| Constructor Summary | |
| (package private) | DataCommThunk(DataPath conn)Construct a DataCommThunk to call recordSendProgress() in a DataPath object. | 
| (package private) | DataCommThunk(DataPath conn,
              byte[] message)Construct a DataCommThunk to call newIncomingMsg() in a DataPath object. | 
| (package private) | DataCommThunk(DataPath conn,
              byte[] sendIV,
              Exception reason)Construct a DataCommThunk to call shutDownFinished() in a DataPath object. | 
| (package private) | DataCommThunk(DataPath conn,
              int count,
              int length,
              StreamMessage continuation)Construct a DataCommThunk to call sendFinished() in a DataPath object. | 
| (package private) | DataCommThunk(DataPath conn,
              RecvThread recv,
              NetAddr remoteNetAddr,
              NetAddr localNetAddr)Construct a DataCommThunk to call newInboundSocket in a VatTPMgr object. | 
| (package private) | DataCommThunk(DataPath conn,
              Throwable e)Construct a DataCommThunk to call noticeProblem() in a DataPath object. | 
| (package private) | DataCommThunk(VatTPMgr connMgr,
              Socket socket)Construct a DataCommThunk to call newInboundSocket in a VatTPMgr object. | 
| (package private) | DataCommThunk(VatTPMgr connMgr,
              Throwable e)Construct a DataCommThunk to call noticeProblem() in a VatTPMgr object. | 
| Method Summary | |
|  void | run()Actually do the invocation this Thunk was created to perform. | 
|  String | toString()Suppressed: Returns a string representation of the object. | 
| Methods inherited from class java.lang.Object | 
| clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait | 
| Field Detail | 
private static final int NOTICE_PROBLEM
private static final int SHUT_DOWN_FINISHED
private static final int SEND_FINISHED
private static final int NEW_INCOMING_MSG
private static final int ACCEPT_RECEIVER
private static final int NOTICE_PROBLEM_CM
private static final int INCOMING_SOCKET
private static final int SEND_PROGRESS
private int type
private DataPath myDataPath
private VatTPMgr myConnMgr
private Throwable myException
private int myWrittenLength
private int myWrittenCount
private StreamMessage myContinuation
private byte[] myMessage
private RecvThread myRecvThread
private Socket mySocket
private NetAddr myRemoteNetAddr
private NetAddr myLocalNetAddr
private String myAddress
| Constructor Detail | 
DataCommThunk(VatTPMgr connMgr,
              Throwable e)
connMgr - the VatTPMgr object to invoke.e - the Exception object describing the problem.
DataCommThunk(VatTPMgr connMgr,
              Socket socket)
connMgr - the DataPath object to invoke.socket - The byte array which is the message.DataCommThunk(DataPath conn)
conn - the DataPath object to invoke.
DataCommThunk(DataPath conn,
              byte[] message)
conn - the DataPath object to invoke.message - The byte array which is the message.
DataCommThunk(DataPath conn,
              byte[] sendIV,
              Exception reason)
conn - the DataPath object to invoke shutdownFinished().sendIV - is the next IV to use after the connection is resumed.reason - is a dummy to make this constructor different from the
          one for new incoming data.
DataCommThunk(DataPath conn,
              int count,
              int length,
              StreamMessage continuation)
conn - the DataPath object to invoke.continuation - is the streaming continuation or null.
DataCommThunk(DataPath conn,
              Throwable e)
conn - the DataPath object to invoke.e - the Exception object describing the problem.
DataCommThunk(DataPath conn,
              RecvThread recv,
              NetAddr remoteNetAddr,
              NetAddr localNetAddr)
conn - the DataPath object to invoke.| Method Detail | 
public void run()
run in interface Runnablejava.lang.Thread#run()public String toString()
ObjecttoString method returns a string that 
 "textually represents" this object. The result should 
 be a concise but informative representation that is easy for a 
 person to read.
 It is recommended that all subclasses override this method.
 
 The toString method for class Object 
 returns a string consisting of the name of the class of which the 
 object is an instance, the at-sign character `@', and 
 the unsigned hexadecimal representation of the hash code of the 
 object. In other words, this method returns a string equal to the 
 value of:
 
getClass().getName() + '@' + Integer.toHexString(hashCode())
toString in class Object| 
 |   | ||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
