|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface CommunicationConnector
Interface for the communication connector.
Method Summary | |
---|---|
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)
|
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 |
Methods inherited from interface org.universAAL.middleware.connectors.Connector |
---|
dispose, getDescription, getName, getProvider, getVersion, init, loadConfigurations |
Method Detail |
---|
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 resetString toString()
toString
in class Object
List<String> getGroupMembers(String groupName)
boolean hasChannel(String channelName)
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |