|
Foundation |
|
| |||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface EventBrokerServiceInterface
Interface to the EventBroker Service
for firing events.
Field Summary | |
---|---|
static int |
EVENT_TYPE_BROADCAST
Deprecated. A Broadcast type of event is forwarded to all possible handlers. |
static int |
EVENT_TYPE_REQUEST_RESPONSE
Deprecated. A Request/Response type of event is forwarded to a single handler and a response is always generated. |
Fields inherited from interface com.sas.services.RemoteServiceInterface |
---|
CLASS_IDENTIFIER, CLASS_IDENTIFIER_1_1, CLASS_IDENTIFIER_1_2, CLASS_IDENTIFIER_SERVICE_TYPE, CLASS_IDENTIFIER_SERVICE_TYPE_1_1, CLASS_IDENTIFIER_SERVICE_TYPE_1_2 |
Method Summary | |
---|---|
boolean |
canProcess(java.lang.String eventName,
int eventType)
Deprecated. Determine if the EventBrokerService can process a particular named event. |
java.lang.String |
getConfiguration()
Deprecated. Get transport configuration of this EventBrokerService. |
java.lang.String |
getDescription()
Deprecated. Get description of this EventBrokerService. |
java.lang.String |
getHost()
Deprecated. Get the host name where we are executing. |
void |
sendAsyncEvent(java.lang.String event,
EventResponseHandlerInterface responseHandler)
Deprecated. Send an asynchronous event to this EventBrokerService for processing. |
java.lang.String |
sendSyncEvent(java.lang.String event)
Deprecated. Send a synchronous event to this EventBrokerService for processing. |
Methods inherited from interface com.sas.services.events.broker.ListenerRegisterInterface |
---|
addEventListener, removeEventListener |
Methods inherited from interface com.sas.services.RemoteServiceInterface |
---|
configure, destroy, getCreationTime, getServiceConfiguration, getServiceConfiguration, getServiceProxy, getServiceState, isAccessibleToRemoteClients, isExported, reconfigure, setServiceState |
Methods inherited from interface com.sas.services.mgmt.ServiceNotificationBroadcasterInterface |
---|
addServiceObserver, notifyServiceObservers, removeAllServiceObservers, removeServiceObserver |
Field Detail |
---|
static final int EVENT_TYPE_BROADCAST
static final int EVENT_TYPE_REQUEST_RESPONSE
Method Detail |
---|
java.lang.String getHost() throws java.rmi.RemoteException
java.rmi.RemoteException
- if a network anomaly occurs.java.lang.String getDescription() throws java.rmi.RemoteException
java.rmi.RemoteException
- if a network anomaly occurs.java.lang.String getConfiguration() throws java.rmi.RemoteException
java.rmi.RemoteException
- if a network anomaly occurs.boolean canProcess(java.lang.String eventName, int eventType) throws java.rmi.RemoteException
Valid event types are as follows:
eventName
- Name of event.eventType
- Type of event.
java.rmi.RemoteException
- if a network anomaly occurs.java.lang.String sendSyncEvent(java.lang.String event) throws java.rmi.RemoteException
event
- Event to send (See Event Message Specification).
java.rmi.RemoteException
- if a network anomaly occurs.void sendAsyncEvent(java.lang.String event, EventResponseHandlerInterface responseHandler) throws java.rmi.RemoteException
event
- Event to send (See Event Message Specification).responseHandler
- Event response handler.
java.rmi.RemoteException
- if a network anomaly occurs.
|
Foundation |
|
| |||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |