Modifier and Type | Class and Description |
---|---|
class |
IntermediateSession
A session which supports receiving, forwarding and acknowledgement of messages.
|
class |
MessageBus
A message bus contains the factory for creating sessions to send, receive
and forward messages.
|
class |
SendProxy
This class owns a message that is being sent by message bus.
|
class |
Sequencer
Sequencing is implemented as a message handler that is configured in a source session in that session's chain of
linked message handlers.
|
class |
SourceSession
A session supporting sending new messages.
|
Modifier and Type | Method and Description |
---|---|
ReplyHandler |
IntermediateSessionParams.getReplyHandler()
Returns the handler to receive incoming replies.
|
ReplyHandler |
SourceSessionParams.getReplyHandler()
Returns the handler to receive incoming replies.
|
ReplyHandler |
SourceSession.getReplyHandler()
Returns the reply handler of this session.
|
ReplyHandler |
IntermediateSession.getReplyHandler()
Returns the reply handler of this session.
|
ReplyHandler |
CallStack.pop(Routable routable)
Pop a frame from this stack.
|
ReplyHandler |
Routable.popHandler()
This is a convenience method for calling
CallStack.pop(Routable) on the CallStack of this
Routable. |
Modifier and Type | Method and Description |
---|---|
IntermediateSession |
MessageBus.createIntermediateSession(String name,
boolean broadcastName,
MessageHandler msgHandler,
ReplyHandler replyHandler)
This is a convenience method to call
MessageBus.createIntermediateSession(IntermediateSessionParams) with default
values for the IntermediateSessionParams object. |
SourceSession |
MessageBus.createSourceSession(ReplyHandler handler)
This is a convenience method to call
MessageBus.createSourceSession(SourceSessionParams) with default values for the
SourceSessionParams object. |
SourceSession |
MessageBus.createSourceSession(ReplyHandler handler,
SourceSessionParams params)
This is a convenience method to call
MessageBus.createSourceSession(SourceSessionParams) by first assigning the reply
handler to the parameter object. |
void |
MessageBus.deliverReply(Reply reply,
ReplyHandler handler) |
void |
Messenger.deliverReply(Reply reply,
ReplyHandler handler)
Convenience method to post a
Messenger.Task that delivers a Reply to a ReplyHandler to the queue of tasks to be
executed. |
void |
CallStack.push(ReplyHandler handler,
Object context)
Push a handler onto the callstack of this message with a given context.
|
void |
Routable.pushHandler(ReplyHandler handler)
Pushes the given reply handler onto the call stack of this routable, also storing the current context.
|
IntermediateSessionParams |
IntermediateSessionParams.setReplyHandler(ReplyHandler handler)
Sets the handler to recive incoming replies.
|
SourceSessionParams |
SourceSessionParams.setReplyHandler(ReplyHandler handler)
Sets the handler to recive incoming replies.
|
Copyright © 2018. All rights reserved.