service
Interface IDistributedServices

All Known Implementing Classes:
DistributedServicesMiddleware

public interface IDistributedServices

Definition of the global service access point.


Method Summary
 void connect()
          Connect the process to the system using default value, that is, without communication delays or errors.
 void connect(ReliabilitySetting setting)
          Connect the process to the system using reliability settings.
 void connect(ReliabilitySetting setting, int localPort)
          Connect the process to the system using reliability settings and a specific TCP port.
 void disconnect()
          Disconnect the process from the system
 IBroadcast getBasicBroadcastService()
           
 ICommunication getCommunicationService()
           
 IIdentification getIdentificationService()
           
 IBroadcast getReliableBroadcastService()
           
 

Method Detail

connect

void connect()
             throws CommunicationException
Connect the process to the system using default value, that is, without communication delays or errors.

Throws:
CommunicationException - in case of problem during the connection

connect

void connect(ReliabilitySetting setting)
             throws CommunicationException
Connect the process to the system using reliability settings.

Parameters:
setting - reliability settings to use for the current process
Throws:
CommunicationException - in case of problem during the connection

connect

void connect(ReliabilitySetting setting,
             int localPort)
             throws CommunicationException
Connect the process to the system using reliability settings and a specific TCP port.

Parameters:
setting - reliability settings to use for the current process
localPort - TCP port to be used by the server socket of the communication layer
Throws:
CommunicationException - in case of problem during the connection

disconnect

void disconnect()
Disconnect the process from the system


getCommunicationService

ICommunication getCommunicationService()
Returns:
the communication service access point

getIdentificationService

IIdentification getIdentificationService()
Returns:
the identification service access point

getBasicBroadcastService

IBroadcast getBasicBroadcastService()
Returns:
the basic broadcast service access point

getReliableBroadcastService

IBroadcast getReliableBroadcastService()
Returns:
the reliable broadcast service access point