Uses of Class
net.i2p.router.transport.ntcp.NTCPConnection
Package
Description
The NTCP transport allows passing I2P messages on top of TCP.
-
Uses of NTCPConnection in net.i2p.router.transport.ntcp
Modifier and TypeMethodDescription(package private) NTCPConnection
NTCPTransport.inboundEstablished
(NTCPConnection con) (package private) NTCPConnection
NTCPTransport.removeCon
(NTCPConnection con) Modifier and TypeMethodDescriptionvoid
Reader.connectionClosed
(NTCPConnection con) void
Writer.connectionClosed
(NTCPConnection con) (package private) void
NTCPTransport.establishing
(NTCPConnection con) add us to the establishment timeout process(package private) NTCPConnection
NTCPTransport.inboundEstablished
(NTCPConnection con) boolean
EventPumper.processWrite
(NTCPConnection con, SelectionKey key) Asynchronous write all buffers to the channel.void
EventPumper.registerConnect
(NTCPConnection con) Outbound(package private) NTCPConnection
NTCPTransport.removeCon
(NTCPConnection con) void
EventPumper.wantsRead
(NTCPConnection con) This is only called from NTCPConnection.complete() if there is more data, which is rare (never?) so we don't need to check for dups or make _wantsRead a Set.void
Reader.wantsRead
(NTCPConnection con) void
EventPumper.wantsWrite
(NTCPConnection con) Called by the connection when it has data ready to write (after bw allocation).void
Writer.wantsWrite
(NTCPConnection con, String source) ModifierConstructorDescriptionprotected
EstablishBase
(RouterContext ctx, NTCPTransport transport, NTCPConnection con) InboundEstablishState
(RouterContext ctx, NTCPTransport transport, NTCPConnection con) OutboundNTCP2State
(RouterContext ctx, NTCPTransport transport, NTCPConnection con)