Proton DotNet
Loading...
Searching...
No Matches
Public Member Functions | Properties | List of all members
Apache.Qpid.Proton.Client.DisconnectionEvent Class Reference

An event object that accompanies events fired to handlers configured in the Connection options which are signaled during specific Connection event points. More...

Inheritance diagram for Apache.Qpid.Proton.Client.DisconnectionEvent:

Public Member Functions

 DisconnectionEvent (string host, int port, Exception cause)
 Creates the immutable disconnection event object.
 

Properties

string Host [get]
 The host that the connection was established on.
 
int Port [get]
 The port on the remote host where the connection was established.
 
Exception Cause [get]
 The Exception that carries information on the cause of the connection loss. This value could be null if the connection dropped due to a normal close operation initiated locally.
 

Detailed Description

An event object that accompanies events fired to handlers configured in the Connection options which are signaled during specific Connection event points.

Constructor & Destructor Documentation

◆ DisconnectionEvent()

Apache.Qpid.Proton.Client.DisconnectionEvent.DisconnectionEvent ( string  host,
int  port,
Exception  cause 
)
inline

Creates the immutable disconnection event object.

Parameters
hostThe host where the connection was before it failed
portThe port on the host where the connection occurred
causeThe exception that lead to the disconnection

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