public interface CommunicationHandler
Modifier and Type | Field and Description |
---|---|
static String |
BROADCAST_SESSION
Deprecated.
Broadcasting is now perfomed by the high level part of the
Gateway by inspecting the message
|
Modifier and Type | Method and Description |
---|---|
void |
sendMessage(Message msg,
String scope)
Send the given message to a specific scope
|
void |
sendMessage(Message msg,
String[] scope)
Deprecated.
sendMessage(Message, String) should be used because
the Gateway will perform security check for simulating
multi-casting or broad-casting when needed |
void |
start() |
void |
stop() |
static final String BROADCAST_SESSION
void sendMessage(Message msg, String scope)
msg
- the Message
to sendscope
- the scope of the destination of the messagevoid sendMessage(Message msg, String[] scope)
sendMessage(Message, String)
should be used because
the Gateway will perform security check for simulating
multi-casting or broad-casting when neededmsg
- the Message
to sendscope
- the set of scope as destination of the messagevoid stop()
Copyright © 2015 universAAL Consortium. All Rights Reserved.