class H323GatekeeperServer |
This class implements a basic gatekeeper server functionality.
This class implements a basic gatekeeper server functionality. An instance of this class contains all of the state information and operations for a gatekeeper. Multiple gatekeeper listeners may be using this class to link individual UDP (or other protocol) packets from various sources (interfaces etc) into a single instance.There is typically only one instance of this class, though it is not limited to that. An application would also quite likely descend from this class and override call back functions to implement more complex policy.
However, a user may override this function to create objects that are user defined descendants of H323GatekeeperListener so the user can maintain extra information on a interface by interface basis.
If returns TRUE then a RCF is sent otherwise an RRJ is sent.
The user woiuld not usually use this function as it is used internally by the server when new registration requests (RRQ) are received.
Note that a registered endpoint has no realationship in this software to a H323EndPoint class.
However, a user may override this function to create objects that are user defined descendants of H323RegisteredEndPoint so the user can maintain extra information on a endpoint by endpoint basis.
The default behaviour simply returns the string representation of the member variable nextIdentifier. There could be a problem in this implementation after 4,294,967,296 have been registered.
However, a user may override this function to create objects that are user defined descendants of H323GatekeeperCall so the user can maintain extra information on a call by call basis.
It is expected that a user would override this function to implement application specified look up algorithms.
It is expected that a user would override this function to implement application specified look up algorithms.
The default behaviour calls TranslateAliasAddressToSignalAddress().
It is expected that a user would override this function to implement application specified look up algorithms.
The default behaviour checks the isGatekeeperRouted and if TRUE simply returns the gatekeepers associated endpoints (not registered endpoint, but real H323EndPoint) listening address.
If isGatekeeperRouted is FALSE then it looks up the registered endpoints by alias and uses the saved signal address in the database.
If the alias is not registered then the address parameter is not changed and the function returns TRUE if it is a valid address, FALSE if it was empty.
It is expected that a user would override this function to implement application specified security policy algorithms.
The default behaviour simply returns TRUE.
It is expected that a user would override this function to implement application specified security policy algorithms.
The default behaviour checks the canOnlyAnswerRegisteredEP or canOnlyCallRegisteredEP meber variables depending on if it is an incoming call and if that is TRUE only allows the call to proceed if the alias is also registered with the gatekeeper.
It is expected that a user would override this function to implement application specified security policy algorithms.
The default behaviour checks the canOnlyAnswerRegisteredEP or canOnlyCallRegisteredEP meber variables depending on if it is an incoming call and if that is TRUE only allows the call to proceed if the alias is also registered with the gatekeeper.
A return value of FALSE indicates to use the default credentials of the endpoint, while TRUE indicates that new credentials are to be used.
The default behavour does nothing and returns FALSE.
Alphabetic index HTML hierarchy of classes or Java