org.ceno.communication.srv
Interface ICommunicatorService

All Known Implementing Classes:
CommunicatorService

public interface ICommunicatorService

Interface visible to clients

Version:
0.0.1
Author:
Andre Albert <andre.albert82@googlemail.com>

Method Summary
 java.lang.Iterable<java.lang.String> findRegisteredServers()
           
 void runServer(ServerDescriptor serverDescriptor)
          Start the specified server
 void shutdownServer(java.lang.String srvIdentifier)
          Start the specified server
 

Method Detail

runServer

void runServer(ServerDescriptor serverDescriptor)
Start the specified server

Parameters:
required - parameters to run the server

shutdownServer

void shutdownServer(java.lang.String srvIdentifier)
Start the specified server

Parameters:
srvIdentifier -

findRegisteredServers

java.lang.Iterable<java.lang.String> findRegisteredServers()
Returns:
an iterable of supported srvIdentifiers that can be used as param for {#runServer(String) operation