OpenH323 1.18.0
Public Member Functions | Protected Types | Protected Member Functions | Protected Attributes
H245NegMasterSlaveDetermination Class Reference

#include <h323neg.h>

Inheritance diagram for H245NegMasterSlaveDetermination:
H245Negotiator

List of all members.

Public Member Functions

 H245NegMasterSlaveDetermination (H323EndPoint &endpoint, H323Connection &connection)
BOOL Start (BOOL renegotiate)
void Stop ()
BOOL HandleIncoming (const H245_MasterSlaveDetermination &pdu)
BOOL HandleAck (const H245_MasterSlaveDeterminationAck &pdu)
BOOL HandleReject (const H245_MasterSlaveDeterminationReject &pdu)
BOOL HandleRelease (const H245_MasterSlaveDeterminationRelease &pdu)
void HandleTimeout (PTimer &, INT)
BOOL IsMaster () const
BOOL IsDetermined () const

Protected Types

enum  States { e_Idle, e_Outgoing, e_Incoming, e_NumStates }
enum  MasterSlaveStatus { e_Indeterminate, e_DeterminedMaster, e_DeterminedSlave, e_NumStatuses }

Protected Member Functions

BOOL Restart ()

Protected Attributes

enum
H245NegMasterSlaveDetermination::States 
state
DWORD determinationNumber
unsigned retryCount
enum
H245NegMasterSlaveDetermination::MasterSlaveStatus 
status

Detailed Description

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


Member Enumeration Documentation

Enumerator:
e_Indeterminate 
e_DeterminedMaster 
e_DeterminedSlave 
e_NumStatuses 
Enumerator:
e_Idle 
e_Outgoing 
e_Incoming 
e_NumStates 

Constructor & Destructor Documentation

H245NegMasterSlaveDetermination::H245NegMasterSlaveDetermination ( H323EndPoint endpoint,
H323Connection connection 
)

Member Function Documentation

BOOL H245NegMasterSlaveDetermination::HandleAck ( const H245_MasterSlaveDeterminationAck pdu)
BOOL H245NegMasterSlaveDetermination::HandleIncoming ( const H245_MasterSlaveDetermination pdu)
BOOL H245NegMasterSlaveDetermination::HandleReject ( const H245_MasterSlaveDeterminationReject pdu)
BOOL H245NegMasterSlaveDetermination::HandleRelease ( const H245_MasterSlaveDeterminationRelease pdu)
void H245NegMasterSlaveDetermination::HandleTimeout ( PTimer &  ,
INT   
)
BOOL H245NegMasterSlaveDetermination::IsDetermined ( ) const [inline]

References e_Idle, e_Indeterminate, state, and status.

BOOL H245NegMasterSlaveDetermination::IsMaster ( ) const [inline]

References e_DeterminedMaster, and status.

BOOL H245NegMasterSlaveDetermination::Restart ( ) [protected]
BOOL H245NegMasterSlaveDetermination::Start ( BOOL  renegotiate)
void H245NegMasterSlaveDetermination::Stop ( )

Member Data Documentation

Referenced by IsDetermined().

Referenced by IsDetermined(), and IsMaster().


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