org.universAAL.middleware.modules
Interface ConfigurableCommunicationModule

Package class diagram package ConfigurableCommunicationModule
All Superinterfaces:
CommunicationModule, Module
All Known Implementing Classes:
CommunicationModuleImpl

public interface ConfigurableCommunicationModule
extends CommunicationModule

Methods for configure the communication module

Author:
Michele Girolami

Method Summary
 void configureChannels(List<ChannelDescriptor> communicationChannels, String peerName)
          This method allows to configure the CommunicationModule with a List of channels
 void dispose(List<ChannelDescriptor> communicationChannels)
          This method allows to reset the Communication module
 List<String> getGroupMembers(String groupName)
          * This method fetches the set of members that join to the group
 
Methods inherited from interface org.universAAL.middleware.modules.CommunicationModule
addMessageListener, getListenerByNameAndType, hasChannel, messageReceived, removeMessageListener, send, send, sendAll, sendAll, sendAll, sendAll
 
Methods inherited from interface org.universAAL.middleware.modules.Module
dispose, getDescription, getName, getProvider, getVersion, init, loadConfigurations
 

Method Detail

configureChannels

void configureChannels(List<ChannelDescriptor> communicationChannels,
                       String peerName)
This method allows to configure the CommunicationModule with a List of channels

Parameters:
communicationChannels -

dispose

void dispose(List<ChannelDescriptor> communicationChannels)
This method allows to reset the Communication module

Parameters:
communicationChannels -

getGroupMembers

List<String> getGroupMembers(String groupName)
* This method fetches the set of members that join to the group

Parameters:
groupName -
Returns:
List of addresses of the members


Copyright © 2014 universAAL Consortium. All Rights Reserved.