org.inria.myriads.snoozecommon.communication.rest
Class CommunicatorFactory

java.lang.Object
  extended by org.inria.myriads.snoozecommon.communication.rest.CommunicatorFactory

public final class CommunicatorFactory
extends Object

Component communicator factory.

Author:
Eugen Feller

Method Summary
static BootstrapAPI newBootstrapCommunicator(NetworkAddress bootstrapAddress)
          Creates a new bootstrap communicator instance.
static GroupManagerAPI newGroupManagerCommunicator(NetworkAddress groupManagerAddress)
          Returns the group manager communicator object.
static LocalControllerAPI newLocalControllerCommunicator(NetworkAddress localControllerAddress)
          Returns the local controller communicator object.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

newBootstrapCommunicator

public static BootstrapAPI newBootstrapCommunicator(NetworkAddress bootstrapAddress)
Creates a new bootstrap communicator instance.

Parameters:
bootstrapAddress - The bootstrap address
Returns:
The bootstrap communicator instance

newGroupManagerCommunicator

public static GroupManagerAPI newGroupManagerCommunicator(NetworkAddress groupManagerAddress)
Returns the group manager communicator object.

Parameters:
groupManagerAddress - The group manager address
Returns:
The group manager communicator

newLocalControllerCommunicator

public static LocalControllerAPI newLocalControllerCommunicator(NetworkAddress localControllerAddress)
Returns the local controller communicator object.

Parameters:
localControllerAddress - The local controller address
Returns:
The local controller communicator


Copyright © 2012. All Rights Reserved.