Package io.aeron.archive.client
Class AeronArchive.AsyncConnect
java.lang.Object
io.aeron.archive.client.AeronArchive.AsyncConnect
- All Implemented Interfaces:
AutoCloseable
- Enclosing class:
- AeronArchive
Allows for the async establishment of an archive session.
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic enumRepresents connection state. -
Method Summary
-
Method Details
-
close
public void close()Close any allocated resources.- Specified by:
closein interfaceAutoCloseable
-
context
Get theAeronArchive.Contextused for this client.- Returns:
- the
AeronArchive.Contextused for this client.
-
step
public int step()Get the index of the current step.- Returns:
- the index of the current step.
-
state
Get the current connection state.- Returns:
- current state.
-
poll
Poll for a complete connection.- Returns:
- a new
AeronArchiveif successfully connected otherwise null.
-