示例#1
0
 internal SipSettings(SystemSettings sysSettings, bool enabled, SIP_ProxyMode proxyMode, int minExpires, IPBindInfo[] bindings, SipGatewayCollection gateways)
 {
     this.m_pSysSettings = sysSettings;
     this.m_Enabled      = enabled;
     this.m_ProxyMode    = proxyMode;
     this.m_MinExpires   = minExpires;
     this.m_pBinds       = bindings;
     this.m_pGateways    = gateways;
 }
 internal SipGateway(SipGatewayCollection owner, string uriScheme, string transport, string host, int port, string realm, string userName, string password)
 {
     this.m_pCollection = owner;
     this.m_UriScheme   = uriScheme;
     this.m_Transport   = transport;
     this.m_Host        = host;
     this.m_Port        = port;
     this.m_Realm       = realm;
     this.m_UserName    = userName;
     this.m_Password    = password;
 }