/// <summary> /// Initializes a new instance of the <see cref="Registrar"/> class. /// </summary> /// <param name="stack">Stack used for communication.</param> /// <param name="repository">Repository storing users.</param> /// <exception cref="ArgumentNullException"><c>stack</c> or <c>repository</c> is <c>null</c>.</exception> public Registrar(ISipStack stack, IRegistrationRepository repository) { if (stack == null) { throw new ArgumentNullException("stack"); } if (repository == null) { throw new ArgumentNullException("repository"); } _stack = stack; _stack.Register(this); _repository = repository; _authenticator = stack.Authenticator; MinExpires = 600; }
public DialogManager(ISipStack stack) { _stack = stack; }
public CallManager(ISipStack stack, DialogManager dialogManager) { _stack = stack; _dialogManager = dialogManager; }
internal UserAgent(ISipStack stack) { _stack = stack; _stack.Register(this); }
public SipClient(ISipStack stack) { _stack = stack; }
/// <summary> /// Initializes a new instance of the <see cref="Registrar"/> class. /// </summary> /// <param name="stack">Stack used for communication.</param> /// <param name="repository">Repository storing users.</param> /// <exception cref="ArgumentNullException"><c>stack</c> or <c>repository</c> is <c>null</c>.</exception> public Registrar(ISipStack stack, IRegistrationRepository repository) { if (stack == null) throw new ArgumentNullException("stack"); if (repository == null) throw new ArgumentNullException("repository"); _stack = stack; _stack.Register(this); _repository = repository; _authenticator = stack.Authenticator; MinExpires = 600; }