C# Класс SIPSorcery.Servers.SIPRegistrarBindingsManager

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

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

Метод Описание
GetBindings ( System.Guid sipAccountId ) : List
SIPRegistrarBindingsManager ( SIPMonitorLogDelegate sipMonitorEventLog, SIPAssetPersistor bindingsPersistor, SendNATKeepAliveDelegate sendNATKeepAlive, int maxBindingsPerAccount, SIPSorcery.Servers.SIPUserAgentConfigurationManager userAgentConfigs ) : System
Start ( ) : void
Stop ( ) : void
UpdateBindings ( SIPAccount sipAccount, SIPEndPoint proxySIPEndPoint, SIPEndPoint remoteSIPEndPoint, SIPEndPoint registrarSIPEndPoint, List contactHeaders, string callId, int cseq, int expiresHeaderValue, string userAgent, SIPResponseStatusCodesEnum &responseStatus, string &responseMessage ) : List

Updates the bindings list for a registrar's address-of-records.

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

Метод Описание
AddNATKeepAliveJob ( SIPAccount sipAccount, SIPEndPoint remoteSIPEndPoint, SIPEndPoint proxySIPEndPoint, SIPRegistrarBinding binding, int bindingExpiry ) : void
ExpireBindings ( ) : void
FireSIPMonitorLogEvent ( SIPMonitorEvent monitorEvent ) : void
GetBindingForContactURI ( List bindings, string bindingURI ) : SIPRegistrarBinding
GetNextExpiredBinding ( DateTimeOffset expiryTime ) : SIPRegistrarBinding
SendNATKeepAlives ( ) : void

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

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

public GetBindings ( System.Guid sipAccountId ) : List
sipAccountId System.Guid
Результат List

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

public SIPRegistrarBindingsManager ( SIPMonitorLogDelegate sipMonitorEventLog, SIPAssetPersistor bindingsPersistor, SendNATKeepAliveDelegate sendNATKeepAlive, int maxBindingsPerAccount, SIPSorcery.Servers.SIPUserAgentConfigurationManager userAgentConfigs ) : System
sipMonitorEventLog SIPMonitorLogDelegate
bindingsPersistor SIPAssetPersistor
sendNATKeepAlive SendNATKeepAliveDelegate
maxBindingsPerAccount int
userAgentConfigs SIPSorcery.Servers.SIPUserAgentConfigurationManager
Результат System

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

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

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

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

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

Updates the bindings list for a registrar's address-of-records.
public UpdateBindings ( SIPAccount sipAccount, SIPEndPoint proxySIPEndPoint, SIPEndPoint remoteSIPEndPoint, SIPEndPoint registrarSIPEndPoint, List contactHeaders, string callId, int cseq, int expiresHeaderValue, string userAgent, SIPResponseStatusCodesEnum &responseStatus, string &responseMessage ) : List
sipAccount SIPSorcery.SIP.App.SIPAccount
proxySIPEndPoint SIPSorcery.SIP.SIPEndPoint
remoteSIPEndPoint SIPSorcery.SIP.SIPEndPoint
registrarSIPEndPoint SIPSorcery.SIP.SIPEndPoint
contactHeaders List
callId string
cseq int
expiresHeaderValue int
userAgent string
responseStatus SIPResponseStatusCodesEnum
responseMessage string
Результат List