Class ClientConnectionHandler
java.lang.Object
software.amazon.awssdk.crt.eventstream.ClientConnectionHandler
- All Implemented Interfaces:
AutoCloseable
Handler for EventStream ClientConnections. It's marked AutoClosable.
By default onConnectionClosed, calls the close() function on this object.
-
Constructor Summary
Constructors -
Method Summary
-
Constructor Details
-
ClientConnectionHandler
public ClientConnectionHandler()
-
-
Method Details
-
getConnectionClosedFuture
- Returns:
- a future for syncing on Connection closed.
-
close
public void close()- Specified by:
closein interfaceAutoCloseable
-