|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface EncoderMonitor
Document me.
Field Summary | |
---|---|
static EncoderMonitor |
INSTANCE
Use this if you don't want to recreate this as just a NOOP monitor |
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. |
Field Detail |
---|
static final EncoderMonitor INSTANCE
Method Detail |
---|
void error(StatefulEncoder encoder, java.lang.Exception exception)
encoder
- the encoder that had the errorexception
- the error information encapsulated in an exceptionvoid fatalError(StatefulEncoder encoder, java.lang.Exception exception)
encoder
- the encoder that had the failureexception
- the warning information encapsulated in an exceptionvoid warning(StatefulEncoder encoder, java.lang.Exception exception)
encoder
- the encoder that had the errorexception
- the warning information encapsulated in an exceptionvoid callbackOccured(StatefulEncoder encoder, EncoderCallback cb, java.lang.Object decoded)
encoder
- the stateful encoder driving the callbackdecoded
- the object that was decodedvoid callbackSet(StatefulEncoder encoder, EncoderCallback oldcb, EncoderCallback newcb)
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 |