DeviceMonitorMultiplexer
  public
  
  
  
  class
  DeviceMonitorMultiplexer
  
    extends Object
  
  
  
  
  
      implements
      
        IDeviceMonitor
      
  
  
| java.lang.Object | |
| ↳ | com.android.tradefed.device.DeviceMonitorMultiplexer | 
İstekleri birden fazla IDeviceMonitor'e dağıtmak için kullanılan bir proxy sınıfı.
Özet
| Herkese açık kurucular | |
|---|---|
| 
      DeviceMonitorMultiplexer()
       | |
| Herkese açık yöntemler | |
|---|---|
| 
        
        
        
        
        
        void | 
      addMonitor(IDeviceMonitor globalDeviceMonitor)
       | 
| 
        
        
        
        
        
        void | 
      addMonitors( | 
| 
        
        
        
        
        
        void | 
      notifyDeviceStateChange(String serial, DeviceAllocationState oldState, DeviceAllocationState newState)
      
 | 
| 
        
        
        
        
        
        void | 
      removeMonitor(IDeviceMonitor mon)
       | 
| 
        
        
        
        
        
        void | 
      run()
      İzleyicinin tüm @Option alanları ayarlandıktan sonra çağrılacak bir yöntem. | 
| 
        
        
        
        
        
        void | 
      setDeviceLister(IDeviceMonitor.DeviceLister lister)
      
 | 
| 
        
        
        
        
        
        void | 
      stop()
      İzleyici'nin durdurulması gerektiğinde çağrılacak bir yöntem. | 
Herkese açık kurucular
DeviceMonitorMultiplexer
public DeviceMonitorMultiplexer ()
Herkese açık yöntemler
addMonitor
public void addMonitor (IDeviceMonitor globalDeviceMonitor)
| Parametreler | |
|---|---|
| globalDeviceMonitor | IDeviceMonitor | 
addMonitors
public void addMonitors (globalDeviceMonitors) 
| Parametreler | |
|---|---|
| globalDeviceMonitors |  | 
notifyDeviceStateChange
public void notifyDeviceStateChange (String serial, 
                DeviceAllocationState oldState, 
                DeviceAllocationState newState)IDeviceMonitor'ye bir cihaz durumunun değiştiğini bildirir.
 İzleme uygulamalarının, bu yöntemde yaptıkları işlem miktarını ve IDeviceManager/DeviceLister etkileşimini sınırlaması gerekir.
| Parametreler | |
|---|---|
| serial | String | 
| oldState | DeviceAllocationState | 
| newState | DeviceAllocationState | 
çalıştır
public void run ()
İzleyicinin tüm @Option alanları ayarlandıktan sonra çağrılacak bir yöntem.
setDeviceLister
public void setDeviceLister (IDeviceMonitor.DeviceLister lister)
DeviceLister değerinin ayarlanmasına izin verir.  Listeleyiciyi ayarlama denemesi başarılı olduktan sonra, uygulamalar sonraki tüm denemeleri atlayabilir.
| Parametreler | |
|---|---|
| lister | IDeviceMonitor.DeviceLister | 
aktarma
public void stop ()
İzleyici'nin durdurulması gerektiğinde çağrılacak bir yöntem.
