コード例 #1
0
 public SIPRegistrarBindingsManager(
     SIPMonitorLogDelegate sipMonitorEventLog,
     SIPAssetPersistor <SIPRegistrarBinding> bindingsPersistor,
     SendNATKeepAliveDelegate sendNATKeepAlive,
     int maxBindingsPerAccount,
     SIPUserAgentConfigurationManager userAgentConfigs)
 {
     SIPMonitorEventLog_External = sipMonitorEventLog;
     m_bindingsPersistor         = bindingsPersistor;
     SendNATKeepAlive_External   = sendNATKeepAlive;
     m_maxBindingsPerAccount     = (maxBindingsPerAccount != 0) ? maxBindingsPerAccount : DEFAULT_BINDINGS_PER_USER;
     m_userAgentConfigs          = userAgentConfigs;
 }
コード例 #2
0
 public SIPRegistrarBindingsManager(
     SIPMonitorLogDelegate sipMonitorEventLog,
     SIPAssetPersistor<SIPRegistrarBinding> bindingsPersistor,
     SendNATKeepAliveDelegate sendNATKeepAlive,
     int maxBindingsPerAccount,
     SIPUserAgentConfigurationManager userAgentConfigs)
 {
     SIPMonitorEventLog_External = sipMonitorEventLog;
     m_bindingsPersistor = bindingsPersistor;
     SendNATKeepAlive_External = sendNATKeepAlive;
     m_maxBindingsPerAccount = (maxBindingsPerAccount != 0) ? maxBindingsPerAccount : DEFAULT_BINDINGS_PER_USER;
     m_userAgentConfigs = userAgentConfigs;
 }