All Packages Class Hierarchy This Package Previous Next Index
Class semper.txlayer.transfer.NegotiationTransfer
java.lang.Object
|
+----semper.txlayer.transaction.Transaction
|
+----semper.txlayer.transfer.TransferTransaction
|
+----semper.txlayer.transfer.NegotiationTransfer
- public class NegotiationTransfer
- extends TransferTransaction
This class performs attribute negotiations.
A NegotiationTransfer is started in the toplevel
TransferTransaction of a transaction tree and
negotiates offered and requested attributes of both peers.
Unused offeredAttributes are removed from the calling TransferTransaction.
-
NegotiationTransfer(AttributeSet, AttributeSet)
- Constructor.
-
getNRView()
-
-
getObject()
-
-
receive()
- The receiver part of the NegotiationTransfer.
-
send()
- The sender part of the NegotiationTransfer.
NegotiationTransfer
public NegotiationTransfer(AttributeSet offered,
AttributeSet requested)
- Constructor.
Unused offeredAttributes are removed from the calling TransferTransaction.
- Parameters:
- offered - The attributes that we offer the peer.
- requested - The attributes that we request from the peer.
getNRView
public NRView getNRView()
- Returns:
- Our NRView. This is null here as a proof about an
attribute negotiation does not make much sense.
- Overrides:
- getNRView in class TransferTransaction
send
protected void send() throws TXContextCommException
- The sender part of the NegotiationTransfer. TransferTransactions
that are prepared as senders also inherit this role to their
NegotiationTransfers.
- Throws: TXContextCommException
- When comm problems occur.
- Overrides:
- send in class TransferTransaction
receive
protected void receive() throws TXContextCommException
- The receiver part of the NegotiationTransfer. TransferTransactions
that are prepared as receivers also inherit this role to their
NegotiationTransfers.
- Throws: TXContextCommException
- When comm problems occur.
- Overrides:
- receive in class TransferTransaction
getObject
public Object getObject()
- Returns:
- null.
- Overrides:
- getObject in class TransferTransaction
All Packages Class Hierarchy This Package Previous Next Index