Package com.opencloud.rhino.cmp.codecs
Interface SleeDatatypeDecoder
-
public interface SleeDatatypeDecoderDecoder 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
UnsupportedOperationExceptionbeing thrown.- Since:
- Rhino 2.4.0
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description <T> TdecodeActivityContextInterface(DataInput in)Decode anActivityContextInterfacereference.EventContextdecodeEventContext(DataInput in)Decode anEventContextreference.<T> TdecodeProfileLocalObject(DataInput in)Decode aProfileLocalObjectreference.<T> TdecodeSbbLocalObject(DataInput in)Decode anSbbLocalObjectreference.TimerIDdecodeTimerID(DataInput in)Decode aTimerID.
-
-
-
Method Detail
-
decodeSbbLocalObject
<T> T decodeSbbLocalObject(DataInput in) throws IOException, UnsupportedOperationException
Decode an
SbbLocalObjectreference.- Parameters:
in- the data input stream to decode the value from.- Returns:
- the decoded
SbbLocalObject(may benull). 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
ActivityContextInterfacereference.- Parameters:
in- the data input stream to decode the value from.- Returns:
- the decoded
ActivityContextInterface(may benull). 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
-
decodeEventContext
EventContext decodeEventContext(DataInput in) throws IOException, UnsupportedOperationException
Decode an
EventContextreference.- Parameters:
in- the data input stream to decode the value from.- Returns:
- the decoded
EventContext(may benull). - 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
ProfileLocalObjectreference.- Parameters:
in- the data input stream to decode the value from.- Returns:
- the decoded
ProfileLocalObject(may benull). 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
-
decodeTimerID
TimerID decodeTimerID(DataInput in) throws IOException, UnsupportedOperationException
Decode a
TimerID.- Parameters:
in- the data input stream to decode the value from.- Returns:
- the decoded
TimerID(may benull). - 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
-
-