#include <disconnectmodule.h>
Inheritance diagram for DisconnectModule:
Public Member Functions | |
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. | |
void | callDisconnectedPhysical () |
Finish current module if physical connection is cleared. | |
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.
|
Constructor. Create object.
|
|
Do nothing as we're waiting for physical disconnection.
Reimplemented from CallModule.
|
|
Finish current module if physical connection is cleared. This is overwritten here because we don't trigger an exception at call clearing. 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
|