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.
-
SerializingTransfer()
- Empty constructor, allowed for receiving SerializingTransfers.
-
SerializingTransfer(Serializable)
- Constructor with the object to be transferred as parameter.
-
getNRView()
-
-
getObject()
-
-
receive()
- Method to read the data.
-
send()
- Method to send the data.
SerializingTransfer
public SerializingTransfer()
- Empty constructor, allowed for receiving SerializingTransfers.
SerializingTransfer
public SerializingTransfer(Serializable s)
- Constructor with the object to be transferred as parameter.
- Parameters:
- s - The object to be transferred.
getNRView
public NRView getNRView()
- Returns:
- Our NRView.
- Overrides:
- getNRView in class TransferTransaction
send
protected void send() throws TXContextCommException
- Method to send the data.
- Throws: TXContextCommException
- When comm problems occur.
- Overrides:
- send in class TransferTransaction
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
getObject
public Object getObject()
- Returns:
- The object inside the SerializingTransfer.
- Overrides:
- getObject in class TransferTransaction
All Packages Class Hierarchy This Package Previous Next Index