Interface DataField

    • Method Detail

      • booleanValue

        default boolean booleanValue​(EncodedMessage message)
        Get the value of the field as a boolean.
        Parameters:
        message - message containing the data
        Returns:
        boolean value of the field
      • intValue

        default int intValue​(EncodedMessage message)
        Get the value of the field as an integer.
        Parameters:
        message - message containing the data
        Returns:
        integer value of the field
      • doubleValue

        default double doubleValue​(EncodedMessage message)
        Get the value of the field as a double.
        Parameters:
        message - message containing the data
        Returns:
        double value of the field
      • stringValue

        default String stringValue​(EncodedMessage message,
                                   int n)
        Get the value of the field as a String.
        Parameters:
        message - message containing the data
        n - number of UTF8 characters
        Returns:
        String value of the field