Manager Interface Reference
Inheritance diagram for Manager:

Public Member Functions

String getIp ()
 
String getName ()
 
Boolean isAlive ()
 
void subscribe (ManagerObserver observer) throws CannotSubscribeException
 
void unSubscribe (ManagerObserver observer) throws ObserverNotSubscribedException
 

Member Function Documentation

String getIp ( )

Gets service ip

Returns
ip of remote service
String getName ( )

Gets service name

Returns
name of service
Boolean isAlive ( )

Gets service availability

Returns
true is service is available, false otherwise
void subscribe ( ManagerObserver  observer) throws CannotSubscribeException

Subscribes to the subject

Parameters
observersubject observer
Exceptions
CannotSubscribeException
void unSubscribe ( ManagerObserver  observer) throws ObserverNotSubscribedException

Unsubscribes from the subject

Parameters
observersubject observer
Exceptions
CannotSubscribeException