H4504Handler Class Reference

Inheritance diagram for H4504Handler:

H450xHandler List of all members.

Public Types

enum  State {
  e_ch_Idle, e_ch_NE_Held, e_ch_RE_Requested, e_ch_RE_Held,
  e_ch_RE_Retrieve_Req
}

Public Member Functions

 H4504Handler (H323Connection &connection, H450xDispatcher &dispatcher)
virtual BOOL OnReceivedInvoke (int opcode, int invokeId, int linkedId, PASN_OctetString *argument)
virtual void OnReceivedLocalCallHold (int linkedId)
virtual void OnReceivedLocalCallRetrieve (int linkedId)
virtual void OnReceivedRemoteCallHold (int linkedId)
virtual void OnReceivedRemoteCallRetrieve (int linkedId)
void HoldCall (BOOL localHold)
void RetrieveCall ()
State GetState () const

Protected Attributes

State holdState

Detailed Description

Definition at line 601 of file h450pdu.h.


Member Enumeration Documentation

enum H4504Handler::State

Sub-state for call hold.

Enumerator:
e_ch_Idle 
e_ch_NE_Held 
e_ch_RE_Requested 
e_ch_RE_Held 
e_ch_RE_Retrieve_Req 

Definition at line 657 of file h450pdu.h.


Member Function Documentation

BOOL H4504Handler::OnReceivedInvoke ( int  opcode,
int  invokeId,
int  linkedId,
PASN_OctetString *  argument 
) [virtual]

Parameters:
invokeId  InvokeId of operation (used in response)
linkedId  InvokeId of associated operation (if any)
argument  Parameters for the initiate operation

Implements H450xHandler.

Definition at line 1632 of file h450pdu.cxx.

References H450xHandler::currentInvokeId, H4504_CallHoldOperation::e_holdNotific, H4504_CallHoldOperation::e_remoteHold, H4504_CallHoldOperation::e_remoteRetrieve, H4504_CallHoldOperation::e_retrieveNotific, OnReceivedLocalCallHold(), OnReceivedLocalCallRetrieve(), OnReceivedRemoteCallHold(), and OnReceivedRemoteCallRetrieve().

void H4504Handler::OnReceivedLocalCallHold ( int  linkedId  )  [virtual]

Handle an incoming Near-End Call Hold operation

Parameters:
linkedId  InvokeId of associated operation (if any)

Definition at line 1665 of file h450pdu.cxx.

Referenced by OnReceivedInvoke().

void H4504Handler::OnReceivedLocalCallRetrieve ( int  linkedId  )  [virtual]

Handle an incoming Near-End Call Retrieve operation

Parameters:
linkedId  InvokeId of associated operation (if any)

Definition at line 1672 of file h450pdu.cxx.

Referenced by OnReceivedInvoke().

void H4504Handler::OnReceivedRemoteCallHold ( int  linkedId  )  [virtual]

Handle an incoming Remote Call Hold operation TBD: Remote hold operations not yet implemented -- dcassel 4/01

Parameters:
linkedId  InvokeId of associated operation (if any)

Definition at line 1679 of file h450pdu.cxx.

Referenced by OnReceivedInvoke().

void H4504Handler::OnReceivedRemoteCallRetrieve ( int  linkedId  )  [virtual]

Handle an incoming Remote Call Retrieve operation TBD: Remote hold operations not yet implemented -- dcassel 4/01

Parameters:
linkedId  InvokeId of associated operation (if any)

Definition at line 1685 of file h450pdu.cxx.

Referenced by OnReceivedInvoke().

void H4504Handler::HoldCall ( BOOL  localHold  ) 

Place the call on hold, suspending all media channels (H.450.4) NOTE: Only Local Hold is implemented so far.

Parameters:
localHold  true for Local Hold, false for Remote Hold

Definition at line 1691 of file h450pdu.cxx.

References H450ServiceAPDU::BuildInvoke(), H450xHandler::connection, H450xHandler::currentInvokeId, H450xHandler::dispatcher, e_ch_NE_Held, H4504_CallHoldOperation::e_holdNotific, H450xDispatcher::GetNextInvokeId(), holdState, and H450ServiceAPDU::WriteFacilityPDU().

void H4504Handler::RetrieveCall (  ) 

Retrieve the call from hold, activating all media channels (H.450.4) NOTE: Only Local Hold is implemented so far.

Definition at line 1713 of file h450pdu.cxx.

References H450ServiceAPDU::BuildInvoke(), H450xHandler::connection, H450xHandler::currentInvokeId, H450xHandler::dispatcher, e_ch_Idle, H4504_CallHoldOperation::e_retrieveNotific, H450xDispatcher::GetNextInvokeId(), holdState, and H450ServiceAPDU::WriteFacilityPDU().


The documentation for this class was generated from the following files:
Generated on Thu Oct 25 13:45:42 2007 for h323plus by  doxygen 1.5.2