All Packages  Class Hierarchy  This Package  Previous  Next  Index

Class semper.txlayer.transfer.SerializingTransfer

java.lang.Object
   |
   +----semper.txlayer.transaction.Transaction
           |
           +----semper.txlayer.transfer.TransferTransaction
                   |
                   +----semper.txlayer.transfer.SerializingTransfer

public class SerializingTransfer
extends TransferTransaction
This transferes arbitrary Serializables.


Constructor Index

 o SerializingTransfer()
Empty constructor, allowed for receiving SerializingTransfers.
 o SerializingTransfer(Serializable)
Constructor with the object to be transferred as parameter.

Method Index

 o getNRView()
 o getObject()
 o receive()
Method to read the data.
 o send()
Method to send the data.

Constructors

 o SerializingTransfer
 public SerializingTransfer()
Empty constructor, allowed for receiving SerializingTransfers.

 o SerializingTransfer
 public SerializingTransfer(Serializable s)
Constructor with the object to be transferred as parameter.

Parameters:
s - The object to be transferred.

Methods

 o getNRView
 public NRView getNRView()
Returns:
Our NRView.
Overrides:
getNRView in class TransferTransaction
 o send
 protected void send() throws TXContextCommException
Method to send the data.

Throws: TXContextCommException
When comm problems occur.
Overrides:
send in class TransferTransaction
 o receive
 protected void receive() throws TXContextCommException
Method to read the data. The object can later be retrieved with method getObject().

Throws: TXContextCommException
When comm problems occur.
Overrides:
receive in class TransferTransaction
 o getObject
 public Object getObject()
Returns:
The object inside the SerializingTransfer.
Overrides:
getObject in class TransferTransaction

All Packages  Class Hierarchy  This Package  Previous  Next  Index