All Packages  Class Hierarchy  This Package  Previous  Next  Index

Class semper.txlayer.extensions.statement.StatementTransfer

java.lang.Object
   |
   +----semper.txlayer.transaction.Transaction
           |
           +----semper.txlayer.transfer.TransferTransaction
                   |
                   +----semper.txlayer.extensions.statement.StatementTransfer

public class StatementTransfer
extends TransferTransaction
StatementTransfer is used to transfer a single statement. The current version only supports StatementMemory and StatementSerializable.


Constructor Index

 o StatementTransfer()
Empty constructor needed be receiver of Statement
 o StatementTransfer(StatementItem)
Constructor, which initialises the transfer with a statement

Method Index

 o getNRView()
 o getObject()
get the Statement in the StatementTransfer
 o receive()
Receiving a transferred Statement
 o send()
Transferring a StatementItem.

Constructors

 o StatementTransfer
 public StatementTransfer()
Empty constructor needed be receiver of Statement

 o StatementTransfer
 public StatementTransfer(StatementItem s)
Constructor, which initialises the transfer with a statement

Parameters:
s - is the Statement to be sent

Methods

 o getNRView
 public NRView getNRView()
Returns:
Our NRView. Currently simply the Statement itself.
Overrides:
getNRView in class TransferTransaction
 o send
 protected void send() throws TXContextCommException
Transferring a StatementItem.

Throws: TXContextCommException
if the item could not be sent
Overrides:
send in class TransferTransaction
 o receive
 protected void receive() throws TXContextCommException
Receiving a transferred Statement

Throws: TXContextCommException
if no Statement was received
Overrides:
receive in class TransferTransaction
 o getObject
 public Object getObject()
get the Statement in the StatementTransfer

Overrides:
getObject in class TransferTransaction

All Packages  Class Hierarchy  This Package  Previous  Next  Index