org.ceno.communication.srv.internal
Class CommunicatorService

java.lang.Object
  extended by org.ceno.communication.srv.internal.CommunicatorService
All Implemented Interfaces:
ICommunicatorService

public class CommunicatorService
extends java.lang.Object
implements ICommunicatorService

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

Constructor Summary
CommunicatorService()
           
 
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
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

CommunicatorService

public CommunicatorService()
Method Detail

findRegisteredServers

public java.lang.Iterable<java.lang.String> findRegisteredServers()

Specified by:
findRegisteredServers in interface ICommunicatorService
Returns:
an iterable of supported srvIdentifiers that can be used as param for {#runServer(String) operation

runServer

public void runServer(ServerDescriptor serverDescriptor)
Start the specified server

Specified by:
runServer in interface ICommunicatorService

shutdownServer

public void shutdownServer(java.lang.String srvIdentifier)
Description copied from interface: ICommunicatorService
Start the specified server

Specified by:
shutdownServer in interface ICommunicatorService