C# 클래스 SIPSorcery.SIPRegistrar.SIPRegistrarDaemon

파일 보기 프로젝트 열기: sipsorcery/sipsorcery 1 사용 예제들

공개 프로퍼티들

프로퍼티 타입 설명
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