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.


Constructor Index

 o NegotiationTransfer(AttributeSet, AttributeSet)
Constructor.

Method Index

 o getNRView()
 o getObject()
 o receive()
The receiver part of the NegotiationTransfer.
 o send()
The sender part of the NegotiationTransfer.

Constructors

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

Methods

 o 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
 o 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
 o 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
 o getObject
 public Object getObject()
Returns:
null.
Overrides:
getObject in class TransferTransaction

All Packages  Class Hierarchy  This Package  Previous  Next  Index