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.


Constructor Index

 o ContainerTransfer()
 o ContainerTransfer(Container)
Create a ContainerTransfer with a Container inside it.

Method Index

 o getNRView()
 o getObject()
 o receive()
Method to receive the container.
 o send()
Method to send the container.

Constructors

 o ContainerTransfer
 public ContainerTransfer()
 o ContainerTransfer
 public ContainerTransfer(Container c)
Create a ContainerTransfer with a Container inside it.

Parameters:
c - The Container to store inside us.

Methods

 o 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
 o 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
 o 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
 o 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