org.universAAL.ri.gateway.communicator.service.impl
Class CommunicatorStarter

Package class diagram package CommunicatorStarter
java.lang.Object
  extended by org.universAAL.ri.gateway.communicator.service.impl.CommunicatorStarter

public class CommunicatorStarter
extends Object

Objects of this class are responsible for starting and stopping running GatewayCommunicatorImpl workers.

Author:
skallz

Field Summary
static Properties properties
           
 
Constructor Summary
CommunicatorStarter(org.osgi.framework.BundleContext context)
          Starts the worker with default ID: "".
CommunicatorStarter(org.osgi.framework.BundleContext context, String id)
          Starts the worker with given ImportExportManager and ID.
 
Method Summary
 GatewayCommunicator getCommunicator()
           
 void setManagers(ImportManager importManager, ExportManager exportManager)
          Sets import and export managers for the communicator
 void stop()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

properties

public static Properties properties
Constructor Detail

CommunicatorStarter

public CommunicatorStarter(org.osgi.framework.BundleContext context,
                           String id)
                    throws Exception
Starts the worker with given ImportExportManager and ID.

Parameters:
id - ID
Throws:
Exception
RuntimeException

CommunicatorStarter

public CommunicatorStarter(org.osgi.framework.BundleContext context)
                    throws Exception
Starts the worker with default ID: "".

Parameters:
manager - a ImportExportManager reference
Throws:
Exception
Method Detail

getCommunicator

public GatewayCommunicator getCommunicator()

setManagers

public void setManagers(ImportManager importManager,
                        ExportManager exportManager)
                 throws Exception
Sets import and export managers for the communicator

Parameters:
importManager - import manager
exportManager - export manager
Throws:
Exception

stop

public void stop()


Copyright © 2014 universAAL Consortium. All Rights Reserved.