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
-
PullContext()
- Create an empty PullContext
-
PullContext(String, iBusURL)
- Create a PullContext out of a sender ID and a reply channel
-
getReplyChannel()
- Return the channel to transmit the reply on.
-
getSenderID()
- Return the ID of the thread that is waiting for a reply.
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
PullContext
public PullContext()
- Create an empty PullContext
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
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