|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.apache.asn1.codec.stateful.DecoderStack.ChainingCallback
A callback used to chain decoders.
Field Summary | |
private StatefulDecoder |
sink
the source decoder calling this callback |
private StatefulDecoder |
src
the sink decoder recieving the src's decoded object |
Constructor Summary | |
(package private) |
DecoderStack.ChainingCallback(StatefulDecoder src,
StatefulDecoder sink)
Creates a callback that chains the output of a src decoder to the input of a sink decoder. |
Method Summary | |
void |
decodeOccurred(StatefulDecoder decoder,
java.lang.Object decoded)
Calls the DecoderStack.decode(Object) method of the sink if the decoder
argument is the source. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
private StatefulDecoder sink
private StatefulDecoder src
Constructor Detail |
DecoderStack.ChainingCallback(StatefulDecoder src, StatefulDecoder sink)
src
- the source decoder calling this callbacksink
- the sink decoder recieving the src's decoded objectMethod Detail |
public void decodeOccurred(StatefulDecoder decoder, java.lang.Object decoded)
DecoderStack.decode(Object)
method of the sink if the decoder
argument is the source. Any failures that occur during the sink's
decode operation are reported to the monitor first then rethrown as
runtime exceptions with the root cause set to the faulting exception.
decodeOccurred
in interface DecoderCallback
decoder
- the stateful decoder driving the callbackdecoded
- the object that was decoded(org.apache.asn1.codec.stateful.StatefulDecoder, java.lang.Object)
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |