#include <disconnectmodule.h>
Inheritance diagram for DisconnectModule:
Public Methods | |
DisconnectModule (Connection *conn, int reject_reason=1, bool quick_disconnect=false) | |
Constructor. Create object. | |
void | mainLoop () throw (CapiMsgError,CapiExternalError) |
Initiate call clearing and wait for successful physical disconnection. | |
void | callDisconnectedLogical () |
Do nothing as we're waiting for physical disconnection. | |
Private Attributes | |
int | reject_reason |
saving reject reason given in constructor | |
bool | quick_disconnect |
disconnect physical immediately w/o disconnection logical before |
This module initiates disconnection or rejection of connection and waits until the physical connection is cleared completely. It's no problem to call it when the connection is already (partly or completely) cleared.
There exists nothing like a wrong connection state to disconnect, therefore CapiWrongState is never thrown.
|
Constructor. Create object.
|
|
Do nothing as we're waiting for physical disconnection.
Reimplemented from CallModule. |
|
Initiate call clearing and wait for successful physical disconnection.
Reimplemented from CallModule. |
|
disconnect physical immediately w/o disconnection logical before
|
|
saving reject reason given in constructor
|