Uses of Class
net.i2p.client.impl.I2PSessionImpl
| Package | Description |
|---|---|
| net.i2p.client.impl |
Implements the base I2P SDK for developing applications that communicate
through I2P.
|
-
Uses of I2PSessionImpl in net.i2p.client.impl
Subclasses of I2PSessionImpl in net.i2p.client.impl Modifier and Type Class Description (package private) classI2PSessionImpl2Thread safe implementation of an I2P session running over TCP.(package private) classI2PSessionMuxedImplI2PSession with protocol and ports Streaming lib has been modified to send I2PSession.PROTO_STREAMING but still receives all.classI2PSimpleSessionCreate a new session for doing naming and bandwidth queries only.(package private) classSubSessionAn additional session using another session's connection.Methods in net.i2p.client.impl with parameters of type I2PSessionImpl Modifier and Type Method Description voidI2CPMessageProducer. connect(I2PSessionImpl session)Send all the messages that a client needs to send to a router to establish a new session.voidI2CPMessageProducer. createLeaseSet(I2PSessionImpl session, LeaseSet leaseSet, SigningPrivateKey signingPriv, List<PrivateKey> privs)In response to a RequestLeaseSet Message from the router, send a CreateLeaseset Message back to the router.voidI2CPMessageProducer. disconnect(I2PSessionImpl session)Send messages to the router destroying the session and disconnectingvoidBWLimitsMessageHandler. handleMessage(I2CPMessage message, I2PSessionImpl session)voidDestReplyMessageHandler. handleMessage(I2CPMessage message, I2PSessionImpl session)voidDisconnectMessageHandler. handleMessage(I2CPMessage message, I2PSessionImpl session)voidHostReplyMessageHandler. handleMessage(I2CPMessage message, I2PSessionImpl session)voidI2CPMessageHandler. handleMessage(I2CPMessage message, I2PSessionImpl session)voidMessagePayloadMessageHandler. handleMessage(I2CPMessage message, I2PSessionImpl session)voidMessageStatusMessageHandler. handleMessage(I2CPMessage message, I2PSessionImpl session)voidRequestLeaseSetMessageHandler. handleMessage(I2CPMessage message, I2PSessionImpl session)voidRequestVariableLeaseSetMessageHandler. handleMessage(I2CPMessage message, I2PSessionImpl session)voidSessionStatusMessageHandler. handleMessage(I2CPMessage message, I2PSessionImpl session)voidSetDateMessageHandler. handleMessage(I2CPMessage message, I2PSessionImpl session)voidI2CPMessageProducer. reportAbuse(I2PSessionImpl session, int msgId, int severity)Send an abuse message to the routerprotected booleanRequestLeaseSetMessageHandler. requiresLS2(I2PSessionImpl session)Do we send a LeaseSet or a LeaseSet2? Side effect: sets _ls2TypevoidI2CPMessageProducer. sendMessage(I2PSessionImpl session, Destination dest, long nonce, byte[] payload, long expires, int flags)Package up and send the payload to the router for deliveryvoidI2CPMessageProducer. sendMessage(I2PSessionImpl session, Destination dest, long nonce, byte[] payload, SendMessageOptions options)Package up and send the payload to the router for deliveryvoidI2CPMessageProducer. sendMessage(I2PSessionImpl session, Destination dest, long nonce, byte[] payload, SessionTag tag, SessionKey key, Set<SessionTag> tags, SessionKey newKey, long expires)Package up and send the payload to the router for deliveryprotected voidRequestLeaseSetMessageHandler. signLeaseSet(LeaseSet leaseSet, boolean isLS2, I2PSessionImpl session)Finish creating and signing the new LeaseSetvoidI2CPMessageProducer. updateBandwidth(I2PSessionImpl session)Update the bandwidth settingvoidI2CPMessageProducer. updateTunnels(I2PSessionImpl session, int tunnels)Update number of tunnelsConstructors in net.i2p.client.impl with parameters of type I2PSessionImpl Constructor Description ClientWriterRunner(OutputStream out, I2PSessionImpl session)As of 0.9.11 does not start the thread, caller must call startWriting()I2PSessionImpl(I2PSessionImpl primary, InputStream destKeyStream, Properties options)I2PSessionImpl2(I2PSessionImpl primary, InputStream destKeyStream, Properties options)I2PSessionMuxedImpl(I2PSessionImpl primary, InputStream destKeyStream, Properties options)SessionIdleTimer(I2PAppContext context, I2PSessionImpl session, boolean reduce, boolean shutdown)reduce, shutdown, or both must be true