Package io.aeron.archive.client
Enum Class AeronArchive.AsyncConnect.State
java.lang.Object
java.lang.Enum<AeronArchive.AsyncConnect.State>
io.aeron.archive.client.AeronArchive.AsyncConnect.State
- All Implemented Interfaces:
Serializable,Comparable<AeronArchive.AsyncConnect.State>,Constable
- Enclosing class:
- AeronArchive.AsyncConnect
Represents connection state.
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>> -
Enum Constant Summary
Enum ConstantsEnum ConstantDescriptionAdd publication for control request channel.Await response for thearchive-idrequest.Await challenge response.Await connect response.Await publication being added.Initial state of awaiting an asynchronous subscription for the control response channel.Await response subscription connected.Archive connection established.Sendarchive-idrequest.Sending a challenge response.Sendingconnectrequest to the Archive. -
Method Summary
Modifier and TypeMethodDescriptionReturns the enum constant of this class with the specified name.static AeronArchive.AsyncConnect.State[]values()Returns an array containing the constants of this enum class, in the order they are declared.
-
Enum Constant Details
-
AWAIT_SUBSCRIPTION
Initial state of awaiting an asynchronous subscription for the control response channel. -
ADD_PUBLICATION
Add publication for control request channel. -
AWAIT_PUBLICATION_CONNECTED
Await publication being added. -
SEND_CONNECT_REQUEST
Sendingconnectrequest to the Archive. -
AWAIT_SUBSCRIPTION_CONNECTED
Await response subscription connected. -
AWAIT_CONNECT_RESPONSE
Await connect response. -
SEND_ARCHIVE_ID_REQUEST
Sendarchive-idrequest. -
AWAIT_ARCHIVE_ID_RESPONSE
Await response for thearchive-idrequest. -
SEND_CHALLENGE_RESPONSE
Sending a challenge response. -
AWAIT_CHALLENGE_RESPONSE
Await challenge response. -
DONE
Archive connection established.
-
-
Method Details
-
values
Returns an array containing the constants of this enum class, in the order they are declared.- Returns:
- an array containing the constants of this enum class, in the order they are declared
-
valueOf
Returns the enum constant of this class with the specified name. The string must match exactly an identifier used to declare an enum constant in this class. (Extraneous whitespace characters are not permitted.)- Parameters:
name- the name of the enum constant to be returned.- Returns:
- the enum constant with the specified name
- Throws:
IllegalArgumentException- if this enum class has no constant with the specified nameNullPointerException- if the argument is null
-