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