|
Framework Professional Edition Package |
||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
public interface CUBinding
CUBinding service is a extention of the DataMapper service and
used for converting byte array to state variables values in one direction,
and converting control unit actions to byte array in the opposite direction
base on the mapping xml.
| Method Summary | |
|---|---|
byte[] |
generateRawData(java.lang.String actionId,
java.lang.Object actionArgs,
java.lang.String xmlID,
ControlUnitModel model)
Generates a byte array coresponds to the given actionID and action arguments based on the given xmlID (the pid of the mapping XML). |
void |
processRawData(byte[] data,
java.lang.String xmlID,
ControlUnitModel model)
Converts the given byte array in Objects placed in Dictionary using the DataMapper service. |
| Method Detail |
|---|
void processRawData(byte[] data,
java.lang.String xmlID,
ControlUnitModel model)
throws java.lang.Exception
data - byte array to be processedxmlID - the mapping xml pidmodel - the cu model updates the state variables values
java.lang.Exception
byte[] generateRawData(java.lang.String actionId,
java.lang.Object actionArgs,
java.lang.String xmlID,
ControlUnitModel model)
throws java.lang.Exception
actionId - actionArgs - xmlID - model -
java.lang.Exception
|
Framework Professional Edition Package |
||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||