#include <h450pdu.h>
Public Member Functions | |
H450xDispatcher (H323Connection &connection) | |
void | AddOpCode (unsigned opcode, H450xHandler *handler) |
virtual void | AttachToSetup (H323SignalPDU &pdu) |
virtual void | AttachToAlerting (H323SignalPDU &pdu) |
virtual void | AttachToConnect (H323SignalPDU &pdu) |
virtual void | AttachToReleaseComplete (H323SignalPDU &pdu) |
virtual BOOL | HandlePDU (const H323SignalPDU &pdu) |
virtual BOOL | OnReceivedInvoke (X880_Invoke &invoke, H4501_InterpretationApdu &interpretation) |
virtual BOOL | OnReceivedReturnResult (X880_ReturnResult &returnResult) |
virtual BOOL | OnReceivedReturnError (X880_ReturnError &returnError) |
virtual BOOL | OnReceivedReject (X880_Reject &reject) |
void | SendReturnError (int invokeId, int returnError) |
void | SendGeneralReject (int invokeId, int problem) |
void | SendInvokeReject (int invokeId, int problem) |
void | SendReturnResultReject (int invokeId, int problem) |
void | SendReturnErrorReject (int invokeId, int problem) |
unsigned | GetNextInvokeId () const |
Protected Attributes | |
H323Connection & | connection |
H450xHandlerList | handlers |
H450xHandlerDict | opcodeHandler |
unsigned | nextInvokeId |
Next available invoke ID for H450 operations. |
|
|
|
Add a handler for the op code. |
|
|
|
|
|
|
|
|
|
Get the next available invoke Id for H450 operations |
|
Handle the H.450.x Supplementary Service PDU if present in the H225_H323_UU_PDU |
|
Handle an incoming X880 Invoke PDU. The default behaviour is to attempt to decode the invoke operation and call the corresponding OnReceived<Operation> method on the EndPoint. |
|
Handle an incoming X880 Reject PDU. The default behaviour is to attempt to match the reject to a previous invoke, return result or return error operation and call OnReceived<Operation>Reject method on the EndPoint. |
|
Handle an incoming X880 Return Error PDU. The default behaviour is to attempt to match the return error to a previous invoke operation and call the corresponding OnReceived<Operation>Error method on the EndPoint. |
|
Handle an incoming X880 Return Result PDU. The default behaviour is to attempt to match the return result to a previous invoke operation and call the corresponding OnReceived<Operation>Success method on the EndPoint. |
|
|
|
|
|
Send a return error in response to an invoke operation. |
|
|
|
|
|
|
|
|
|
Next available invoke ID for H450 operations.
|
|
|