Пример #1
0
 public DirectConnectionSession(Guid id, Microsoft.ServiceBus.ProbingClient probingClient, IDirectConnectionParent parent)
 {
     this.id = id;
     this.EventTraceActivity = new Microsoft.ServiceBus.Tracing.EventTraceActivity(this.id);
     this.probingClient      = probingClient;
     this.parent             = parent;
     this.mutex = new object();
 }
Пример #2
0
 protected Activity(DirectConnectionSession session)
 {
     this.session    = session;
     this.parent     = session;
     this.candidates = new DirectConnectionCandidateManager(this);
 }
 public DirectConnectionCandidateManager(IDirectConnectionParent parent)
 {
     this.parent     = parent;
     this.candidates = new List <DirectConnectionCandidateManager.Candidate>();
     this.mutex      = new object();
 }
 public ListenCandidate(string type, IDirectConnectionParent parent) : base(type, parent)
 {
 }
 public Candidate(string type, IDirectConnectionParent parent)
 {
     this.parent = parent;
     this.mutex  = new object();
 }