Logo Search packages:      
Sourcecode: capisuite version File versions  Download package

void Connection::disconnect_conf ( _cmsg &  message  )  throw (CapiError,CapiWrongState,CapiMsgError) [protected]

called when we get DISCONNECT_CONF from CAPI

message the received DISCONNECT_CONF message
CapiWrongState Thrown when the message is received unexpected (i.e. in a wrong plci_state)
CapiMsgError Thrown if the info InfoElement indicates an error
CapiError Thrown when an invalid message is received

Definition at line 773 of file connection.cpp.

References P5, plci, and plci_state.

      if (plci_state!=P5)
            throw CapiWrongState("DISCONNECT_CONF received in wrong state","Connection::disconnect_conf()");

      if (plci!=DISCONNECT_CONF_PLCI(&message))
            throw CapiError("DISCONNECT_CONF received with wrong PLCI","Connection::disconnect_conf()");

      if (DISCONNECT_CONF_INFO(&message))
            throw CapiMsgError(DISCONNECT_CONF_INFO(&message),"DISCONNECT_CONF received with Error (Info)","Connection::disconnect_conf()");

Generated by  Doxygen 1.6.0   Back to index