Packages that use I2PException
Package
Description
Interfaces and factories for the base I2P SDK used to develop applications that communicate through I2P.
Internal implementation of the I2P client SDK - the client side of the Invisible Internet Client Protocol (I2CP), separating implementation from the interfaces in
net.i2p.client. API, interfaces, and factory for a TCP-like (reliable, authenticated, in order) set of sockets for communicating over IP-like (unreliable, unauthenticated, unordered) I2P messages.
Implementation of a TCP-like (reliable, authenticated, in order) set of sockets for communicating over the IP-like (unreliable, unauthenticated, unordered) I2P messages.
Common data structures used by the I2P protocols: Destination, LeaseSet, PublicKey, Signature, Certificate and their friends.
The Invisible Internet Client Protocol (I2CP) allows applications simplified access to I2P network without requiring them to deal with the issues involved with the Invisible Internet Network Protocol (I2NP).
Low-level messages sent between routers - the Invisible Internet Network Protocol (I2NP).
Implementation of preconfigured tunnels for clients and servers, including special-purpose tunnels for IRC, SOCKS, HTTP and streaming.
SOCKS 4, 4a and 5 server implementations exposing I2P client tunnels to SOCKS clients.
SSU2, the UDP transport: datagram sessions with Holepunch peer discovery, plus the older SSU compatibility code.
The SAM bridge: a simple text protocol server letting applications in any language use I2P streaming and datagram sessions without implementing the Invisible Internet Client Protocol (I2CP).
Uses of I2PException in net.i2p.client
Subclasses of I2PException in net.i2p.clientModifier and TypeClassDescriptionclassThrown when there is a problem doing something on the session.Methods in net.i2p.client that throw I2PExceptionModifier and TypeMethodDescriptionI2PClient.createDestination(OutputStream destKeyStream) Create a new destination with the default certificate creation properties and store it, along with the private encryption and signing keys at the specified location.I2PClient.createDestination(OutputStream destKeyStream, SigType type) Create a destination with the given signature type.I2PClient.createDestination(OutputStream destKeyStream, Certificate cert) Create a new destination with the given certificate and store it, along with the private encryption and signing keys at the specified location.Uses of I2PException in net.i2p.client.impl
Methods in net.i2p.client.impl that throw I2PExceptionModifier and TypeMethodDescriptionI2PClientImpl.createDestination(OutputStream destKeyStream) Create a destination with a DSA 1024/160 signature type and a null certificate.I2PClientImpl.createDestination(OutputStream destKeyStream, SigType type) Create a destination with the given signature type.I2PClientImpl.createDestination(OutputStream destKeyStream, Certificate cert) Create the destination with the given payload and write it out along with the PrivateKey and SigningPrivateKey to the destKeyStreamUses of I2PException in net.i2p.client.streaming
Subclasses of I2PException in net.i2p.client.streamingModifier and TypeClassDescriptionclassAn I2PException thrown fromI2PServerSocket.accept()when the router is restarting.Methods in net.i2p.client.streaming that throw I2PExceptionModifier and TypeMethodDescriptionprotected abstract I2PSocketAcceptingChannel.accept()Accept an incoming connection.I2PServerSocket.accept()Waits for the next socket connecting.voidI2PServerSocket.close()Closes the socket.I2PSocketManager.connect(Destination peer) Create a new connected socket (block until the socket is created).I2PSocketManager.connect(Destination peer, I2PSocketOptions options) Create a new connected socket (block until the socket is created).Uses of I2PException in net.i2p.client.streaming.impl
Subclasses of I2PException in net.i2p.client.streaming.implModifier and TypeClassDescriptionclassWe attempted to have more open streams than we are willing to put up with.Methods in net.i2p.client.streaming.impl that throw I2PExceptionModifier and TypeMethodDescriptionI2PServerSocketFull.accept()Waits for the next socket connecting.I2PSocketManagerFull.connect(Destination peer) Create a new connected socket.I2PSocketManagerFull.connect(Destination peer, I2PSocketOptions options) Create a new connected socket.(package private) voidConnectionPacketHandler.receivePacket(Packet packet, Connection con) Takes ownership of the packet and calls packet.releasePayload() unless it is passed to the MessageInputStream.I2PSocketManagerFull.receiveSocket()The accept() call.private booleanConnectionPacketHandler.verifyPacket(Packet packet, Connection con) Make sure this packet is ok and that we can continue processing its data.private voidI2PSocketManagerFull.verifySession()Verify the session is connected, reconnecting if needed.private voidI2PSocketManagerFull.verifySession(I2PSession session) Throw unless the session is alive and ready.private voidConnectionPacketHandler.verifySignature(Packet packet, Connection con) Verify the signature if necessary.Uses of I2PException in net.i2p.data
Subclasses of I2PException in net.i2p.dataModifier and TypeClassDescriptionclassThrown when the data was not available to read or write a DataStructure.Methods in net.i2p.data that throw I2PExceptionModifier and TypeMethodDescriptionPrivateKeyFile.createIfAbsent()Create with the default signature type if nonexistent.PrivateKeyFile.createIfAbsent(SigType type) Create with the specified signature type if nonexistent.private DestinationPrivateKeyFile.createIfAbsent(SigType type, EncType ptype) Create with the specified signature and encryption types if nonexistent.Uses of I2PException in net.i2p.data.i2cp
Subclasses of I2PException in net.i2p.data.i2cpModifier and TypeClassDescriptionclassRepresent an error serializing or deserializing a message.Uses of I2PException in net.i2p.data.i2np
Subclasses of I2PException in net.i2p.data.i2npModifier and TypeClassDescriptionclassRepresent an error serializing or deserializing an APIMessage.Uses of I2PException in net.i2p.i2ptunnel
Methods in net.i2p.i2ptunnel that throw I2PExceptionModifier and TypeMethodDescriptionI2PTunnelClientBase.createI2PSocket(Destination dest) Create a new I2PSocket towards to the specified destination, adding it to the list of connections actually managed by this tunnel.I2PTunnelClientBase.createI2PSocket(Destination dest, int port) Create a new I2PSocket towards to the specified destination, adding it to the list of connections actually managed by this tunnel.I2PTunnelClientBase.createI2PSocket(Destination dest, I2PSocketOptions opt) Create a new I2PSocket towards to the specified destination, adding it to the list of connections actually managed by this tunnel.(package private) I2PSocketI2PTunnelClientBase.createI2PSocket(Destination dest, I2PSocketOptions opt, long deadlineMs) Create a new I2PSocket bounded by a shared request deadline.private I2PSocketI2PTunnelClientBase.createI2PSocketWithFailover(Destination dest, I2PSocketOptions opt, long deadlineMs) Create a new I2PSocket with retry/failover across the session's tunnel pool.private DestinationFinds the destination for a name or address.private static voidI2PTunnel.writePubKey(Destination d, OutputStream o, Logging l) Write out the destination to the stream Deprecated - only used by CLI.Uses of I2PException in net.i2p.i2ptunnel.socks
Methods in net.i2p.i2ptunnel.socks that throw I2PExceptionModifier and TypeMethodDescriptionprivate I2PSocketSOCKS5Server.connectToDestination(I2PSOCKSTunnel t, DataOutputStream out) Connect to the requested destination via I2P, an outproxy plugin, or a configured outproxy.protected I2PSocketSOCKSServer.outproxyConnect(I2PSOCKSTunnel tun, String proxy) Act as a SOCKS 5 client to connect to an outproxy Caller must send success or error to local socks client.Uses of I2PException in net.i2p.router.transport.udp
Subclasses of I2PException in net.i2p.router.transport.udpModifier and TypeClassDescription(package private) static classFor throwing out of gotRI().Uses of I2PException in net.i2p.sam
Methods in net.i2p.sam that throw I2PExceptionModifier and TypeMethodDescriptionbooleanSAMStreamSession.connect(int id, String dest, Properties props) Connect the SAM STREAM session to the specified Destination.