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

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

called when we get CONNECT_B3_CONF from CAPI

Parameters:
message the received CONNECT_B3_CONF message
Exceptions:
CapiWrongState Thrown when the message is received unexpected (i.e. in a wrong ncci_state)
CapiMsgError Thrown if the info InfoElement indicates an error

Definition at line 660 of file connection.cpp.

References N0, N01, N2, ncci, and ncci_state.

{
      if (ncci_state!=N01)
            throw CapiWrongState("CONNECT_B3_CONF received in wrong state","Connection::connect_b3_conf()");

      if (CONNECT_B3_CONF_INFO(&message)) {
            ncci_state=N0;
            throw CapiMsgError(CONNECT_B3_CONF_INFO(&message),"CONNECT_B3_CONF received with Error (Info)","Connection::connect_b3_conf()");
      }

      ncci=CONNECT_B3_CONF_NCCI(&message);

      ncci_state=N2;
}


Generated by  Doxygen 1.6.0   Back to index