コード例 #1
0
ファイル: Channel.cs プロジェクト: ewin66/Forge
 /// <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();
 }
コード例 #2
0
ファイル: Channel.cs プロジェクト: ewin66/Forge
 /// <summary>
 /// Initializes a new instance of the <see cref="Channel"/> class.
 /// </summary>
 protected Channel()
 {
     mSerializedEvents = new SerializedEventForSession(this);
 }