|
Milyn-Tinak Version 0.6.1 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.milyn.device.ident.DeviceIdent
Device identification class.
This class is used by addingIdentSet instances, preparing it for
device matching through a call to prepare() and then using it through
calls to the matchDevice(org.milyn.device.request.Request) method.
| Constructor Summary | |
DeviceIdent()
|
|
| Method Summary | |
void |
addIdentSet(IdentSet identSet)
Add a device identification set to this DeviceIdent object. |
java.lang.String[] |
getDeviceNames()
Get the name list of matchable devices. |
static DeviceIdent |
getInstance()
Get the DeviceIdent instance for the VM. |
java.lang.String |
matchDevice(Request request)
Match the device associated with the supplied request instance. |
void |
prepare()
Prepare the DeviceIdent object for device matching. |
static void |
setInstance(DeviceIdent deviceIdent)
Set the DeviceIdent instance for the VM. |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
public DeviceIdent()
| Method Detail |
public static void setInstance(DeviceIdent deviceIdent)
addIdentSet(org.milyn.device.ident.IdentSet) or
prepare() throwing an IllegalStateException.
deviceIdent - The DeviceIdent instance for the VM.public static DeviceIdent getInstance()
public void addIdentSet(IdentSet identSet)
prepare() method.
identSet - Device identification set to be added.public void prepare()
public java.lang.String matchDevice(Request request)
throws UnknownDeviceException
request - The device request to be used to identify the requesting device.
UnknownDeviceException - Device cannot be matched from the supplied request.public java.lang.String[] getDeviceNames()
|
Milyn-Tinak Version 0.6.1 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||