public interface ISafeguardEventListener
| Modifier and Type | Method and Description |
|---|---|
void |
dispose()
Disposes of the connection.
|
boolean |
isStarted()
Indicates whether the SignalR connection has completed start up.
|
void |
registerEventHandler(String eventName,
ISafeguardEventHandler handler)
Register an event handler to be called each time the specified event occurs.
|
void |
start()
Start listening for Safeguard events in a background thread.
|
void |
stop()
Stop listening for Safeguard events in a background thread.
|
void registerEventHandler(String eventName, ISafeguardEventHandler handler) throws ObjectDisposedException
eventName - Name of the event.handler - Callback method.ObjectDisposedException - Object has already been disposedvoid start()
throws ObjectDisposedException,
SafeguardForJavaException,
SafeguardEventListenerDisconnectedException
ObjectDisposedException - Object has already been disposedSafeguardForJavaException - General Safeguard for Java exceptionSafeguardEventListenerDisconnectedException - Event listener has been disconnectedvoid stop() throws ObjectDisposedException, SafeguardForJavaException
ObjectDisposedException - Object has already been disposedSafeguardForJavaException - General Safeguard for Java exceptionboolean isStarted()
void dispose()
Copyright © 2019. All rights reserved.