public abstract class AbstractSocketCommunicationHandler extends Object implements CommunicationHandler
Modifier and Type | Field and Description |
---|---|
protected SocketCipher |
cipher |
static Logger |
log |
Constructor and Description |
---|
AbstractSocketCommunicationHandler(SocketCipher cipher) |
Modifier and Type | Method and Description |
---|---|
protected Message |
readMessage() |
boolean |
sendMessage(Message msg,
String scope)
Send the given message to a specific scope
|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
start, stop
public static final Logger log
protected SocketCipher cipher
public AbstractSocketCommunicationHandler(SocketCipher cipher)
public boolean sendMessage(Message msg, String scope)
CommunicationHandler
sendMessage
in interface CommunicationHandler
msg
- the Message
to sendscope
- the scope of the destination of the messageCopyright © 2018 universAAL Consortium. All rights reserved.