All Packages Class Hierarchy This Package Previous Next Index
Interface iBus.Receiver
- public interface Receiver
Objects that implement interface Receiver can receive
iBus Postings. iBus.Stack.subscribe and unsubscribe take an iBus.Receiver
object as a parameter. iBus.Stack will invoke the Receiver.dispatchPush
on that object whenever it receives a posting
-
dispatchPull(iBusURL, Posting)
- Upcall method invoked by the Stack when a posting is pulled
for which there is a subscription.
-
dispatchPush(iBusURL, Posting)
- Upcall method invoked by the Stack when a posting is pushed
for which there is a subscription.
-
error(iBusURL, String)
- Upcall method to be invoked by Stack when an error such as
a security violation or the unrecoverable loss of a message
occurred.
dispatchPush
public abstract void dispatchPush(iBusURL channel,
Posting p)
- Upcall method invoked by the Stack when a posting is pushed
for which there is a subscription.
- Parameters:
- channel - the iBus channel the posting is received from
- p - the received posting
dispatchPull
public abstract Posting dispatchPull(iBusURL channel,
Posting request)
- Upcall method invoked by the Stack when a posting is pulled
for which there is a subscription.
- Parameters:
- channel - the iBus channel the posting is received from
- request - the pull request posting
- Returns:
- a reply posting
error
public abstract void error(iBusURL channel,
String details)
- Upcall method to be invoked by Stack when an error such as
a security violation or the unrecoverable loss of a message
occurred.
- Parameters:
- channel - the iBus channel the error is received from
- details - a string that describes the error
All Packages Class Hierarchy This Package Previous Next Index