Package net.i2p.client.impl
Class I2PClientMessageHandlerMap
- java.lang.Object
-
- net.i2p.client.impl.I2PClientMessageHandlerMap
-
class I2PClientMessageHandlerMap extends Object
Contains a map of message handlers that a session will want to use- Author:
- jrandom
-
-
Field Summary
Fields Modifier and Type Field Description protected I2CPMessageHandler[]
_handlers
map of message type id --> I2CPMessageHandler
-
Constructor Summary
Constructors Modifier Constructor Description protected
I2PClientMessageHandlerMap(int highest)
for extensionI2PClientMessageHandlerMap(I2PAppContext context)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description I2CPMessageHandler
getHandler(int messageTypeId)
-
-
-
Field Detail
-
_handlers
protected final I2CPMessageHandler[] _handlers
map of message type id --> I2CPMessageHandler
-
-
Constructor Detail
-
I2PClientMessageHandlerMap
protected I2PClientMessageHandlerMap(int highest)
for extension
-
I2PClientMessageHandlerMap
public I2PClientMessageHandlerMap(I2PAppContext context)
-
-
Method Detail
-
getHandler
public I2CPMessageHandler getHandler(int messageTypeId)
-
-