public interface CommunicationConnector extends Connector
Modifier and Type | Method and Description |
---|---|
void |
configureConnector(List<ChannelDescriptor> channels,
String peerName)
Configure the connector
|
void |
dispose(List<ChannelDescriptor> channels)
Reset the CommunicationConnector
|
List<String> |
getGroupMembers(String groupName) |
boolean |
hasChannel(String channelName)
This method checks if the communication connector provides a channel with
the name specified.
|
void |
multicast(ChannelMessage message)
Send multicast message to a group (Broadcast)
|
void |
multicast(ChannelMessage message,
List<PeerCard> receivers)
Send multicast message to a list of recipients in the same group
|
String |
toString() |
void |
unicast(ChannelMessage message,
String receiver)
Send unicast message to one recipient
|
dispose, getDescription, getName, getProvider, getVersion, init, loadConfigurations
void multicast(ChannelMessage message, List<PeerCard> receivers) throws CommunicationConnectorException
CommunicationConnectorException
void multicast(ChannelMessage message) throws CommunicationConnectorException
CommunicationConnectorException
void unicast(ChannelMessage message, String receiver)
void configureConnector(List<ChannelDescriptor> channels, String peerName) throws CommunicationConnectorException
CommunicationModuleException
CommunicationConnectorException
void dispose(List<ChannelDescriptor> channels)
channels
- Channels to resetboolean hasChannel(String channelName)
channelName
- Copyright © 2018 universAAL Consortium. All rights reserved.