java.lang.Object
net.i2p.client.impl.HandlerImpl
net.i2p.client.impl.SessionStatusMessageHandler
- All Implemented Interfaces:
I2CPMessageHandler
Handle I2CP SessionStatusMessagese from the router, updating the session as necessary.
Field Summary
Fields inherited from class HandlerImpl
_context, _logModifier and TypeFieldDescriptionprotected final I2PAppContextThe application context.protected final LogThe logger.Constructor Summary
ConstructorsConstructorDescriptionSessionStatusMessageHandler(I2PAppContext context) Create the handler for I2CP session 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
SessionStatusMessageHandler
Create the handler for I2CP session status messages.- Parameters:
context- the containing application context, used to construct the base handler
Method Details
handleMessage
Handle an incoming I2CP message.- Parameters:
message- the SessionStatusMessage being handledsession- the session to apply the reported status to