|
Framework Professional Edition Package |
||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectcom.prosyst.mbs.services.device.DeviceManagerEvent
public class DeviceManagerEvent
This class holds all needed information for all possible events, which can occur during the normal work of the Device Manager.
| Field Summary | |
|---|---|
static int |
DEVICE_ATTACHMENT_BEGIN
Constant, which indicates that the event type is for the beginning of attachment procedure. |
static int |
DEVICE_ATTACHMENT_END
Constant, which indicates that the event type is for the end of attachment procedure. |
static int |
DEVICE_ATTACHMENT_FAILURE
Constant, which indicates that the event type is for failure of attachment procedure. |
static int |
DEVICE_NO_DRIVER_FOUND
Constant, which indicates that the event type is for indication that there is no driver for the specified device.. |
| Constructor Summary | |
|---|---|
DeviceManagerEvent(org.osgi.framework.ServiceReference deviceSR,
org.osgi.framework.ServiceReference driverSR,
int type)
Creates new instance of the event object. |
|
| Method Summary | |
|---|---|
org.osgi.framework.ServiceReference |
getDevice()
|
org.osgi.framework.ServiceReference |
getDriver()
|
int |
getType()
|
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
public static final int DEVICE_ATTACHMENT_BEGIN
public static final int DEVICE_ATTACHMENT_END
public static final int DEVICE_ATTACHMENT_FAILURE
public static final int DEVICE_NO_DRIVER_FOUND
| Constructor Detail |
|---|
public DeviceManagerEvent(org.osgi.framework.ServiceReference deviceSR,
org.osgi.framework.ServiceReference driverSR,
int type)
deviceSR - the device object ServiceReference objectdriverSR - the driver object ServiceReference objecttype - specifies the type of the event object.| Method Detail |
|---|
public int getType()
public org.osgi.framework.ServiceReference getDevice()
ServiceReference object of the
real device object.public org.osgi.framework.ServiceReference getDriver()
ServiceReference object of the
real driver object (if any).
|
Framework Professional Edition Package |
||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||