Package com.zeroc.Ice

Interface Reference.GetConnectionCallback

Enclosing class:
com.zeroc.Ice.Reference

public static interface Reference.GetConnectionCallback
Callback interface for asynchronous connection establishment.
  • Method Summary

    Modifier and Type
    Method
    Description
    void
    setConnection(com.zeroc.Ice.ConnectionI connection, boolean compress)
    Sets the established connection.
    void
    Sets 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 connection
      compress - whether compression is enabled for the connection
    • setException

      void setException(LocalException ex)
      Sets an exception that occurred during connection establishment.
      Parameters:
      ex - the exception that occurred