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.
-
StatementTransfer()
- Empty constructor needed be receiver of Statement
-
StatementTransfer(StatementItem)
- Constructor, which initialises the transfer with a statement
-
getNRView()
-
-
getObject()
- get the Statement in the StatementTransfer
-
receive()
- Receiving a transferred Statement
-
send()
- Transferring a StatementItem.
StatementTransfer
public StatementTransfer()
- Empty constructor needed be receiver of Statement
StatementTransfer
public StatementTransfer(StatementItem s)
- Constructor, which initialises the transfer with a statement
- Parameters:
- s - is the Statement to be sent
getNRView
public NRView getNRView()
- Returns:
- Our NRView. Currently simply the Statement itself.
- Overrides:
- getNRView in class TransferTransaction
send
protected void send() throws TXContextCommException
- Transferring a StatementItem.
- Throws: TXContextCommException
- if the item could not be sent
- Overrides:
- send in class TransferTransaction
receive
protected void receive() throws TXContextCommException
- Receiving a transferred Statement
- Throws: TXContextCommException
- if no Statement was received
- Overrides:
- receive in class TransferTransaction
getObject
public Object getObject()
- get the Statement in the StatementTransfer
- Overrides:
- getObject in class TransferTransaction
All Packages Class Hierarchy This Package Previous Next Index