Package jade.imtp.leap
Interface ICP.Listener
-
- Enclosing interface:
- ICP
public static interface ICP.ListenerCallback interface to be notified of command arrivals over this ICP.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description byte[]handleCommand(byte[] cmdPayload)Handle a received (still serialized) command object, i.e.
-
-
-
Method Detail
-
handleCommand
byte[] handleCommand(byte[] cmdPayload) throws LEAPSerializationExceptionHandle a received (still serialized) command object, i.e. deserialize it and launch processing of the command.- Parameters:
serialized_command- the command to be deserialized and processed- Returns:
- a byte array containing the serialized response command
- Throws:
LEAPSerializationException- if an error occurs during the LEAP surrogate serialization mechanism
-
-