Package org.openmuc.framework.server.spi
Interface ServerService
-
public interface ServerService
This interface is to be implemented by bundles that provide server functionality.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description java.lang.String
getId()
returns the unique Identifier of a servervoid
serverMappings(java.util.List<ServerMappingContainer> mappings)
This method is called after registering as a server.void
updatedConfiguration(java.util.List<ServerMappingContainer> mappings)
This method is called when configuration is updated.
-
-
-
Method Detail
-
getId
java.lang.String getId()
returns the unique Identifier of a server- Returns:
- the unique Identifier
-
updatedConfiguration
void updatedConfiguration(java.util.List<ServerMappingContainer> mappings)
This method is called when configuration is updated.- Parameters:
mappings
- the channels configured be mapped to the server
-
serverMappings
void serverMappings(java.util.List<ServerMappingContainer> mappings)
This method is called after registering as a server. It provides access to the channels that are configured to be mapped to a server- Parameters:
mappings
- the channels configured be mapped to the server
-
-