Package com.opencloud.rhino.cmp.codecs
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 Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description <T> T
decodeActivityContextInterface(DataInput in)
Decode anActivityContextInterface
reference.EventContext
decodeEventContext(DataInput in)
Decode anEventContext
reference.<T> T
decodeProfileLocalObject(DataInput in)
Decode aProfileLocalObject
reference.<T> T
decodeSbbLocalObject(DataInput in)
Decode anSbbLocalObject
reference.TimerID
decodeTimerID(DataInput in)
Decode aTimerID
.
-
-
-
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 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
ActivityContextInterface
reference.- 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
EventContext
reference.- 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
ProfileLocalObject
reference.- 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
-
-