Exemple #1
0
 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);
 }
Exemple #2
0
 public void UnregisterLeiaDevice()
 {
     this.Debug("Unregister LeiaDevice");
     _leiaDevice = null;
 }
Exemple #3
0
 public bool RegisterLeiaDevice(AbstractLeiaDevice device)
 {
     this.Debug("Registered leia device: " + device.GetType());
     _leiaDevice = device;
     return(true);
 }