Interface SleeDatatypeDecoder


  • public interface SleeDatatypeDecoder

    Decoder of SLEE-specific datatypes.

    Note: Rhino currently supports decoding of SLEE-specific datatypes in SBB and SBB part CMP fields only. Attempting to decode these types during the encode of any other CMP field type will result in an UnsupportedOperationException being thrown.

    Since:
    Rhino 2.4.0
    • Method Detail

      • decodeSbbLocalObject

        <T> T decodeSbbLocalObject​(DataInput in)
                            throws IOException,
                                   UnsupportedOperationException

        Decode an SbbLocalObject reference.

        Parameters:
        in - the data input stream to decode the value from.
        Returns:
        the decoded SbbLocalObject (may be null). The returned value will be castable to the SBB local interface of the stored SBB local object reference.
        Throws:
        IOException - if an I/O error occurs.
        UnsupportedOperationException - if the method is invoked while decoding an unsupported CMP field type.
        Since:
        Rhino 2.4.0
      • decodeActivityContextInterface

        <T> T decodeActivityContextInterface​(DataInput in)
                                      throws IOException,
                                             UnsupportedOperationException

        Decode an ActivityContextInterface reference.

        Parameters:
        in - the data input stream to decode the value from.
        Returns:
        the decoded ActivityContextInterface (may be null). The returned value will be castable to the activity context interface of the SBB to which the CMP field being decoded belongs.
        Throws:
        IOException - if an I/O error occurs.
        UnsupportedOperationException - if the method is invoked while decoding an unsupported CMP field type.
        Since:
        Rhino 2.4.0
      • decodeProfileLocalObject

        <T> T decodeProfileLocalObject​(DataInput in)
                                throws IOException,
                                       UnsupportedOperationException

        Decode a ProfileLocalObject reference.

        Parameters:
        in - the data input stream to decode the value from.
        Returns:
        the decoded ProfileLocalObject (may be null). The returned value will be castable to the profile local interface of the stored profile local object reference.
        Throws:
        IOException - if an I/O error occurs.
        UnsupportedOperationException - if the method is invoked while decoding an unsupported CMP field type.
        Since:
        Rhino 2.4.0