This interface is used to deal with environment related events.
Type Params | Return Type | Name and description |
---|---|---|
|
void |
addServiceListener(ServiceListener listener) Adds the ServiceListener that will listen to Service related events in this environment. |
|
void |
fireEndpointDataChanged(Endpoint endpoint) Informs the ServiceListener listeners that some data of endpoint
is changed. |
|
void |
removeServiceListener(ServiceListener listener) Removes the ServiceListener that listens to Service related events in this environment. |
Adds the ServiceListener that will listen to Service related events in this environment.
listener
- the listener that will be added to the list of listeners Informs the ServiceListener listeners that some data of endpoint
is changed.
endpoint
- the endpoint some data is changed inRemoves the ServiceListener that listens to Service related events in this environment.
listener
- the listener that will be removed from the list of listeners