OPAL
Version 3.18.8
|
#include <h323neg.h>
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 |
![]() | |
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) | |
![]() | |
PDECLARE_NOTIFIER (PTimer, H245Negotiator, HandleTimeoutUnlocked) | |
Protected Attributes | |
States | m_state |
DWORD | m_determinationNumber |
unsigned | m_retryCount |
MasterSlaveStatus | m_status |
![]() | |
H323EndPoint & | endpoint |
H323Connection & | connection |
PTimer | replyTimer |
Determine the master and slave on a H245 connection as per H245 section 8.2
H245NegMasterSlaveDetermination::H245NegMasterSlaveDetermination | ( | H323EndPoint & | endpoint, |
H323Connection & | connection | ||
) |
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 | ) |
|
virtual |
Reimplemented from H245Negotiator.
|
inline |
References m_status.
|
inline |
References m_status.
|
protected |
|
protected |
|
protected |
PBoolean H245NegMasterSlaveDetermination::Start | ( | PBoolean | renegotiate | ) |
void H245NegMasterSlaveDetermination::Stop | ( | ) |
|
protected |
|
protected |
|
protected |
|
protected |
Referenced by IsDetermined(), and IsMaster().