Package net.i2p.i2ptunnel.udp
Class I2PSource
java.lang.Object
net.i2p.i2ptunnel.udp.I2PSource
- All Implemented Interfaces:
Source
Refactored in 0.9.53 to support I2CP protocols and ports
- Author:
- welterde
-
Nested Class Summary
Modifier and TypeClassDescriptionprotected class
static enum
-
Field Summary
-
Constructor Summary
ConstructorDescriptionI2PSource
(I2PSession sess) Handles both REPLIABLE and RAW on any portI2PSource
(I2PSession sess, I2PSource.Protocol protocol) Listen on all I2CP ports.I2PSource
(I2PSession sess, I2PSource.Protocol protocol, int port) -
Method Summary
-
Field Details
-
sess
-
sink
-
-
Constructor Details
-
I2PSource
Handles both REPLIABLE and RAW on any port -
I2PSource
Listen on all I2CP ports. No support for arbitrary protocol numbers.- Parameters:
protocol
- REPLIABLE, RAW, or BOTH- Since:
- 0.9.53
-
I2PSource
- Parameters:
protocol
- REPLIABLE, RAW, or BOTHport
- I2CP port or I2PSession.PORT_ANY- Since:
- 0.9.53
-
-
Method Details