java.lang.Object
net.i2p.client.impl.HandlerImpl
net.i2p.client.impl.MessageStatusMessageHandler
- All Implemented Interfaces:
I2CPMessageHandler
Handle I2CP MessageStatusMessages from the router. This currently only takes into account status of available, automatically prefetching them as soon as possible.
Field Summary
Fields inherited from class HandlerImpl
_context, _logModifier and TypeFieldDescriptionprotected final I2PAppContextThe application context.protected final LogThe logger.Constructor Summary
ConstructorsConstructorDescriptionMessageStatusMessageHandler(I2PAppContext context) Create the handler for I2CP message status messages.Method Summary
All MethodsModifier and TypeMethodDescriptionvoidhandleMessage(I2CPMessage message, I2PSessionImpl session) Handle an incoming I2CP message.Methods inherited from class HandlerImpl
getType
Constructor Details
MessageStatusMessageHandler
Create the handler for I2CP message status messages.- Parameters:
context- the client context this handler runs in, passed to the superclass for logging
Method Details
handleMessage
Handle an incoming I2CP message.- Parameters:
message- the inbound MessageStatusMessage to act on, already checked by the superclass to be of the type this handler registered forsession- the session that received the message, used to send the ReceiveMessageBeginMessage that fetches a newly available message