コード例 #1
0
ファイル: ForeignDevicePort.cs プロジェクト: LorenVS/bacstack
 /// <summary>
 /// Constructs a new foreign device port instance
 /// </summary>
 /// <param name="options">The options to create the port with</param>
 public ForeignDevicePort(ForeignDevicePortOptions options)
 {
     this._options = options.Clone();
     this._state = State.Closed;
     this._server = null;
     this._registrationTimer = null;
     this._registrationTimeout = DateTime.MinValue;
 }
コード例 #2
0
 /// <summary>
 /// Constructs a new foreign device port instance
 /// </summary>
 /// <param name="options">The options to create the port with</param>
 public ForeignDevicePort(ForeignDevicePortOptions options)
 {
     this._options             = options.Clone();
     this._state               = State.Closed;
     this._server              = null;
     this._registrationTimer   = null;
     this._registrationTimeout = DateTime.MinValue;
 }