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.
|
public void close()
close
in interface AutoCloseable
public int step()
public AeronCluster poll()
AeronCluster
when complete.Copyright © 2014-2022 Real Logic Limited. All Rights Reserved.