All Packages  Class Hierarchy  This Package  Previous  Next  Index

Class iBus.PullContext

java.lang.Object
   |
   +----iBus.PullContext

public class PullContext
extends Object
implements Serializable
This class implements the context of a pull request. This information is needed by a stack receiving a pull to return to know on what channel to transmit the reply. By the receiver of a reply the information is needed to locate the thread that is waiting for the repl


Constructor Index

 o PullContext()
Create an empty PullContext
 o PullContext(String, iBusURL)
Create a PullContext out of a sender ID and a reply channel

Method Index

 o getReplyChannel()
Return the channel to transmit the reply on.
 o getSenderID()
Return the ID of the thread that is waiting for a reply.

Constructors

 o PullContext
 public PullContext(String senderID,
                    iBusURL replyChannel)
Create a PullContext out of a sender ID and a reply channel

Parameters:
senderID - the ID of the thread that is waiting for the reply
replyChannel - the channel to transmit the reply on
 o PullContext
 public PullContext()
Create an empty PullContext

Methods

 o getSenderID
 public String getSenderID()
Return the ID of the thread that is waiting for a reply.

Returns:
the ID of the thread that is waiting for a reply
 o getReplyChannel
 public iBusURL getReplyChannel()
Return the channel to transmit the reply on.

Returns:
the channel to transmit the reply on

All Packages  Class Hierarchy  This Package  Previous  Next  Index