Package com.sas.services.mgmt
Interface ServiceNotificationBroadcasterInterface
- All Superinterfaces:
Remote
- All Known Subinterfaces:
AuthenticationServiceInterface,DiscoveryServiceInterface,EventBrokerDiscoveryServiceInterface,EventBrokerServiceInterface,InformationServiceInterface,LocalDiscoveryServiceInterface,RemoteDiscoveryServiceInterface,RemoteServiceInterface,ServiceInterface,SessionServiceInterface,StoredProcessServiceInterface,UserServiceInterface
- All Known Implementing Classes:
AbstractDiscoveryService,AbstractRemoteService,AbstractService,ActivatableDiscoveryService,AuthenticationService,DiscoveryService,EventBrokerDiscoveryService,EventBrokerService,InformationService,RemoteDiscoveryServiceProxy,ServiceNotificationBroadcaster,ServiceProxy,SessionService,SessionServiceProxy,StoredProcessServiceProxy,UserService
public interface ServiceNotificationBroadcasterInterface
extends Remote
Interface used to add/remove platform service observers.
- Since:
- 1.0
-
Method Summary
Modifier and TypeMethodDescriptionvoidaddServiceObserver(ServiceRemoteObserverInterface serviceObserver) Adds a platform service observer.voidnotifyServiceObservers(ServiceEvent serviceEvent) Notify all registered service observers of the specified service event.voidRemoves all service observers.voidremoveServiceObserver(ServiceRemoteObserverInterface serviceObserver) Removes a platform service observer.
-
Method Details
-
addServiceObserver
Adds a platform service observer.- Parameters:
serviceObserver- An observer interested in receiving service notifications.- Throws:
RemoteException- if a network anomaly is encountered.
-
removeServiceObserver
Removes a platform service observer.- Parameters:
serviceObserver- An observer no longer interested in receiving service notifications.- Throws:
RemoteException- if a network anomaly is encountered.
-
removeAllServiceObservers
void removeAllServiceObservers() throws RemoteExceptionRemoves all service observers.- Throws:
RemoteException- if a network anomaly is encountered.
-
notifyServiceObservers
Notify all registered service observers of the specified service event.- Parameters:
serviceEvent- Service event to be broadcast to all registered service observers.- Throws:
RemoteException- if a network anomaly is encountered.
-