C# Class SIPSorcery.Servers.SIPRegistrarBindingsManager

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

Méthodes publiques

Méthode Description
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.

Private Methods

Méthode Description
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

Method Details

GetBindings() public méthode

public GetBindings ( System.Guid sipAccountId ) : List
sipAccountId System.Guid
Résultat List

SIPRegistrarBindingsManager() public méthode

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
Résultat System

Start() public méthode

public Start ( ) : void
Résultat void

Stop() public méthode

public Stop ( ) : void
Résultat void

UpdateBindings() public méthode

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
Résultat List