Package | Description |
---|---|
org.universAAL.ri.gateway |
Main package for AALSpace Gateway.
|
org.universAAL.ri.gateway.communicator.service | |
org.universAAL.ri.gateway.communicator.service.impl | |
org.universAAL.ri.gateway.protocol | |
org.universAAL.ri.gateway.protocol.link |
Modifier and Type | Method and Description |
---|---|
Message |
Session.sendRequest(Message message) |
Modifier and Type | Method and Description |
---|---|
void |
Session.handleMessage(Message msg)
Receives the Message from the communication layer, delivering it to the
appropriate subcomponent.
|
void |
ProxyMessageReceiver.handleMessage(Message msg) |
void |
Session.send(Message message) |
Message |
Session.sendRequest(Message message) |
Modifier and Type | Method and Description |
---|---|
static Message |
CommunicationHelper.readAndDecypher(InputStream is,
Cipher cipher)
Read data from a stream and decrypt it and convert to a
Message . |
Modifier and Type | Method and Description |
---|---|
static void |
CommunicationHelper.cypherAndSend(Message msg,
OutputStream out,
Cipher cipher)
This method encrypt and send the given data by adding at the begging of
the encrypted data the length of the data that will be sent
|
void |
CommunicationHandler.sendMessage(Message msg,
String scope)
Send the given message to a specific scope
|
void |
CommunicationHandler.sendMessage(Message msg,
String[] scope)
Deprecated.
CommunicationHandler.sendMessage(Message, String) should be used because
the Gateway will perform security check for simulating
multi-casting or broad-casting when needed |
Modifier and Type | Method and Description |
---|---|
protected abstract Message |
AbstractLinkHandler.getNextMessage(InputStream in) |
protected Message |
AbstractSocketCommunicationHandler.readMessage(InputStream in) |
Modifier and Type | Method and Description |
---|---|
protected boolean |
AbstractLinkHandler.handleGatewayProtocol(Message msg) |
protected abstract boolean |
AbstractLinkHandler.handleSessionProtocol(Message msg) |
void |
AbstractSocketCommunicationHandler.sendMessage(Message msg,
String scope) |
void |
AbstractSocketCommunicationHandler.sendMessage(Message msg,
String[] scopes) |
Modifier and Type | Class and Description |
---|---|
class |
ErrorMessage
Message to send Errors to remote peers.
|
class |
ImportMessage |
class |
LinkMessage |
class |
WrappedBusMessage
Message used to forward a
BusMessage (ServiceRequest,
ServiceResponse, ContextEvent, UIRequest UIResponse). |
Modifier and Type | Method and Description |
---|---|
Message |
ErrorMessage.getErroneousMessage() |
Message |
MessageSender.sendRequest(Message message)
Send a request Synchronously to which a response is expected.
|
Modifier and Type | Method and Description |
---|---|
void |
MessageReceiver.handleMessage(Message msg)
Called by the communication layer when a new message is received.
|
void |
MessageSender.send(Message message)
Send Asynchronously a
Message independent of which level it is,
to a remote ASG. |
Message |
MessageSender.sendRequest(Message message)
Send a request Synchronously to which a response is expected.
|
Constructor and Description |
---|
ErrorMessage(String description,
Message onMessage)
Create an Error Message with a description and a
Message . |
ImportMessage(Message respondTo)
Response constructor.
|
Message(Message respondTo)
Constructor for a
Message in response to another. |
Modifier and Type | Class and Description |
---|---|
class |
ConnectionRequest |
class |
ConnectionResponse |
class |
DisconnectionRequest |
class |
ReconnectionRequest |
Copyright © 2015 universAAL Consortium. All Rights Reserved.