All Packages Class Hierarchy This Package Previous Next Index
Class semper.txlayer.container.ContainerTransfer
java.lang.Object
|
+----semper.txlayer.transaction.Transaction
|
+----semper.txlayer.transfer.TransferTransaction
|
+----semper.txlayer.container.ContainerTransfer
- public class ContainerTransfer
- extends TransferTransaction
This is the
TransferTransaction that is able of transferring a Container.
-
ContainerTransfer()
-
-
ContainerTransfer(Container)
- Create a ContainerTransfer with a Container inside it.
-
getNRView()
-
-
getObject()
-
-
receive()
- Method to receive the container.
-
send()
- Method to send the container.
ContainerTransfer
public ContainerTransfer()
ContainerTransfer
public ContainerTransfer(Container c)
- Create a ContainerTransfer with a Container inside it.
- Parameters:
- c - The Container to store inside us.
send
protected void send() throws TXContextCommException
- Method to send the container. Is called by run() in
TransferTransaction.
- Throws: TXContextCommException
- When comm problems occur.
- Overrides:
- send in class TransferTransaction
receive
protected void receive() throws TXContextCommException
- Method to receive the container. Is called by run() in
TransferTransaction.
- Throws: TXContextCommException
- When comm problems occur.
- Overrides:
- receive in class TransferTransaction
getObject
public Object getObject()
- Returns:
- The Container inside us.
When this is a Receiving TransferTransaction,
this method will yield null until the moment
the TransferTransaction has stopped, that is, after
this.beginAndBlock() or this.begin()+this.join()
returned.
- Overrides:
- getObject in class TransferTransaction
getNRView
public NRView getNRView()
- Returns:
- A NRView of ourself. This is simply the NRView of
the underlying VectorTransfer.
- Overrides:
- getNRView in class TransferTransaction
All Packages Class Hierarchy This Package Previous Next Index