Example #1
0
 /// <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;
 }
Example #2
0
 public DialogManager(ISipStack stack)
 {
     _stack = stack;
 }
Example #3
0
 public CallManager(ISipStack stack, DialogManager dialogManager)
 {
     _stack         = stack;
     _dialogManager = dialogManager;
 }
Example #4
0
 public DialogManager(ISipStack stack)
 {
     _stack = stack;
 }
Example #5
0
 internal UserAgent(ISipStack stack)
 {
     _stack = stack;
     _stack.Register(this);
 }
Example #6
0
 public CallManager(ISipStack stack, DialogManager dialogManager)
 {
     _stack = stack;
     _dialogManager = dialogManager;
 }
Example #7
0
 public SipClient(ISipStack stack)
 {
     _stack = stack;
 }
Example #8
0
 /// <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;
 }
Example #9
0
 internal UserAgent(ISipStack stack)
 {
     _stack = stack;
     _stack.Register(this);
 }
Example #10
0
 public SipClient(ISipStack stack)
 {
     _stack = stack;
 }