Ice 3.7 Slice API Reference
Loading...
Searching...
No Matches
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 connection when the connection is closed.

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 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: