- Enclosing class:
- com.zeroc.Ice.Reference
public static interface Reference.GetConnectionCallback
Callback interface for asynchronous connection establishment.
-
Method Summary
Modifier and TypeMethodDescriptionvoidsetConnection(com.zeroc.Ice.ConnectionI connection, boolean compress) Sets the established connection.voidSets an exception that occurred during connection establishment.
-
Method Details
-
setConnection
void setConnection(com.zeroc.Ice.ConnectionI connection, boolean compress) Sets the established connection.- Parameters:
connection- the established connectioncompress- whether compression is enabled for the connection
-
setException
Sets an exception that occurred during connection establishment.- Parameters:
ex- the exception that occurred
-