java.lang.Object
net.i2p.i2ptunnel.irc.IrcOutboundFilter
- All Implemented Interfaces:
Runnable
Field Summary
FieldsModifier and TypeFieldDescriptionprivate final DCCHelperRewrites DCC lines for I2P addresses.private final LogLogger for this class.private final StringBufferThe PONG reply awaited from the client.private final SocketThe local IRC client's socket.private final I2PSocketThe I2P socket to the IRC server.Constructor Summary
ConstructorsConstructorDescriptionIrcOutboundFilter(Socket lcl, I2PSocket rem, StringBuffer pong, Log log) Create an outbound filter without DCC support.IrcOutboundFilter(Socket lcl, I2PSocket rem, StringBuffer pong, Log log, DCCHelper helper) Create an outbound filter with optional DCC support.Method Summary
All Methods
Field Details
local
The local IRC client's socket.remote
The I2P socket to the IRC server.expectedPong
The PONG reply awaited from the client._log
Logger for this class._dccHelper
Rewrites DCC lines for I2P addresses.
Constructor Details
IrcOutboundFilter
Create an outbound filter without DCC support.- Parameters:
lcl- the local socketrem- the remote I2P socketpong- buffer for expected PONG responseslog- logger used for filter messages
IrcOutboundFilter
Create an outbound filter with optional DCC support.- Parameters:
lcl- the local socketrem- the remote I2P socketpong- buffer for expected PONG responseslog- logger used for filter messageshelper- may be null
Method Details
run