|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.apache.asn1.codec.stateful.EncoderMonitorAdapter
Document me.
Field Summary |
Fields inherited from interface org.apache.asn1.codec.stateful.EncoderMonitor |
INSTANCE |
Constructor Summary | |
EncoderMonitorAdapter()
|
Method Summary | |
void |
callbackOccured(StatefulEncoder encoder,
EncoderCallback cb,
java.lang.Object decoded)
Monitors callbacks that deliver a fully decoded object. |
void |
callbackSet(StatefulEncoder encoder,
EncoderCallback oldcb,
EncoderCallback newcb)
Monitors changes to the callback. |
void |
error(StatefulEncoder encoder,
java.lang.Exception exception)
Receive notification of a recoverable error. |
void |
fatalError(StatefulEncoder encoder,
java.lang.Exception exception)
Receive notification of a non-recoverable error. |
void |
warning(StatefulEncoder encoder,
java.lang.Exception exception)
Receive notification of a warning. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
public EncoderMonitorAdapter()
Method Detail |
public void error(StatefulEncoder encoder, java.lang.Exception exception)
error
in interface EncoderMonitor
encoder
- the encoder that had the errorexception
- the error information encapsulated in an exceptionpublic void fatalError(StatefulEncoder encoder, java.lang.Exception exception)
fatalError
in interface EncoderMonitor
encoder
- the encoder that had the failureexception
- the warning information encapsulated in an exceptionpublic void warning(StatefulEncoder encoder, java.lang.Exception exception)
warning
in interface EncoderMonitor
encoder
- the encoder that had the errorexception
- the warning information encapsulated in an exceptionpublic void callbackOccured(StatefulEncoder encoder, EncoderCallback cb, java.lang.Object decoded)
callbackOccured
in interface EncoderMonitor
encoder
- the stateful encoder driving the callbackdecoded
- the object that was decodedpublic void callbackSet(StatefulEncoder encoder, EncoderCallback oldcb, EncoderCallback newcb)
callbackSet
in interface EncoderMonitor
encoder
- the encoder whose callback was setoldcb
- the unset old callback, or null if none was setnewcb
- the newly set callback, or null if callback is cleared
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |