Interface ConnectionContext
public interface ConnectionContext
The connection context that handles connection interactions with the outer world, e.g. handling an event.
The connection context allows a connection to signal inner changes to its context (the client state machine).
-
Method Summary
Modifier and TypeMethodDescriptionvoidSignals the connection is closed.voidhandleEvent(Object event) Signals a generic database event.voidhandleException(Throwable failure) Signals a failure.
-
Method Details
-
handleEvent
-
handleClosed
void handleClosed()Signals the connection is closed. -
handleException
-