|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface NewDeviceClientOrbCallback
Callback for name a new device and select this plug-in if necessary.
Method Summary | |
---|---|
String |
getDeviceBus()
Returns the bus name where the device is connected. |
String |
getDeviceDescription()
Returns the description of device. |
String |
getDeviceName()
Returns the name given to the device. |
String |
getDeviceSerialNumber()
Returns the serial number of device or other data identifying the devices of the same product. |
int |
getLifetime()
Returns the lifetime of callback in seconds. |
String[] |
getPluginsNames()
Returns the name of all possible plug-ins related to the device. |
void |
selectedPlugin(int pluginIndex)
Selects a plug-in related to the device by its index into getPluginsNames() . |
void |
setDeviceName(String deviceName)
Sets the name given to the device. |
Method Detail |
---|
String getDeviceBus() throws RemoteException
RemoteException
- Exception if an error occurred.String getDeviceDescription() throws RemoteException
RemoteException
- Exception if an error occurred.String getDeviceSerialNumber() throws RemoteException
RemoteException
- Exception if an error occurred.String getDeviceName() throws RemoteException
RemoteException
- Exception if an error occurred.void setDeviceName(String deviceName) throws RemoteException
deviceName
- Name given to the device.
RemoteException
- Exception if an error occurred.String[] getPluginsNames() throws RemoteException
Can be NULL if there is no choice to do.
RemoteException
- Exception if an error occurred.void selectedPlugin(int pluginIndex) throws RemoteException
getPluginsNames()
.
pluginIndex
- Index of selected plug-in.
RemoteException
- Exception if an error occurred.int getLifetime() throws RemoteException
RemoteException
- Exception if an error occurred.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |