com.e_c_group.bwptk.services
Class Communicator

java.lang.Object
  extended by com.e_c_group.bwptk.services.Communicator

public class Communicator
extends java.lang.Object


Constructor Summary
Communicator()
           
 
Method Summary
static Response serviceProviderBroadWorksCommunicatorGetRequest(BroadWorksServer bws, boolean readFromCache, java.lang.String serviceProviderId)
          Request to get Configuration Server for a specified service provider.
static Response serviceProviderBroadWorksCommunicatorModifyRequest(BroadWorksServer bws, boolean readFromCache, java.lang.String serviceProviderId, java.lang.String configurationServerURL)
          Request to get Configuration Server for a specified service provider.
static Response userBroadWorksCommunicatorGetRequest(BroadWorksServer bws, boolean readFromCache, java.lang.String userId)
          Request to get Configuration Server for a specified service provider.
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Communicator

public Communicator()
Method Detail

serviceProviderBroadWorksCommunicatorGetRequest

public static Response serviceProviderBroadWorksCommunicatorGetRequest(BroadWorksServer bws,
                                                                       boolean readFromCache,
                                                                       java.lang.String serviceProviderId)
                                                                throws BwptkException
Request to get Configuration Server for a specified service provider. The response is either a ServiceProviderBroadWorksCommunicatorGetResponse or an ErrorResponse.

Parameters:
bws - The BroadWorks Server
readFromCache - Whether to pull the request from bwptk cache
serviceProviderId -
Throws:
BwptkException

serviceProviderBroadWorksCommunicatorModifyRequest

public static Response serviceProviderBroadWorksCommunicatorModifyRequest(BroadWorksServer bws,
                                                                          boolean readFromCache,
                                                                          java.lang.String serviceProviderId,
                                                                          java.lang.String configurationServerURL)
                                                                   throws BwptkException
Request to get Configuration Server for a specified service provider. The response is either a ServiceProviderBroadWorksCommunicatorGetResponse or an ErrorResponse.

Parameters:
bws - The BroadWorks Server
readFromCache - Whether to pull the request from bwptk cache
serviceProviderId -
configurationServerURL -
Throws:
BwptkException

userBroadWorksCommunicatorGetRequest

public static Response userBroadWorksCommunicatorGetRequest(BroadWorksServer bws,
                                                            boolean readFromCache,
                                                            java.lang.String userId)
                                                     throws BwptkException
Request to get Configuration Server for a specified service provider. The response is either a ServiceProviderBroadWorksCommunicatorGetResponse or an ErrorResponse.

Parameters:
bws - The BroadWorks Server
readFromCache - Whether to pull the request from bwptk cache
userId -
Throws:
BwptkException