|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public static interface I2CPMessageReader.I2CPMessageEventListener
Defines the different events the reader produces while reading the stream
| Method Summary | |
|---|---|
void |
disconnected(I2CPMessageReader reader)
Notify the listener that the stream the given reader was running off closed |
void |
messageReceived(I2CPMessageReader reader,
I2CPMessage message)
Notify the listener that a message has been received from the given reader |
void |
readError(I2CPMessageReader reader,
Exception error)
Notify the listener that an exception was thrown while reading from the given reader |
| Method Detail |
|---|
void messageReceived(I2CPMessageReader reader,
I2CPMessage message)
reader - I2CPMessageReader to notifymessage - the I2CPMessage
void readError(I2CPMessageReader reader,
Exception error)
reader - I2CPMessageReader to notifyerror - Exception that was thrownvoid disconnected(I2CPMessageReader reader)
reader - I2CPMessageReader to notify
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||