C# Class SIPSorcery.SIPRegistrar.SIPRegistrarDaemon

Afficher le fichier Open project: sipsorcery/sipsorcery Class Usage Examples

Méthodes publiques

Свойство Type Description
CustomerPersistor_External SIPAssetPersistor

Méthodes publiques

Méthode Description
SIPRegistrarDaemon ( GetCanonicalDomainDelegate getDomain, SIPAssetGetDelegate getSIPAccount, SIPAssetPersistor registrarBindingsPersistor, SIPAuthenticateRequestDelegate sipRequestAuthenticator, SIPAssetPersistor customerPersistor ) : System
Start ( ) : void
Stop ( ) : void

Private Methods

Méthode Description
FireSIPMonitorEvent ( SIPMonitorEvent sipMonitorEvent ) : void
SendNATKeepAlive ( SIPSorcery.Servers.NATKeepAliveMessage keepAliveMessage ) : void

This event handler is fired when the SIP Registrar wants to send a NATKeepAlive message to a user contact to make an attempt to keep the connection open through the user's NAT server. In this case the NATKeepAlive messages are forwarded onto the NATKeepAlive relay which requests the SIPTransport layer to multiplex a 4 byte null payload onto one of its sockets and send to the specified agent. A typical scenario would have the SIP Registrar firing this event every 15s to send the null payloads to each of its registered contacts.

Method Details

SIPRegistrarDaemon() public méthode

public SIPRegistrarDaemon ( GetCanonicalDomainDelegate getDomain, SIPAssetGetDelegate getSIPAccount, SIPAssetPersistor registrarBindingsPersistor, SIPAuthenticateRequestDelegate sipRequestAuthenticator, SIPAssetPersistor customerPersistor ) : System
getDomain GetCanonicalDomainDelegate
getSIPAccount SIPAssetGetDelegate
registrarBindingsPersistor SIPAssetPersistor
sipRequestAuthenticator SIPAuthenticateRequestDelegate
customerPersistor SIPAssetPersistor
Résultat System

Start() public méthode

public Start ( ) : void
Résultat void

Stop() public méthode

public Stop ( ) : void
Résultat void

Property Details

CustomerPersistor_External public_oe property

public SIPAssetPersistor CustomerPersistor_External
Résultat SIPAssetPersistor