public class OwnerListenerData extends Object
Constructor and Description |
---|
OwnerListenerData(DeviceOwnerListener listener,
String threadName,
int eventsProcessed,
int queueSize)
Base constructor.
|
Modifier and Type | Method and Description |
---|---|
int |
eventsProcessed()
Returns the number of events processed.
|
DeviceOwnerListener |
listener()
Returns the listener instance.
|
int |
queueSize()
Returns the queue size.
|
String |
threadName()
Returns the listener handler's thread name.
|
public OwnerListenerData(DeviceOwnerListener listener, String threadName, int eventsProcessed, int queueSize)
listener
- listener instancethreadName
- listener handler's thread nameeventsProcessed
- number of events processedqueueSize
- current queue size (estimate)public DeviceOwnerListener listener()
public String threadName()
public int eventsProcessed()
public int queueSize()
Copyright © 2016. All Rights Reserved.