C# Класс SIPSorcery.SIPRegistrar.SIPRegistrarDaemon

Показать файл Открыть проект Примеры использования класса

Открытые свойства

Свойство Тип Описание
CustomerPersistor_External SIPAssetPersistor

Открытые методы

Метод Описание
SIPRegistrarDaemon ( GetCanonicalDomainDelegate getDomain, SIPAssetGetDelegate getSIPAccount, SIPAssetPersistor registrarBindingsPersistor, SIPAuthenticateRequestDelegate sipRequestAuthenticator, SIPAssetPersistor customerPersistor ) : System
Start ( ) : void
Stop ( ) : void

Приватные методы

Метод Описание
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.

Описание методов

SIPRegistrarDaemon() публичный Метод

public SIPRegistrarDaemon ( GetCanonicalDomainDelegate getDomain, SIPAssetGetDelegate getSIPAccount, SIPAssetPersistor registrarBindingsPersistor, SIPAuthenticateRequestDelegate sipRequestAuthenticator, SIPAssetPersistor customerPersistor ) : System
getDomain GetCanonicalDomainDelegate
getSIPAccount SIPAssetGetDelegate
registrarBindingsPersistor SIPAssetPersistor
sipRequestAuthenticator SIPAuthenticateRequestDelegate
customerPersistor SIPAssetPersistor
Результат System

Start() публичный Метод

public Start ( ) : void
Результат void

Stop() публичный Метод

public Stop ( ) : void
Результат void

Описание свойств

CustomerPersistor_External публичное свойство

public SIPAssetPersistor CustomerPersistor_External
Результат SIPAssetPersistor