Uses of Class
net.i2p.data.Destination
Packages that use Destination
Package
Description
The SusiDNS webapp, which is the user interface for the addressbook application
and the local naming service (hosts database) implemented in net.i2p.client.naming.
Interfaces and factories for
the base I2P SDK used to develop applications that communicate
through I2P.
Provides a standard way for reading and writing messages transferred over I2P
so that the recipient has an authenticated mechanism to reply to it.
Implements the base I2P SDK for developing applications that communicate
through I2P.
Provides a standard way for querying the local naming service to resolve a
name into a
Destination (without the complexity of JNDI).API, interfaces, and factory for a TCP-like (reliable, authenticated, in order) set of sockets for
communicating over the 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.
These classes define the common data structures used by the various
I2P protocols.
The Invisible Internet Client Protocol (I2CP) allows applications simplified access to
the I2P network without requiring them to deal with the issues involved with the
Invisible Internet Network Protocol (I2NP).
Implementation of preconfigured tunnels, both for clients and servers,
and a UI for adding more and editing the configuration.
These classes are the implementation of a definition-based
incoming connection filter.
SOCKS 4, 4a, and 5 client tunnels.
Special-purpose client and server tunnels for streaming UDP clients and servers,
generally for audio and video streaming.
A small API used by UDP tunnels.
Classes for configuring tunnels, used externally by Android.
The UI for adding tunnels and editing their configurations,
implemented as a webapp packaged in i2ptunnel.war.
The I2P router application handles the I2P network communication.
Implements the router side of the I2CP interface,
which is the API for applications to send and receive data through the router.
Implementation of ECIES-X25519-AEAD-Ratchet (proposal 144).
Dummy versions of things for testing.
Creates and parses garlic messages.
The BlockfileNamingService based on the Metanotion BlockFile Database.
The network database, including implementation of floodfills.
Tunnel creation, tunnel build message handling.
The SAM client API.
I2P version of the snark bittorrent client, imported in 2005 and heavily enhanced
to add a web UI, DHT support, and other features.
-
Uses of Destination in i2p.susi.dns
Constructors in i2p.susi.dns with parameters of type Destination -
Uses of Destination in net.i2p.client
Methods in net.i2p.client that return DestinationModifier 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 Caller must close stream.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 Caller must close stream.I2PSimpleClient.createDestination(OutputStream destKeyStream) Deprecated.Don't do thisI2PSimpleClient.createDestination(OutputStream destKeyStream, SigType type) Deprecated.Don't do thisI2PSimpleClient.createDestination(OutputStream destKeyStream, Certificate cert) Deprecated.Don't do thisLookupResult.getDestination()I2PSession.getMyDestination()Retrieve the Destination this session serves as the endpoint for.I2PSession.lookupDest(String name) Ask the router to lookup a Destination by hostname.I2PSession.lookupDest(String name, long maxWait) Ask the router to lookup a Destination by hostname.I2PSession.lookupDest(Hash h) Lookup a Destination by Hash.I2PSession.lookupDest(Hash h, long maxWait) Lookup a Destination by Hash.Methods in net.i2p.client with parameters of type DestinationModifier and TypeMethodDescriptionbooleanI2PSession.sendMessage(Destination dest, byte[] payload) Send a new message to the given destination, containing the specified payload, returning true if the router feels confident that the message was delivered.booleanI2PSession.sendMessage(Destination dest, byte[] payload, int offset, int size) Send a new message to the given destination, containing the specified payload, returning true if the router feels confident that the message was delivered.booleanI2PSession.sendMessage(Destination dest, byte[] payload, int proto, int fromport, int toport) See I2PSessionMuxedImpl for proto/port details.booleanI2PSession.sendMessage(Destination dest, byte[] payload, int offset, int size, int proto, int fromPort, int toPort, SendMessageOptions options) See I2PSessionMuxedImpl for proto/port details.longI2PSession.sendMessage(Destination dest, byte[] payload, int offset, int size, int proto, int fromPort, int toPort, SendMessageOptions options, SendMessageStatusListener listener) Send a message and request an asynchronous notification of delivery status.booleanI2PSession.sendMessage(Destination dest, byte[] payload, int offset, int size, SessionKey keyUsed, Set<SessionTag> tagsSent) End-to-End Crypto is disabled, tags and keys are ignored.booleanI2PSession.sendMessage(Destination dest, byte[] payload, int offset, int size, SessionKey keyUsed, Set<SessionTag> tagsSent, int proto, int fromPort, int toPort) See I2PSessionMuxedImpl for proto/port details.booleanI2PSession.sendMessage(Destination dest, byte[] payload, int offset, int size, SessionKey keyUsed, Set<SessionTag> tagsSent, long expire) End-to-End Crypto is disabled, tags and keys are ignored.booleanI2PSession.sendMessage(Destination dest, byte[] payload, int offset, int size, SessionKey keyUsed, Set<SessionTag> tagsSent, long expire, int proto, int fromPort, int toPort) See I2PSessionMuxedImpl for proto/port details.booleanI2PSession.sendMessage(Destination dest, byte[] payload, int offset, int size, SessionKey keyUsed, Set<SessionTag> tagsSent, long expire, int proto, int fromPort, int toPort, int flags) See I2PSessionMuxedImpl for proto/port details.booleanI2PSession.sendMessage(Destination dest, byte[] payload, SessionKey keyUsed, Set<SessionTag> tagsSent) End-to-End Crypto is disabled, tags and keys are ignored! Like sendMessage above, except the key used and the tags sent are exposed to the application. -
Uses of Destination in net.i2p.client.datagram
Methods in net.i2p.client.datagram that return DestinationModifier and TypeMethodDescriptionI2PDatagramDissector.extractSender()Extract the sender of an I2P repliable datagram (previously loaded with the loadI2PDatagram() method), without verifying the datagram signature.Datagram2.getSender()Get the sender of an I2P repliable datagram (previously loaded with the load() method)I2PDatagramDissector.getSender()Get the sender of an I2P repliable datagram (previously loaded with the loadI2PDatagram() method), verifying the datagram signature. -
Uses of Destination in net.i2p.client.impl
Methods in net.i2p.client.impl that return DestinationModifier 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 destKeyStream If cert is a KeyCertificate, the signing keypair will be of the specified type.LkupResult.getDestination()I2PSessionImpl.getMyDestination()Retrieve the destination of the sessionI2PSessionImpl.lookupDest(String name) Ask the router to lookup a Destination by hostname.I2PSessionImpl.lookupDest(String name, long maxWait) Ask the router to lookup a Destination by hostname.I2PSessionImpl.lookupDest(Hash h) Blocking.I2PSessionImpl.lookupDest(Hash h, long maxWait) Blocking.SubSession.lookupDest(String name) Ask the router to lookup a Destination by address.SubSession.lookupDest(String name, long maxWait) Ask the router to lookup a Destination by hostname.SubSession.lookupDest(Hash h) Blocking.SubSession.lookupDest(Hash h, long maxWait) Blocking.Methods in net.i2p.client.impl with parameters of type DestinationModifier and TypeMethodDescription(package private) voidI2PSessionImpl.destReceived(long nonce, Destination d) Called by the message handler on reception of HostReplyMessage(package private) voidI2PSessionImpl.destReceived(Destination d) Called by the message handler on reception of DestReplyMessage(package private) voidSubSession.destReceived(long nonce, Destination d) Called by the message handler on reception of HostReplyMessage(package private) voidSubSession.destReceived(Destination d) Called by the message handler on reception of DestReplyMessage This will never happen, as the dest reply message does not contain a session ID.protected booleanI2PSessionImpl2.sendBestEffort(Destination dest, byte[] payload, long expires, int flags) TODO - Don't need to save MessageState since actuallyWait is false...protected booleanI2PSessionImpl2.sendBestEffort(Destination dest, byte[] payload, SessionKey keyUsed, Set<SessionTag> tagsSent, long expires) voidI2CPMessageProducer.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 deliverybooleanI2PSessionImpl2.sendMessage(Destination dest, byte[] payload) unused, see MuxedImpl overridebooleanI2PSessionImpl2.sendMessage(Destination dest, byte[] payload, int offset, int size) booleanI2PSessionImpl2.sendMessage(Destination dest, byte[] payload, int proto, int fromport, int toport) booleanI2PSessionImpl2.sendMessage(Destination dest, byte[] payload, int offset, int size, int proto, int fromport, int toport, SendMessageOptions options) longI2PSessionImpl2.sendMessage(Destination dest, byte[] payload, int offset, int size, int proto, int fromport, int toport, SendMessageOptions options, SendMessageStatusListener listener) booleanI2PSessionImpl2.sendMessage(Destination dest, byte[] payload, int offset, int size, SessionKey keyUsed, Set<SessionTag> tagsSent) booleanI2PSessionImpl2.sendMessage(Destination dest, byte[] payload, int offset, int size, SessionKey keyUsed, Set<SessionTag> tagsSent, int proto, int fromport, int toport) booleanI2PSessionImpl2.sendMessage(Destination dest, byte[] payload, int offset, int size, SessionKey keyUsed, Set<SessionTag> tagsSent, long expires) Unused? see MuxedImpl overridebooleanI2PSessionImpl2.sendMessage(Destination dest, byte[] payload, int offset, int size, SessionKey keyUsed, Set<SessionTag> tagsSent, long expire, int proto, int fromport, int toport) booleanI2PSessionImpl2.sendMessage(Destination dest, byte[] payload, int offset, int size, SessionKey keyUsed, Set<SessionTag> tagsSent, long expire, int proto, int fromport, int toport, int flags) booleanI2PSessionImpl2.sendMessage(Destination dest, byte[] payload, SessionKey keyUsed, Set<SessionTag> tagsSent) booleanI2PSessionMuxedImpl.sendMessage(Destination dest, byte[] payload) booleanI2PSessionMuxedImpl.sendMessage(Destination dest, byte[] payload, int proto, int fromport, int toport) booleanI2PSessionMuxedImpl.sendMessage(Destination dest, byte[] payload, int offset, int size, int proto, int fromPort, int toPort, SendMessageOptions options) See SendMessageOptions for option details.longI2PSessionMuxedImpl.sendMessage(Destination dest, byte[] payload, int offset, int size, int proto, int fromPort, int toPort, SendMessageOptions options, SendMessageStatusListener listener) Send a message and request an asynchronous notification of delivery status.booleanI2PSessionMuxedImpl.sendMessage(Destination dest, byte[] payload, int offset, int size, SessionKey keyUsed, Set<SessionTag> tagsSent, int proto, int fromport, int toport) booleanI2PSessionMuxedImpl.sendMessage(Destination dest, byte[] payload, int offset, int size, SessionKey keyUsed, Set<SessionTag> tagsSent, long expires) booleanI2PSessionMuxedImpl.sendMessage(Destination dest, byte[] payload, int offset, int size, SessionKey keyUsed, Set<SessionTag> tagsSent, long expires, int proto, int fromPort, int toPort) booleanI2PSessionMuxedImpl.sendMessage(Destination dest, byte[] payload, int offset, int size, SessionKey keyUsed, Set<SessionTag> tagsSent, long expires, int proto, int fromPort, int toPort, int flags) protected booleanI2PSessionImpl2.sendNoEffort(Destination dest, byte[] payload, long expires, int flags) Same as sendBestEffort(), except we do not expect any MessageStatusMessage responses - not for accepted, or success, or failure.Constructors in net.i2p.client.impl with parameters of type DestinationModifierConstructorDescription(package private)LkupResult(int code, Destination dest) (package private)LkupResult(int code, Destination dest, int nonce) Async -
Uses of Destination in net.i2p.client.naming
Methods in net.i2p.client.naming that return DestinationModifier and TypeMethodDescriptionprotected static DestinationDummyNamingService.lookup(String hostname, Properties lookupOptions, Properties storedOptions) Deprecated.EepGetNamingService.lookup(String hostname, Properties lookupOptions, Properties storedOptions) HostsTxtNamingService.lookup(String hostname, Properties lookupOptions, Properties storedOptions) MetaNamingService.lookup(String hostname, Properties lookupOptions, Properties storedOptions) Look up a hostname.abstract DestinationNamingService.lookup(String hostname, Properties lookupOptions, Properties storedOptions) Same as lookup(hostname) but with in and out options Note that whether this (and lookup(hostname)) resolve Base 32 addresses in the form {52 chars}.b32.i2p is NamingService-specific.Same as lookupBase32() but with the SHA256 Hash precalculated This implementation returns null.SingleFileNamingService.lookup(String hostname, Properties lookupOptions, Properties storedOptions) Will strip a "www." prefix and retry if lookup failsNamingService.lookupBase32(String address, int timeout) Lookup a Base 32 address.(package private) static DestinationLookupDest.lookupBase32Hash(I2PAppContext ctx, String key) protected DestinationNamingService.lookupBase64(String address) If the address is a valid Base64 encoded destination, return the decoded Destination.(package private) static DestinationLookupDest.lookupHostname(I2PAppContext ctx, String hostname) Any hostname, but this is for long-format b32Methods in net.i2p.client.naming that return types with arguments of type DestinationModifier and TypeMethodDescriptionMetaNamingService.getEntries(Properties options) All services aggregatedNamingService.getEntries()Warning - This obviously brings the whole database into memory, so use is discouraged.NamingService.getEntries(Properties options) Warning - This will bring the whole database into memory if options is null, empty, or unsupported, use with caution.SingleFileNamingService.getEntries(Properties options) For NamingServices that support multiple Destinations for a single hostname, return all of them.NamingService.lookupAll(String hostname, Properties lookupOptions, List<Properties> storedOptions) For NamingServices that support multiple Destinations and Properties for a single hostname, return all of them.Methods in net.i2p.client.naming with parameters of type DestinationModifier and TypeMethodDescriptionbooleanNamingService.addDestination(String hostname, Destination d) Add a Destination to an existing hostname's entry in the addressbook.booleanNamingService.addDestination(String hostname, Destination d, Properties options) Add a Destination to an existing hostname's entry in the addressbook.voidNamingServiceListener.entryAdded(NamingService ns, String hostname, Destination dest, Properties options) voidNamingServiceListener.entryChanged(NamingService ns, String hostname, Destination dest, Properties options) booleanHostsTxtNamingService.put(String hostname, Destination d, Properties options) booleanMetaNamingService.put(String hostname, Destination d, Properties options) Stores in the last servicebooleanNamingService.put(String hostname, Destination d) Add a hostname and Destination to the addressbook.booleanNamingService.put(String hostname, Destination d, Properties options) Add a hostname and Destination to the addressbook.booleanSingleFileNamingService.put(String hostname, Destination d, Properties options) protected static voidDummyNamingService.putCache(String s, Destination d) Provide basic static caching for all servicesbooleanHostsTxtNamingService.putIfAbsent(String hostname, Destination d, Properties options) booleanMetaNamingService.putIfAbsent(String hostname, Destination d, Properties options) Stores in the last servicebooleanNamingService.putIfAbsent(String hostname, Destination d) Add a hostname and Destination to the addressbook.booleanNamingService.putIfAbsent(String hostname, Destination d, Properties options) Add a hostname and Destination to the addressbook.booleanSingleFileNamingService.putIfAbsent(String hostname, Destination d, Properties options) booleanNamingService.remove(String hostname, Destination d) Remove a hostname's entry only if it contains the Destination d.booleanNamingService.remove(String hostname, Destination d, Properties options) Remove a hostname's entry only if it contains the Destination d.MetaNamingService.reverseLookup(Destination dest, Properties options) NamingService.reverseLookup(Destination dest) Reverse lookup a destination This implementation returns reverseLookup(dest, null).NamingService.reverseLookup(Destination d, Properties options) Same as reverseLookup(dest) but with options This implementation returns null.SingleFileNamingService.reverseLookup(Destination dest, Properties options) NamingService.reverseLookupAll(Destination dest) Reverse lookup a destination This implementation returns reverseLookupAll(dest, null).NamingService.reverseLookupAll(Destination d, Properties options) Same as reverseLookupAll(dest) but with options This implementation returns the result from reverseLookup, or null.booleanNamingService.update(String hostname, Destination d, Properties options) Fails if entry did not previously exist.Method parameters in net.i2p.client.naming with type arguments of type DestinationModifier and TypeMethodDescriptionbooleanNamingService.putAll(Map<String, Destination> entries, Properties options) Put all the entries, each with the given options. -
Uses of Destination in net.i2p.client.streaming
Methods in net.i2p.client.streaming that return DestinationModifier and TypeMethodDescriptionI2PSocketAddress.getAddress()Does a naming service lookup to resolve the dest if this was created unresolved or if the resolution failed in the constructor.I2PSocket.getPeerDestination()I2PSocket.getThisDestination()Methods in net.i2p.client.streaming with parameters of type DestinationModifier and TypeMethodDescriptionbooleanIncomingConnectionFilter.allowDestination(Destination d) 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)I2PSocketManager.connectToSocket(Destination peer) Like connect() but returns a real Socket, and throws only IOE, for easier porting of apps.I2PSocketManager.connectToSocket(Destination peer, int timeout) Like connect() but returns a real Socket, and throws only IOE, for easier porting of apps.booleanI2PSocketManager.ping(Destination peer, int localPort, int remotePort, long timeoutMs) Ping the specified peer, returning true if they replied to the ping within the timeout specified, false otherwise.byte[]I2PSocketManager.ping(Destination peer, int localPort, int remotePort, long timeoutMs, byte[] payload) Ping the specified peer, returning true if they replied to the ping within the timeout specified, false otherwise.booleanI2PSocketManager.ping(Destination peer, long timeoutMs) Ping the specified peer, returning true if they replied to the ping within the timeout specified, false otherwise.Constructors in net.i2p.client.streaming with parameters of type DestinationModifierConstructorDescriptionI2PSocketAddress(Destination dest, int port) Does not do a reverse lookup. -
Uses of Destination in net.i2p.client.streaming.impl
Fields in net.i2p.client.streaming.impl declared as DestinationMethods in net.i2p.client.streaming.impl that return DestinationModifier and TypeMethodDescriptionPacket.getOptionalFrom()the sender of the packet (only included if the flag for it is set)I2PSocketFull.getPeerDestination()Connection.getRemotePeer()who are we talking withI2PSocketFull.getThisDestination()PacketLocal.getTo()Methods in net.i2p.client.streaming.impl with parameters of type DestinationModifier and TypeMethodDescriptionConnectionManager.connect(Destination peer, ConnectionOptions opts, I2PSession session) Build a new connection to the given peer.I2PSocketManagerFull.connect(Destination peer) Create a new connected socket.I2PSocketManagerFull.connect(Destination peer, I2PSocketOptions options) Create a new connected socket.I2PSocketManagerFull.connectToSocket(Destination peer) Like connect() but returns a real Socket, and throws only IOE, for easier porting of apps.I2PSocketManagerFull.connectToSocket(Destination peer, int timeout) Like connect() but returns a real Socket, and throws only IOE, for easier porting of apps.booleanConnectionManager.ping(Destination peer, int fromPort, int toPort, long timeoutMs) blockingbooleanConnectionManager.ping(Destination peer, int fromPort, int toPort, long timeoutMs, boolean blocking) booleanConnectionManager.ping(Destination peer, int fromPort, int toPort, long timeoutMs, boolean blocking, ConnectionManager.PingNotifier notifier) byte[]ConnectionManager.ping(Destination peer, int fromPort, int toPort, long timeoutMs, byte[] payload) blockingbooleanConnectionManager.ping(Destination peer, long timeoutMs) blockingbooleanI2PSocketManagerFull.ping(Destination peer, int localPort, int remotePort, long timeoutMs) Ping the specified peer, returning true if they replied to the ping within the timeout specified, false otherwise.byte[]I2PSocketManagerFull.ping(Destination peer, int localPort, int remotePort, long timeoutMs, byte[] payload) Ping the specified peer, returning true if they replied to the ping within the timeout specified, false otherwise.booleanI2PSocketManagerFull.ping(Destination peer, long timeoutMs) Ping the specified peer, returning true if they replied to the ping within the timeout specified, false otherwise.voidConnection.setRemotePeer(Destination peer) Constructors in net.i2p.client.streaming.impl with parameters of type DestinationModifierConstructorDescriptionPacketLocal(I2PAppContext ctx, Destination to, I2PSession session) not bound to a connectionPacketLocal(I2PAppContext ctx, Destination to, Connection con) bound to a connection -
Uses of Destination in net.i2p.data
Subclasses of Destination in net.i2p.dataModifier and TypeClassDescriptionclassExtend Destination with methods to verify its Certificate.Fields in net.i2p.data declared as DestinationModifier and TypeFieldDescriptionprotected DestinationLeaseSet._destinationprotected DestinationPrivateKeyFile.destMethods in net.i2p.data that return DestinationModifier and TypeMethodDescriptionstatic DestinationDestination.create(InputStream in) Pull from cache or return newPrivateKeyFile.createIfAbsent()Create with the default signature type if nonexistent.PrivateKeyFile.createIfAbsent(SigType type) Create with the specified signature type if nonexistent.BlindData.getDestination()LeaseSet.getDestination()Warning - will be null for LS2 EncryptedLeaseSets if not decryptedPrivateKeyFile.getDestination()If the destination is not set, read it in from the file.Methods in net.i2p.data with parameters of type DestinationModifier and TypeMethodDescriptionvoidBlindData.setDestination(Destination d) voidEncryptedLeaseSet.setDestination(Destination dest) Overridden to set the blinded key.voidLeaseSet.setDestination(Destination dest) voidPrivateKeyFile.setDestination(Destination d) static booleanPrivateKeyFile.verifySignature(Destination d) Sample code to verify a 3rd party signature.Constructors in net.i2p.data with parameters of type DestinationModifierConstructorDescriptionBlindData(I2PAppContext ctx, Destination dest, SigType blindType, String secret) BlindData(I2PAppContext ctx, Destination dest, SigType blindType, String secret, int authType, PrivateKey authKey) PrivateKeyFile(File file, Destination dest, PrivateKey pk, SigningPrivateKey spk) create from an existing Dest -
Uses of Destination in net.i2p.data.i2cp
Fields in net.i2p.data.i2cp declared as DestinationMethods in net.i2p.data.i2cp that return DestinationModifier and TypeMethodDescriptionDestReplyMessage.getDestination()HostReplyMessage.getDestination()SendMessageMessage.getDestination()SessionConfig.getDestination()Retrieve the destination for which this session is supposed to connectMethods in net.i2p.data.i2cp with parameters of type DestinationModifier and TypeMethodDescriptionvoidSendMessageMessage.setDestination(Destination destination) Deprecated.use 4-arg constructorConstructors in net.i2p.data.i2cp with parameters of type DestinationModifierConstructorDescriptionBlindingInfoMessage(Destination d, SessionId id, int expiration, int authType, SigType blindType, PrivateKey privKey, String secret) HostReplyMessage(SessionId id, Destination d, long reqID) A message with RESULT_SUCCESS and a non-null Destination.SendMessageExpiresMessage(SessionId sessID, Destination dest, Payload payload, long nonce) For writingSendMessageExpiresMessage(SessionId sessID, Destination dest, Payload payload, long nonce, DateAndFlags options) For writingSendMessageMessage(SessionId sessID, Destination dest, Payload payload, long nonce) For writingSessionConfig(Destination dest) -
Uses of Destination in net.i2p.i2ptunnel
Fields in net.i2p.i2ptunnel declared as DestinationFields in net.i2p.i2ptunnel with type parameters of type DestinationModifier and TypeFieldDescriptionprotected List<Destination> I2PTunnelClient.destsDeprecated.why protected? Is anybody using out-of-tree? Protected from the beginning (2004)Methods in net.i2p.i2ptunnel that return DestinationModifier and TypeMethodDescriptionstatic DestinationI2PTunnel.destFromName(String name) Deprecated.Don't use i2ptunnel for lookup! Use I2PAppContext.getGlobalContext().namingService().lookup(name) from i2p.jarTunnelController.getDestination()Returns null if not running.Methods in net.i2p.i2ptunnel with parameters of type DestinationModifier 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. -
Uses of Destination in net.i2p.i2ptunnel.access
Methods in net.i2p.i2ptunnel.access with parameters of type Destination -
Uses of Destination in net.i2p.i2ptunnel.socks
Methods in net.i2p.i2ptunnel.socks that return DestinationModifier and TypeMethodDescriptionSOCKSHeader.getDestination()SocketWrapper.getPeerDestination()SocketWrapper.getThisDestination()Methods in net.i2p.i2ptunnel.socks with parameters of type DestinationModifier and TypeMethodDescriptionvoidMultiSink.send(Destination from, int fromPort, int toPort, byte[] data) Send to a single sink looked up by toPort May throw RuntimeException from underlying sinksvoidSOCKSUDPPort.send(Destination from, int fromPort, int toPort, byte[] data) May throw RuntimeException from underlying sinkvoidSOCKSUDPUnwrapper.send(Destination ignored_from, int fromPort, int toPort, byte[] data) May throw RuntimeException from underlying sinkvoidSOCKSUDPWrapper.send(Destination from, int fromPort, int toPort, byte[] data) Use the cached header, which should have the host string and port May throw RuntimeException from underlying sinkConstructors in net.i2p.i2ptunnel.socks with parameters of type DestinationModifierConstructorDescriptionSOCKSHeader(Destination dest, int port) Make a dummy header from a dest, for those cases where we want to receive unsolicited datagrams. -
Uses of Destination in net.i2p.i2ptunnel.streamr
Fields in net.i2p.i2ptunnel.streamr declared as DestinationMethods in net.i2p.i2ptunnel.streamr with parameters of type DestinationModifier and TypeMethodDescriptionvoidMultiSource.send(Destination ignored_from, int ignored_fromPort, int ignored_toPort, byte[] data) May throw RuntimeException from underlying sinksvoidSubscriber.send(Destination dest, int fromPort, int toPort, byte[] data) Doesn't really "send" anywhere, just subscribes or unsubscribes the destinationConstructors in net.i2p.i2ptunnel.streamr with parameters of type Destination -
Uses of Destination in net.i2p.i2ptunnel.udp
Fields in net.i2p.i2ptunnel.udp declared as DestinationMethods in net.i2p.i2ptunnel.udp with parameters of type DestinationModifier and TypeMethodDescriptionvoidI2PSink.send(Destination src, int fromPort, int ign_toPort, byte[] data) voidI2PSinkAnywhere.send(Destination to, byte[] data) voidI2PSinkAnywhere.send(Destination to, int fromPort, int toPort, byte[] data) voidSink.send(Destination src, int fromPort, int toPort, byte[] data) voidUDPSink.send(Destination src, int fromPort, int toPort, byte[] data) Constructors in net.i2p.i2ptunnel.udp with parameters of type DestinationModifierConstructorDescriptionI2PSink(I2PSession sess, Destination dest) repliable (not raw)I2PSink(I2PSession sess, Destination dest, boolean raw) I2PSink(I2PSession sess, Destination dest, boolean raw, int toPort) -
Uses of Destination in net.i2p.i2ptunnel.udpTunnel
Methods in net.i2p.i2ptunnel.udpTunnel with parameters of type DestinationModifier and TypeMethodDescriptionvoidI2PTunnelUDPClientBase.send(Destination to, int fromPort, int toPort, byte[] data) Sink MethodsvoidI2PTunnelUDPServerBase.send(Destination to, int fromPort, int toPort, byte[] data) Sink Methods -
Uses of Destination in net.i2p.i2ptunnel.ui
Methods in net.i2p.i2ptunnel.ui that return DestinationModifier and TypeMethodDescriptionGeneralHelper.getAltDestination(int tunnel) Works even if tunnel is not running.GeneralHelper.getDestination(int tunnel) Works even if tunnel is not running.Methods in net.i2p.i2ptunnel.ui with parameters of type DestinationModifier and TypeMethodDescriptionvoidTunnelConfig.setDestination(Destination dest) This is easier than requiring TunnelConfig to talk to TunnelControllerGroup and TunnelController. -
Uses of Destination in net.i2p.i2ptunnel.web
Methods in net.i2p.i2ptunnel.web that return DestinationModifier and TypeMethodDescriptionprotected DestinationIndexBean.getAltDestination(int tunnel) Works even if tunnel is not running.protected DestinationIndexBean.getDestination(int tunnel) Works even if tunnel is not running. -
Uses of Destination in net.i2p.router
Methods in net.i2p.router that return DestinationModifier and TypeMethodDescriptionClientMessage.getDestination()Retrieve the destination to which this message is directed.ClientMessage.getFromDestination()Valid for outbound; null for inbound.abstract DestinationNetworkDatabaseFacade.lookupDestinationLocally(Hash key) Lookup locally in netDB and in badDest cache Succeeds even if LS validation failed due to unsupported sig typeMethods in net.i2p.router that return types with arguments of type DestinationModifier and TypeMethodDescriptionClientManagerFacade.listClients()Return the list of locally connected clientsMethods in net.i2p.router with parameters of type DestinationModifier and TypeMethodDescriptionbooleanTunnelManagerFacade.addAlias(Destination dest, ClientTunnelSettings settings, Destination existingClient) Add another destination to the same tunnels.voidTunnelManagerFacade.buildTunnels(Destination client, ClientTunnelSettings settings) the client connected (or updated their settings), so make sure we have the tunnels for them, and whenever necessary, ask them to authorize leases.abstract SessionConfigClientManagerFacade.getClientSessionConfig(Destination dest) Return the client's current config, or null if not connectedKeyManager.getKeys(Destination dest) clientabstract booleanClientManagerFacade.isLocal(Destination dest) Determine if the destination specified is managed locally.abstract voidClientManagerFacade.messageDeliveryStatusUpdate(Destination fromDest, MessageId id, long messageNonce, int status) voidKeyManager.registerKeys(Destination dest, SigningPrivateKey leaseRevocationPrivateKey, List<PrivateKey> endpointDecryptionKeys) Client with multiple keysvoidKeyManager.registerKeys(Destination dest, SigningPrivateKey leaseRevocationPrivateKey, PrivateKey endpointDecryptionKey) Client with a single keyvoidClientManagerFacade.registerMetaDest(Destination dest) Declare that we're going to publish a meta LS for this destination.voidTunnelManagerFacade.removeAlias(Destination dest) Remove another destination to the same tunnels.voidTunnelManagerFacade.removeTunnels(Destination client) Must be called AFTER deregistration by the client manager.abstract voidClientManagerFacade.reportAbuse(Destination dest, String reason, int severity) Instruct the client (or all clients) that they are under attack.abstract voidClientManagerFacade.requestLeaseSet(Destination dest, LeaseSet set, long timeout, Job onCreateJob, Job onFailedJob) Request that a particular client authorize the Leases contained in the LeaseSet, after which the onCreateJob is queued up.KeyManager.unregisterKeys(Destination dest) clientvoidClientManagerFacade.unregisterMetaDest(Destination dest) Declare that we're no longer going to publish a meta LS for this destination.Constructors in net.i2p.router with parameters of type DestinationModifierConstructorDescriptionClientMessage(Destination toDest, Payload payload, SessionConfig config, Destination fromDest, MessageId msgID, long messageNonce, long expiration, int flags) For outbound (locally originated)LeaseSetKeys(Destination dest, SigningPrivateKey revocationKey, List<PrivateKey> decryptionKeys) Client with multiple keysLeaseSetKeys(Destination dest, SigningPrivateKey revocationKey, PrivateKey decryptionKey) Client with a single key -
Uses of Destination in net.i2p.router.client
Methods in net.i2p.router.client that return DestinationModifier and TypeMethodDescriptionClientConnectionRunner.getDestination(SessionId id) Return the dest for the given IDMethods in net.i2p.router.client that return types with arguments of type DestinationModifier and TypeMethodDescription(package private) List<Destination> ClientConnectionRunner.getDestinations()Subsession aware.(package private) Set<Destination> ClientManager.getRunnerDestinations()ClientManager.listClients()Unsynchronized.ClientManagerFacadeImpl.listClients()Return the list of locally connected clientsMethods in net.i2p.router.client with parameters of type DestinationModifier and TypeMethodDescriptionintClientManager.destinationEstablished(ClientConnectionRunner runner, Destination dest) Add to the clients list.(package private) voidClientManager.distributeMessage(ClientConnectionRunner sender, Destination fromDest, Destination toDest, Payload payload, MessageId msgId, long messageNonce, long expiration, int flags) Distribute message to a local or remote destination.ClientManager.getClientSessionConfig(Destination dest) Return the client's current config, or null if not connectedClientManagerFacadeImpl.getClientSessionConfig(Destination dest) Return the client's current config, or null if not connected(package private) ClientConnectionRunnerClientManager.getRunner(Destination dest) UnsynchronizedbooleanClientManager.isLocal(Destination dest) Unsynchronized.booleanClientManagerFacadeImpl.isLocal(Destination dest) Determine if the destination specified is managed locally.voidClientManager.messageDeliveryStatusUpdate(Destination fromDest, MessageId id, long messageNonce, int status) voidClientManagerFacadeImpl.messageDeliveryStatusUpdate(Destination fromDest, MessageId id, long messageNonce, int status) (package private) booleanClientConnectionRunner.receiveMessage(Destination toDest, Destination fromDest, Payload payload) Synchronously deliver the message to the current runner Failure indication is available as of 0.9.29.(package private) booleanClientConnectionRunner.receiveMessage(Hash toHash, Destination fromDest, Payload payload) Synchronously deliver the message to the current runner Failure indication is available as of 0.9.29.voidClientManager.registerMetaDest(Destination dest) Declare that we're going to publish a meta LS for this destination.voidClientManagerFacadeImpl.registerMetaDest(Destination dest) Declare that we're going to publish a meta LS for this destination.voidClientConnectionRunner.reportAbuse(Destination dest, String reason, int severity) Send async abuse message to the clientvoidClientManager.reportAbuse(Destination dest, String reason, int severity) UnusedvoidClientManagerFacadeImpl.reportAbuse(Destination dest, String reason, int severity) Instruct the client (or all clients) that they are under attack.voidClientManager.requestLeaseSet(Destination dest, LeaseSet set, long timeout, Job onCreateJob, Job onFailedJob) Request that a particular client authorize the Leases contained in the LeaseSet, after which the onCreateJob is queued up.voidClientManagerFacadeImpl.requestLeaseSet(Destination dest, LeaseSet set, long timeout, Job onCreateJob, Job onFailedJob) Request that a particular client authorize the Leases contained in the LeaseSet, after which the onCreateJob is queued up.voidClientManager.unregisterMetaDest(Destination dest) Declare that we're no longer going to publish a meta LS for this destination.voidClientManagerFacadeImpl.unregisterMetaDest(Destination dest) Declare that we're no longer going to publish a meta LS for this destination.voidClientManager.unregisterSession(SessionId id, Destination dest) Remove only the following session.(package private) voidClientConnectionRunner.updateMessageDeliveryStatus(Destination dest, MessageId id, long messageNonce, int status) Send a notification to the client that their message (id specified) was delivered (or failed delivery) Note that this sends the Guaranteed status codes, even though we only support best effort.Constructors in net.i2p.router.client with parameters of type DestinationModifierConstructorDescriptionMessageReceivedJob(RouterContext ctx, ClientConnectionRunner runner, Destination toDest, Destination fromDest, Payload payload, boolean sendDirect) ReportAbuseJob(RouterContext context, ClientConnectionRunner runner, Destination dest, String reason, int severity) -
Uses of Destination in net.i2p.router.crypto.ratchet
Methods in net.i2p.router.crypto.ratchet that return DestinationModifier and TypeMethodDescriptionRatchetSKM.getDestination()The local destination for this SKM(package private) DestinationRatchetSKM.getDestination(PublicKey target) Methods in net.i2p.router.crypto.ratchet with parameters of type DestinationModifier and TypeMethodDescription(package private) booleanRatchetSKM.createSession(PublicKey target, Destination d, HandshakeState state, ReplyCallback callback) Inbound or outbound.byte[]ECIESAEADEngine.encrypt(CloveSet cloves, PublicKey target, Destination to, PrivateKey priv, RatchetSKM keyManager, ReplyCallback callback) Encrypt the data to the target using the given key and deliver the specified tags No new session key This is the one called from GarlicMessageBuilder and is the primary entry point.(package private) booleanRatchetSKM.registerTimer(PublicKey target, Destination d, SimpleTimer2.TimedEvent timer) Side effect - binds this session to the supplied destination.Constructors in net.i2p.router.crypto.ratchet with parameters of type DestinationModifierConstructorDescriptionACKTimer(RouterContext context, Destination from, Destination to) Caller must scheduleRatchetSKM(RouterContext context, Destination dest) The session key manager is constructed and accessed through the client manager. -
Uses of Destination in net.i2p.router.dummy
Methods in net.i2p.router.dummy that return DestinationMethods in net.i2p.router.dummy with parameters of type DestinationModifier and TypeMethodDescriptionbooleanDummyTunnelManagerFacade.addAlias(Destination dest, ClientTunnelSettings settings, Destination existingClient) voidDummyTunnelManagerFacade.buildTunnels(Destination client, ClientTunnelSettings settings) DummyClientManagerFacade.getClientSessionConfig(Destination _dest) booleanDummyClientManagerFacade.isLocal(Destination dest) voidDummyClientManagerFacade.messageDeliveryStatusUpdate(Destination fromDest, MessageId id, long msgNonce, int status) voidDummyTunnelManagerFacade.removeAlias(Destination dest) voidDummyTunnelManagerFacade.removeTunnels(Destination client) voidDummyClientManagerFacade.reportAbuse(Destination dest, String reason, int severity) voidDummyClientManagerFacade.requestLeaseSet(Destination dest, LeaseSet set, long timeout, Job onCreateJob, Job onFailedJob) -
Uses of Destination in net.i2p.router.message
Methods in net.i2p.router.message with parameters of type DestinationModifier and TypeMethodDescription(package private) static GarlicMessageGarlicMessageBuilder.buildECIESMessage(RouterContext ctx, GarlicConfig config, Hash from, Destination to, SessionKeyManager skm, ReplyCallback callback) ECIES_X25519 only.(package private) static GarlicMessageOutboundClientMessageJobHelper.createGarlicMessage(RouterContext ctx, long replyToken, long expiration, PublicKey recipientPK, PayloadGarlicConfig dataClove, Hash from, Destination dest, TunnelInfo replyTunnel, int tagsToSendOverride, int lowTagsOverride, SessionKey wrappedKey, Set<SessionTag> wrappedTags, boolean requireAck, LeaseSet bundledReplyLeaseSet, ReplyCallback callback) Allow the app to specify the data clove directly, which enables OutboundClientMessage to resend the same payload (including expiration and unique id) in different garlics (down different tunnels) This is called from OCMOSJ -
Uses of Destination in net.i2p.router.naming
Methods in net.i2p.router.naming that return DestinationModifier and TypeMethodDescriptionBlockfileNamingService.lookup(String hostname, Properties lookupOptions, Properties storedOptions) Methods in net.i2p.router.naming that return types with arguments of type DestinationModifier and TypeMethodDescriptionBlockfileNamingService.getEntries(Properties options) BlockfileNamingService.lookupAll(String hostname, Properties lookupOptions, List<Properties> storedOptions) Return all of the entries found in the first list found, or in the list specified in lookupOptions.Methods in net.i2p.router.naming with parameters of type DestinationModifier and TypeMethodDescriptionbooleanBlockfileNamingService.addDestination(String hostname, Destination d, Properties options) Add a Destination to an existing hostname's entry in the addressbook.booleanBlockfileNamingService.put(String hostname, Destination d, Properties options) booleanBlockfileNamingService.putIfAbsent(String hostname, Destination d, Properties options) booleanBlockfileNamingService.remove(String hostname, Destination d, Properties options) Remove a hostname's entry only if it contains the Destination d.BlockfileNamingService.reverseLookup(Destination d, Properties options) BlockfileNamingService.reverseLookupAll(Destination d, Properties options) -
Uses of Destination in net.i2p.router.networkdb.kademlia
Methods in net.i2p.router.networkdb.kademlia that return DestinationModifier and TypeMethodDescriptionNegativeLookupCache.getBadDest(Hash h) Get an unsupported but cached DestinationKademliaNetworkDatabaseFacade.lookupDestinationLocally(Hash key) Lookup locally in netDB and in badDest cache Succeeds even if LS validation fails due to unsupported sig type, expired, etc.Methods in net.i2p.router.networkdb.kademlia with parameters of type DestinationModifier and TypeMethodDescription(package private) voidKademliaNetworkDatabaseFacade.failPermanently(Destination dest) Negative cache until restartvoidNegativeLookupCache.failPermanently(Destination dest) Negative cache the hash until restart, but cache the destination.BlindCache.getBlindedHash(Destination dest) The hash to lookup for a dest.BlindCache.getData(Destination dest) The cached data or nullBlindCache.getHash(Destination dest) The hash to lookup for a dest.voidBlindCache.setBlinded(Destination dest) Add the destination to the cache entry.voidBlindCache.setBlinded(Destination dest, SigType blindedType, String secret) Mark a destination as known to be blinded -
Uses of Destination in net.i2p.router.tunnel.pool
Methods in net.i2p.router.tunnel.pool with parameters of type DestinationModifier and TypeMethodDescriptionbooleanTunnelPoolManager.addAlias(Destination dest, ClientTunnelSettings settings, Destination existingClient) Add another destination to the same tunnels.voidTunnelPoolManager.buildTunnels(Destination client, ClientTunnelSettings settings) Used only at session startup.voidTunnelPoolManager.removeAlias(Destination dest) Remove a destination for the same tunnels as another.voidTunnelPoolManager.removeTunnels(Destination dest) Must be called AFTER deregistration by the client manager. -
Uses of Destination in net.i2p.sam
Methods in net.i2p.sam that return DestinationModifier and TypeMethodDescriptionstatic DestinationResolve the destination from a key or a hostnameSAMMessageSess.getDestination()Get the SAM message-based session Destination.SAMMessageSession.getDestination()Get the SAM message-based session Destination.SAMStreamSession.getDestination()Get the SAM STREAM session Destination.Methods in net.i2p.sam with parameters of type DestinationModifier and TypeMethodDescriptionvoidSAMStreamReceiver.notifyStreamIncomingConnection(int id, Destination dest) Notify about a new incoming connectionvoidSAMv1Handler.notifyStreamIncomingConnection(int id, Destination d) static voidSAMv3Handler.notifyStreamIncomingConnection(SocketChannel client, Destination d) static voidSAMv3Handler.notifyStreamIncomingConnection(SocketChannel client, Destination d, int fromPort, int toPort) voidSAMv3Handler.notifyStreamIncomingConnection(Destination d, int fromPort, int toPort) voidPrimarySession.receiveDatagramBytes(Destination sender, byte[] data, int proto, int fromPort, int toPort) voidSAMDatagramReceiver.receiveDatagramBytes(Destination sender, byte[] data, int proto, int fromPort, int toPort) Send a byte array to a SAM client.voidSAMv1Handler.receiveDatagramBytes(Destination sender, byte[] data, int proto, int fromPort, int toPort) voidSAMv3DatagramSession.receiveDatagramBytes(Destination sender, byte[] data, int proto, int fromPort, int toPort) -
Uses of Destination in org.klomp.snark
Methods in org.klomp.snark that return DestinationModifier and TypeMethodDescriptionPeerID.getAddress()Get the destination.(package private) DestinationI2PSnarkUtil.getDestination(String ip) Base64 Hash or Hash.i2p or name.i2p using naming servicePeer.getDestination()(package private) static DestinationI2PSnarkUtil.getDestinationFromBase64(String ip) Base64 only - static (no naming service)(package private) DestinationI2PSnarkUtil.getMyDestination()Constructors in org.klomp.snark with parameters of type Destination -
Uses of Destination in org.klomp.snark.dht
Methods in org.klomp.snark.dht that return DestinationMethods in org.klomp.snark.dht with parameters of type DestinationModifier and TypeMethodDescriptionvoidDHT.ping(Destination dest, int port) Ping.voidKRPC.ping(Destination dest, int port) Ping.voidNodeInfo.setDestination(Destination dest) This can come in later but the hash must match.Constructors in org.klomp.snark.dht with parameters of type DestinationModifierConstructorDescriptionNodeInfo(Destination dest, int port) With a fake NID used for pingsNodeInfo(NID nID, Destination dest, int port) Use this if we have the full destination