public ILeiaDevice GetDevice(string stubName) { this.Debug(string.Format("GetDevice( {0})", stubName)); if (_leiaDevice != null) { _leiaDevice.SetProfileStubName(stubName); return(_leiaDevice); } _leiaDevice = new OfflineEmulationLeiaDevice(stubName); return(_leiaDevice); }
public void UnregisterLeiaDevice() { this.Debug("Unregister LeiaDevice"); _leiaDevice = null; }
public bool RegisterLeiaDevice(AbstractLeiaDevice device) { this.Debug("Registered leia device: " + device.GetType()); _leiaDevice = device; return(true); }