|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
Module ORB servant implementing the DeviceOperations interface.
Reference to this servant can be obtained by using the following name:
Method Summary | |
void |
getCounter(com.nokia.m2m.orb.idl.wirelessdevice.DevicePackage.Counter c,
org.omg.CORBA.IntHolder value)
Method call is used for retrieving counter values. |
void |
getCounterList(com.nokia.m2m.orb.idl.wirelessdevice.DevicePackage.Counter[] c,
com.nokia.m2m.orb.idl.wirelessdevice.DevicePackage.CounterValueListHolder values)
Method call is used for retrieving a list of counter values. |
void |
getDeviceInfo(org.omg.CORBA.StringHolder hwManufacturer,
org.omg.CORBA.StringHolder hwProductName,
com.nokia.m2m.orb.idl.wirelessdevice.DevicePackage.VersionHolder hwVersion,
org.omg.CORBA.StringHolder swManufacturer,
org.omg.CORBA.StringHolder swProductName,
com.nokia.m2m.orb.idl.wirelessdevice.DevicePackage.VersionHolder swVersion,
com.nokia.m2m.orb.idl.wirelessdevice.DevicePackage.MetadataListHolder metadata)
Method call returns information from a device supported by the simulator. |
String[] |
getObjectNames()
Method call returns a list of object names. |
org.omg.CORBA.Object |
getObjectRef(String name)
Method call returns object reference to wanted object. |
org.omg.CORBA.Object[] |
getObjectRefList(String[] names)
Method call returns a list of object references to wanted objects. |
void |
getParam(String name,
org.omg.CORBA.AnyHolder value)
Method call is used for retrieving parameter values. |
void |
getParamList(String[] pnl,
com.nokia.m2m.orb.idl.wirelessdevice.DevicePackage.ParamValueListHolder pvl)
Method call is used for retrieving multiple parameter values. |
void |
removeAllObservers()
Removes all observers. |
void |
removeEventObserver(String name,
com.nokia.m2m.orb.idl.wirelessdevice.EventObserver o)
Method call is used for cancelling event observer. |
void |
removeParamObserver(String name,
com.nokia.m2m.orb.idl.wirelessdevice.ParamObserver po)
Method call is used for cancelling parameter observer. |
void |
reset()
Method call is used for resetting the device. |
void |
setEventObserver(String name,
com.nokia.m2m.orb.idl.wirelessdevice.EventObserver o)
Method call is used for registering event observer. |
void |
setParam(String name,
org.omg.CORBA.Any value)
Method call is used for modifying parameter values of the terminal. |
void |
setParamList(String[] pnl,
org.omg.CORBA.Any[] pvl)
Method call is used for modifying multiple parameter values. |
void |
setParamObserver(String name,
com.nokia.m2m.orb.idl.wirelessdevice.ParamObserver po)
Method call is used for registering parameter observer. |
Method Detail |
public org.omg.CORBA.Object getObjectRef(String name) throws com.nokia.m2m.orb.idl.wirelessdevice.DevicePackage.UnknownObjectNameException
name
- Defines name of the wanted object.
UnknownObjectNameException
- used for indicating invalid object name in getObjectRef method call.public org.omg.CORBA.Object[] getObjectRefList(String[] names) throws com.nokia.m2m.orb.idl.wirelessdevice.DevicePackage.UnknownObjectNameListException
names
- Defines the list of object names queried.
UnknownObjectNameListException
- used for indicating the first
invalid object name in getObjectRefList method call.
Index will contain reference to the first invalid object name.public String[] getObjectNames()
public void getDeviceInfo(org.omg.CORBA.StringHolder hwManufacturer, org.omg.CORBA.StringHolder hwProductName, com.nokia.m2m.orb.idl.wirelessdevice.DevicePackage.VersionHolder hwVersion, org.omg.CORBA.StringHolder swManufacturer, org.omg.CORBA.StringHolder swProductName, com.nokia.m2m.orb.idl.wirelessdevice.DevicePackage.VersionHolder swVersion, com.nokia.m2m.orb.idl.wirelessdevice.DevicePackage.MetadataListHolder metadata)
hwManufacturer
- Holder object for obtaining device manufacturer information.hwProductName
- Holder object for obtaining product name information.hwVersion
- Holder object for obtaining minor and major version number information from the device.swManufacturer
- Holder object for obtaining software manufacturer name information.swProductName
- Holder object for obtaining software name information.swVersion
- Holder object for obtaining minor and major version number information from the software.metadata
- Holder object for device specific metadata.public void setParam(String name, org.omg.CORBA.Any value) throws com.nokia.m2m.orb.idl.wirelessdevice.DevicePackage.ParamFailureException
name
- Name of the modified parameter.value
- New value for wanted parameter. Any type value can be created using classes generated from properties.idl.
ParamFailureException
- Used for indicating failure in parameter handling.
It can be sent as a response either to setParam or getParam method calls.public void getParam(String name, org.omg.CORBA.AnyHolder value) throws com.nokia.m2m.orb.idl.wirelessdevice.DevicePackage.ParamFailureException
name
- Name of the retrieved parametervalue
- Retrieved parameter value. Any type value can be created using classes generated from properties.idl.
ParamFailureException
- Used for indicating failure in parameter handling.
It can be sent as a response either to setParam or getParam method calls.public void setParamList(String[] pnl, org.omg.CORBA.Any[] pvl) throws com.nokia.m2m.orb.idl.wirelessdevice.DevicePackage.ParamFailureListException
pnl
- List of parameter names to be modified. Given as a sequence of strings.pvl
- New values for parameters. Given as a sequence of parameters
of the type any. ‘Any’ type value can be created using classes generated from properties.idl.
ParamFailureListException
- Setting new values for parameters was not successful.
First parameter that was not successful is returned in the exception.public void getParamList(String[] pnl, com.nokia.m2m.orb.idl.wirelessdevice.DevicePackage.ParamValueListHolder pvl) throws com.nokia.m2m.orb.idl.wirelessdevice.DevicePackage.ParamFailureListException
pnl
- List of parameter names to be retrieved. Given as a sequence of strings.pvl
- List of retrieved parameter values. Given as a sequence of
parameters of the type any. ‘Any’ type value can be created using classes generated from properties.idl.
ParamFailureListException
public void setParamObserver(String name, com.nokia.m2m.orb.idl.wirelessdevice.ParamObserver po) throws com.nokia.m2m.orb.idl.wirelessdevice.DevicePackage.UnknownParamNameException, com.nokia.m2m.orb.idl.wirelessdevice.DevicePackage.ParamAlreadyObservedException
name
- po
-
UnknownParamNameException
ParamAlreadyObservedException
public void removeParamObserver(String name, com.nokia.m2m.orb.idl.wirelessdevice.ParamObserver po) throws com.nokia.m2m.orb.idl.wirelessdevice.DevicePackage.UnknownParamNameException, com.nokia.m2m.orb.idl.wirelessdevice.DevicePackage.ParamObserverNotExistsException
name
- po
-
UnknownParamNameException
ParamObserverNotExistsException
public void getCounter(com.nokia.m2m.orb.idl.wirelessdevice.DevicePackage.Counter c, org.omg.CORBA.IntHolder value) throws com.nokia.m2m.orb.idl.wirelessdevice.DevicePackage.UnknownCounterNameException
c
- value
-
UnknownCounterNameException
public void getCounterList(com.nokia.m2m.orb.idl.wirelessdevice.DevicePackage.Counter[] c, com.nokia.m2m.orb.idl.wirelessdevice.DevicePackage.CounterValueListHolder values) throws com.nokia.m2m.orb.idl.wirelessdevice.DevicePackage.UnknownCounterNameListException
c
- values
-
UnknownCounterNameListException
public void setEventObserver(String name, com.nokia.m2m.orb.idl.wirelessdevice.EventObserver o) throws com.nokia.m2m.orb.idl.wirelessdevice.DevicePackage.EventNotExistsException
name
- o
-
EventNotExistsException
public void removeEventObserver(String name, com.nokia.m2m.orb.idl.wirelessdevice.EventObserver o) throws com.nokia.m2m.orb.idl.wirelessdevice.DevicePackage.EventObserverNotExistsException
name
- o
-
EventObserverNotExistsException
public void removeAllObservers()
public void reset()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |