public interface AxonServerConnection
| Modifier and Type | Method and Description |
|---|---|
AdminChannel |
adminChannel()
Returns the channel on which administration messages can be sent and received
|
CommandChannel |
commandChannel()
Returns the channel on which Command related interactions can be performed with AxonServer.
|
ControlChannel |
controlChannel()
Returns the channel on which platform control messages can be sent and received.
|
void |
disconnect()
Disconnects all communication channels and terminates any active network connections to AxonServer.
|
EventChannel |
eventChannel()
Returns the channel on which Event related interactions can be performed with AxonServer.
|
EventTransformationChannel |
eventTransformationChannel()
Returns the channel on which Event transformations can be performed with AxonServer.
|
boolean |
isConnected()
Indicates whether the underlying connection is active.
|
boolean |
isConnectionFailed()
Indicates whether the underlying connection failed.
|
boolean |
isReady()
Indicates whether the connection is ready to process and receive instructions.
|
QueryChannel |
queryChannel()
Returns the channel on which Query related interactions can be performed with AxonServer.
|
boolean isConnectionFailed()
true when the underlying connection failed, otherwise falseboolean isReady()
isConnected() and if all previously active communication
channels (e.g. command, query, instruction) have been activated.true if the underlying connection is ready, otherwise falseboolean isConnected()
true if a network connection to AxonServer is available, otherwise falsevoid disconnect()
disconnect().ControlChannel controlChannel()
CommandChannel commandChannel()
EventChannel eventChannel()
QueryChannel queryChannel()
EventTransformationChannel eventTransformationChannel()
AdminChannel adminChannel()
Copyright © 2020–2023 AxonIQ BV. All rights reserved.