This class embodies the H2250 RAS protocol to gatekeepers
Inheritance:
Public Methods
| Construction
|
| Protocol operations
|
| Member variable access
|
Public Methods
-
Overrides from PObject
-
Overrides from H323Transactor
-
Protocol callbacks
Documentation
This class embodies the H2250 RAS protocol to gatekeepers
Construction
H323Gatekeeper( H323EndPoint & endpoint, H323Transport* transport )
- Create a new gatekeeper.
- Parameters:
- endpoint - Endpoint gatekeeper is associated with.
transport - Transport over which gatekeepers communicates.
~H323Gatekeeper()
- Destroy gatekeeper
Overrides from H225_RAS
Protocol operations
BOOL DiscoverAny()
- Discover a gatekeeper on the local network
BOOL DiscoverByName( const PString & identifier )
- Discover a gatekeeper on the local network.
If the identifier string is empty then the first gatekeeper to respond
to a broadcast is used.
- Parameters:
- identifier - Gatekeeper identifier to find
BOOL DiscoverByAddress( const H323TransportAddress & address )
- Discover a gatekeeper on the local network.
If the address string is empty then the first gatekeeper to respond
to a broadcast is used.
- Parameters:
- address - Address of gatekeeper.
BOOL DiscoverByNameAndAddress( const PString & identifier, const H323TransportAddress & address )
- Discover a gatekeeper on the local network.
Combination of DiscoverByName() and DiscoverByAddress().
BOOL RegistrationRequest( BOOL autoReregister = TRUE )
- Register with gatekeeper.
- Parameters:
- autoReregister - Automatic register on unregister
BOOL UnregistrationRequest( int reason )
- Unregister with gatekeeper.
- Parameters:
- reason - Reason for unregistration
BOOL LocationRequest( const PString & alias, H323TransportAddress & address )
- Location request to gatekeeper.
- Parameters:
- alias - Alias name we wish to find.
address - Resultant transport address.
BOOL LocationRequest( const PStringList & aliases, H323TransportAddress & address )
- Location request to gatekeeper.
- Parameters:
- aliases - Alias names we wish to find.
address - Resultant transport address.
BOOL AdmissionRequest( H323Connection & connection, AdmissionResponse & response, BOOL ignorePreGrantedARQ = FALSE )
- Admission request to gatekeeper.
- Parameters:
- connection - Connection we wish to change.
response - Response parameters to ARQ
ignorePreGrantedARQ - Flag to force ARQ to be sent
BOOL DisengageRequest( const H323Connection & connection, unsigned reason )
- Disengage request to gatekeeper.
- Parameters:
- connection - Connection we wish admitted.
reason - Reason code for disengage
BOOL BandwidthRequest( H323Connection & connection, unsigned requestedBandwidth )
- Bandwidth request to gatekeeper.
- Parameters:
- connection - Connection we wish to change.
requestedBandwidth - New bandwidth wanted in 0.1kbps
void InfoRequestResponse()
- Send an unsolicited info response to the gatekeeper
void InfoRequestResponse( const H323Connection & connection )
- Send an unsolicited info response to the gatekeeper.
- Parameters:
- connection - Connection to send info about
void InfoRequestResponse( const H323Connection & connection, const H225_H323_UU_PDU & pdu, BOOL sent )
- Send an unsolicited info response to the gatekeeper.
- Parameters:
- connection - Connection to send info about
pdu - PDU that was sent or received
sent - Flag for PDU was sent or received
virtual void OnServiceControlSessions( const H225_ArrayOf_ServiceControlSession & serviceControl, H323Connection* connection )
- Handle incoming service control session information
Member variable access
BOOL IsDiscoveryComplete() const
- Determine if the endpoint has discovered the gatekeeper
BOOL IsRegistered() const
- Determine if the endpoint is registered with the gatekeeper
RegistrationFailReasons GetRegistrationFailReason() const
- Get the registration fail reason
PString GetName() const
- Get the gatekeeper name.
The gets the name of the gatekeeper. It will be of the form id@address
where id is the gatekeeperIdentifier and address is the transport
address used. If the gatekeeperIdentifier is empty the '@' is not
included and only the transport is shown. The transport is minimised
also, with the type removed if IP is used and the :port removed if the
default port is used.
const PString& GetEndpointIdentifier() const
- Get the endpoint identifier
void SetPassword( const PString & password, const PString & username = PString() )
- Set the H235 password in the gatekeeper.
If no username is present then it will default to the endpoint local
user name (ie first alias).
- Parameters:
- password - New password
username - Username for password
- This class has no child classes.
Alphabetic index HTML hierarchy of classes or Java
This page was generated with the help of DOC++.