Beispiel #1
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;
 }
Beispiel #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;
 }