コード例 #1
0
ファイル: CommandServer.cs プロジェクト: Hobbitron/WheelMUD
 public void SubscribeToSystem(ISubSystemHost sender)
 {
     _subSystemHost = sender;
 }
コード例 #2
0
 /// <summary>Subscribe to receive system updates from this system.</summary>
 /// <param name="sender">The subscribing system; generally use 'this'.</param>
 public void SubscribeToSystem(ISubSystemHost sender)
 {
 }
コード例 #3
0
ファイル: TelnetServer.cs プロジェクト: jvoeller0129/WheelMUD
 /// <summary>Subscribe to receive system updates from this system.</summary>
 /// <param name="sender">The subscribing system; generally use 'this'.</param>
 public void SubscribeToSystem(ISubSystemHost sender)
 {
     this.subSystemHost = sender;
 }
コード例 #4
0
ファイル: Session.cs プロジェクト: duaneking/WheelMUD
 /// <summary>Removes subscriptions from the system.</summary>
 public void UnsubscribeToSystem()
 {
     this.host = null;
 }
コード例 #5
0
 /// <summary>Initializes a new instance of the CommandProcessor class.</summary>
 /// <param name="host">The host of this CommandProcessor SubSystem.</param>
 public CommandProcessor(ISubSystemHost host)
 {
     this.host = host;
 }
コード例 #6
0
 /// <summary>
 /// Unsubscribe from currently subscribed system.
 /// </summary>
 public void UnsubscribeToSystem()
 {
     subSystemHost = null;
 }
コード例 #7
0
 /// <summary>
 /// Initializes a new instance of the CommandProcessor class.
 /// </summary>
 /// <param name="host">The host of this CommandProcessor SubSystem.</param>
 public CommandProcessor(ISubSystemHost host)
 {
     this.host = host;
 }