public static final class AeronCluster.AsyncConnect extends Object implements AutoCloseable
poll() should be called repeatedly until
it returns a non-null value with the new AeronCluster client. On error close() should be called
to clean up allocated resources.| Modifier and Type | Method and Description |
|---|---|
void |
close()
Close allocated resources.
|
AeronCluster |
poll()
Poll to advance steps in the connection until complete or error.
|
int |
step()
Indicates which step in the connect process has been reached.
|
static String |
stepName(int step)
Get the String representation of a step in the connect process.
|
public void close()
close in interface AutoCloseablepublic int step()
public static String stepName(int step)
step - to get the string representation for.step()public AeronCluster poll()
AeronCluster when complete.Copyright © 2014-2023 Real Logic Limited. All Rights Reserved.