Package | Description |
---|---|
eneter.messaging.endpoints.rpc |
Remote Procedure Calls (RPC).
|
eneter.messaging.endpoints.typedmessages |
Sending and receiving typed messages.
|
eneter.net.system |
Helpers used by Eneter and which need to be API.
|
Modifier and Type | Method and Description |
---|---|
void |
IRpcClient.subscribeRemoteEvent(java.lang.String eventName,
EventHandler<?> eventHandler)
Subscribes to an event from the service.
|
void |
IRpcClient.unsubscribeRemoteEvent(java.lang.String eventName,
EventHandler<?> eventHandler)
Unsubscribes from the event in the service.
|
Modifier and Type | Method and Description |
---|---|
<T> void |
IMultiTypedMessageReceiver.registerRequestMessageReceiver(EventHandler<TypedRequestReceivedEventArgs<T>> handler,
java.lang.Class<T> clazz)
Registers message handler for specified message type.
|
<T> void |
IMultiTypedMessageSender.registerResponseMessageReceiver(EventHandler<TypedResponseReceivedEventArgs<T>> handler,
java.lang.Class<T> clazz)
Registers response message handler for specified message type.
|
Modifier and Type | Method and Description |
---|---|
void |
Event.subscribe(EventHandler<T> eventHandler)
Subscribes client to for the event.
|
void |
Event.unsubscribe(EventHandler<T> eventHandler)
Unsubscribes client from the event.
|