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.
Modifier and Type | Method and Description |
---|---|
<T extends ActivityContextInterface> |
decodeActivityContextInterface(DataInput in)
Decode an
ActivityContextInterface reference. |
EventContext |
decodeEventContext(DataInput in)
Decode an
EventContext reference. |
<T extends ProfileLocalObject> |
decodeProfileLocalObject(DataInput in)
Decode a
ProfileLocalObject reference. |
<T extends SbbLocalObject> |
decodeSbbLocalObject(DataInput in)
Decode an
SbbLocalObject reference. |
TimerID |
decodeTimerID(DataInput in)
Decode a
TimerID . |
<T extends SbbLocalObject> T decodeSbbLocalObject(DataInput in) throws IOException, UnsupportedOperationException
Decode an SbbLocalObject
reference.
in
- the data input stream to decode the value from.SbbLocalObject
(may be null
). The returned value will be castable to the SBB local interface of the stored SBB local object reference.IOException
- if an I/O error occurs.UnsupportedOperationException
- if the method is invoked while decoding an unsupported CMP field type.<T extends ActivityContextInterface> T decodeActivityContextInterface(DataInput in) throws IOException, UnsupportedOperationException
Decode an ActivityContextInterface
reference.
in
- the data input stream to decode the value from.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.IOException
- if an I/O error occurs.UnsupportedOperationException
- if the method is invoked while decoding an unsupported CMP field type.EventContext decodeEventContext(DataInput in) throws IOException, UnsupportedOperationException
Decode an EventContext
reference.
in
- the data input stream to decode the value from.EventContext
(may be null
).IOException
- if an I/O error occurs.UnsupportedOperationException
- if the method is invoked while decoding an unsupported CMP field type.<T extends ProfileLocalObject> T decodeProfileLocalObject(DataInput in) throws IOException, UnsupportedOperationException
Decode a ProfileLocalObject
reference.
in
- the data input stream to decode the value from.ProfileLocalObject
(may be null
). The returned value will be castable to the profile local interface of the stored profile local object reference.IOException
- if an I/O error occurs.UnsupportedOperationException
- if the method is invoked while decoding an unsupported CMP field type.TimerID decodeTimerID(DataInput in) throws IOException, UnsupportedOperationException
Decode a TimerID
.
in
- the data input stream to decode the value from.TimerID
(may be null
).IOException
- if an I/O error occurs.UnsupportedOperationException
- if the method is invoked while decoding an unsupported CMP field type.