OPAL  Version 3.14.3
H245NegMasterSlaveDetermination Class Reference

#include <h323neg.h>

Inheritance diagram for H245NegMasterSlaveDetermination:
Collaboration diagram for H245NegMasterSlaveDetermination:

Public Member Functions

 H245NegMasterSlaveDetermination (H323EndPoint &endpoint, H323Connection &connection)
 
PBoolean Start (PBoolean renegotiate)
 
void Stop ()
 
PBoolean HandleIncoming (const H245_MasterSlaveDetermination &pdu)
 
PBoolean HandleAck (const H245_MasterSlaveDeterminationAck &pdu)
 
PBoolean HandleReject (const H245_MasterSlaveDeterminationReject &pdu)
 
PBoolean HandleRelease (const H245_MasterSlaveDeterminationRelease &pdu)
 
void HandleTimeout ()
 
PBoolean IsMaster () const
 
PBoolean IsDetermined () const
 
- Public Member Functions inherited from H245Negotiator
 H245Negotiator (H323EndPoint &endpoint, H323Connection &connection)
 

Protected Member Functions

PBoolean Restart ()
 
 P_DECLARE_TRACED_ENUM (States, e_Idle, e_Outgoing, e_Incoming)
 
 P_DECLARE_TRACED_ENUM (MasterSlaveStatus, e_Indeterminate, e_DeterminedMaster, e_DeterminedSlave)
 
- Protected Member Functions inherited from H245Negotiator
 PDECLARE_NOTIFIER (PTimer, H245Negotiator, HandleTimeoutUnlocked)
 

Protected Attributes

States m_state
 
DWORD m_determinationNumber
 
unsigned m_retryCount
 
MasterSlaveStatus m_status
 
- Protected Attributes inherited from H245Negotiator
H323EndPointendpoint
 
H323Connectionconnection
 
PTimer replyTimer
 

Detailed Description

Determine the master and slave on a H245 connection as per H245 section 8.2

Constructor & Destructor Documentation

H245NegMasterSlaveDetermination::H245NegMasterSlaveDetermination ( H323EndPoint endpoint,
H323Connection connection 
)

Member Function Documentation

PBoolean H245NegMasterSlaveDetermination::HandleAck ( const H245_MasterSlaveDeterminationAck &  pdu)
PBoolean H245NegMasterSlaveDetermination::HandleIncoming ( const H245_MasterSlaveDetermination &  pdu)
PBoolean H245NegMasterSlaveDetermination::HandleReject ( const H245_MasterSlaveDeterminationReject &  pdu)
PBoolean H245NegMasterSlaveDetermination::HandleRelease ( const H245_MasterSlaveDeterminationRelease &  pdu)
void H245NegMasterSlaveDetermination::HandleTimeout ( )
virtual

Reimplemented from H245Negotiator.

PBoolean H245NegMasterSlaveDetermination::IsDetermined ( ) const
inline

References m_status.

PBoolean H245NegMasterSlaveDetermination::IsMaster ( ) const
inline

References m_status.

H245NegMasterSlaveDetermination::P_DECLARE_TRACED_ENUM ( States  ,
e_Idle  ,
e_Outgoing  ,
e_Incoming   
)
protected
H245NegMasterSlaveDetermination::P_DECLARE_TRACED_ENUM ( MasterSlaveStatus  ,
e_Indeterminate  ,
e_DeterminedMaster  ,
e_DeterminedSlave   
)
protected
PBoolean H245NegMasterSlaveDetermination::Restart ( )
protected
PBoolean H245NegMasterSlaveDetermination::Start ( PBoolean  renegotiate)
void H245NegMasterSlaveDetermination::Stop ( )

Field Documentation

DWORD H245NegMasterSlaveDetermination::m_determinationNumber
protected
unsigned H245NegMasterSlaveDetermination::m_retryCount
protected
States H245NegMasterSlaveDetermination::m_state
protected
MasterSlaveStatus H245NegMasterSlaveDetermination::m_status
protected

Referenced by IsDetermined(), and IsMaster().


The documentation for this class was generated from the following file: