Interface ICP.Listener

  • Enclosing interface:
    ICP

    public static interface ICP.Listener
    Callback interface to be notified of command arrivals over this ICP.
    • Method Detail

      • handleCommand

        byte[] handleCommand​(byte[] cmdPayload)
                      throws LEAPSerializationException
        Handle 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