Modifier and Type | Method and Description |
---|---|
void |
AbstractBus.brokerMessage(String senderID,
BusMessage msg)
Calls message handling in BusStrategy (gives sender ID and message to
process on the bus).
|
protected ChannelMessage |
BusStrategy.buildChannelMessage(BusMessage m) |
protected abstract void |
BusStrategy.handle(BusMessage m,
String senderID)
Handle the message.
|
void |
BusStrategy.handleMessage(BusMessage m,
String senderID)
This method handles the message asynchronously, while trying to preserve
the order of the messages from the same source, according to the counters
of the messages.
|
protected void |
BusStrategy.send(BusMessage message) |
Modifier and Type | Method and Description |
---|---|
static BusMessage |
BusMessage.createP2PReply(String messageIDInReplyTo,
PeerCard receiver,
Object content,
AbstractBus creator)
Create a reply message to the message with the given ID, with the content
and receiver passed as a parameter.
|
BusMessage |
BusMessage.createReply(Object content)
Create reply message to this message, with the content passed as a
parameter.
|
Modifier and Type | Method and Description |
---|---|
void |
ContextSubscriber.handleEvent(BusMessage m) |
Modifier and Type | Method and Description |
---|---|
void |
ContextStrategy.handle(BusMessage message,
String senderID) |
Modifier and Type | Method and Description |
---|---|
void |
ServiceBus.CallInjector.brokerCall(String callerID,
PeerCard receiver,
BusMessage call)
Can be used by
ServiceCallInjector to inject a
ServiceCall to the bus. |
void |
ServiceBus.CallInjector.brokerCall(String callerID,
String receiver,
BusMessage call)
Can be used by
ServiceCallInjector to inject a
ServiceCall to the bus. |
void |
ServiceBus.brokerReply(String calleeID,
BusMessage response)
Can be used by ServiceCallees to send a response to the bus which will be
delivered to the caller who initiated the initial request.
|
void |
ServiceBus.brokerRequest(String callerID,
BusMessage request)
Can be used by ServiceCallers to send a request to the bus.
|
void |
ServiceCaller.handleReply(BusMessage m) |
void |
ServiceCallee.handleRequest(BusMessage m)
Handles a peer-to-peer request representing a
ServiceCall coming
from the bus. |
Modifier and Type | Method and Description |
---|---|
void |
ServiceBusImpl.CallInjectorImpl.brokerCall(String callerID,
PeerCard receiver,
BusMessage call) |
void |
ServiceBusImpl.CallInjectorImpl.brokerCall(String callerID,
String receiver,
BusMessage call) |
void |
ServiceBusImpl.brokerReply(String calleeID,
BusMessage response) |
void |
ServiceBusImpl.brokerRequest(String callerID,
BusMessage request) |
void |
ServiceStrategy.handle(BusMessage msg,
String senderID) |
void |
ServiceStrategy.injectCall(String callerID,
BusMessage call,
PeerCard receiver) |
Modifier and Type | Method and Description |
---|---|
void |
UICaller.handleReply(BusMessage msg)
Handle reply.
|
void |
UIHandler.handleRequest(BusMessage msg)
Handle request.
|
Modifier and Type | Method and Description |
---|---|
protected void |
UIStrategyCaller.UIRequestCall.onRequest(UIStrategyCaller strategy,
BusMessage m,
String senderID) |
protected void |
UIStrategyCaller.UIRequestCall.onResponse(UIStrategyCaller strategy,
BusMessage m,
String senderID) |
Modifier and Type | Method and Description |
---|---|
protected void |
CallBasedStrategy.handle(BusMessage m,
String senderID) |
protected void |
EventBasedStrategy.handle(BusMessage m,
String senderID) |
void |
CallMessage.onReceived(Strategy strategy,
BusMessage m,
String senderID) |
void |
EventMessage.onReceived(Strategy strategy,
BusMessage m,
String senderID) |
protected abstract void |
CallMessage.onRequest(Strategy strategy,
BusMessage m,
String senderID) |
protected abstract void |
CallMessage.onResponse(Strategy strategy,
BusMessage m,
String senderID) |
void |
CallBasedStrategy.sendSynchronousResponse(BusMessage original,
Object resp)
For use of
CallMessage subclasses to send a response to the call. |
Copyright © 2018 universAAL Consortium. All rights reserved.