/// <summary> /// Initializes a new instance of the <see cref="EventContainer"/> class. /// </summary> /// <param name="container">The container.</param> /// <param name="sessionId">The session id.</param> internal EventContainer(SerializedEventForSession container, String sessionId) { this.mContainer = container; this.mSessionId = sessionId; this.mThread = new Thread(new ThreadStart(ThreadMain)); this.mThread.IsBackground = true; this.mThread.Name = String.Format("ChannelEvent_{0}", sessionId); this.mThread.Start(); }
/// <summary> /// Initializes a new instance of the <see cref="Channel"/> class. /// </summary> protected Channel() { mSerializedEvents = new SerializedEventForSession(this); }