Ice 3.7 Slice API Reference
Operations | List of all members
Ice::CloseCallback Local Interface Reference

An application can implement this interface to receive notifications when a connection closes. More...

defined in <Ice/Connection.ice>

["delegate"]
local interface CloseCallback { ... }

Operations

void closed (Connection con)
 This method is called by the the connection when the connection is closed. More...
 

Detailed Description

An application can implement this interface to receive notifications when a connection closes.

See also
Connection::setCloseCallback

Operation Documentation

◆ closed()

["swift:noexcept"]
void closed ( Connection  con)

This method is called by the the connection when the connection is closed.

If the callback needs more information about the closure, it can call Connection#throwException.

Parameters
conThe connection that closed.

The documentation for this interface was generated from the following file: