Uses of Class
net.i2p.data.Destination

Packages that use Destination
net.i2p.client Implements the base I2P SDK for developing applications that communicate through I2P. 
net.i2p.client.datagram Provides a standard way for reading and writing messages transferred over I2P so that the recipient has an authenticated mechanism to reply to it. 
net.i2p.client.naming Provides a standard way for querying the local naming service to resolve a name into a Destination (without the complexity of JNDI). 
net.i2p.client.streaming Implements a TCP-like (reliable, authenticated, in order) set of sockets for communicating over the IP-like (unreliable, unauthenticated, unordered) I2P messages. 
net.i2p.data   
net.i2p.data.i2cp   
net.i2p.i2ptunnel   
net.i2p.i2ptunnel.socks   
net.i2p.router   
net.i2p.router.client   
net.i2p.router.message   
net.i2p.router.tunnel.pool   
 

Uses of Destination in net.i2p.client
 

Methods in net.i2p.client that return Destination
 Destination MessageState.getTo()
           
 Destination I2PSessionImpl.getMyDestination()
          Retrieve the destination of the session
 Destination I2PSession.getMyDestination()
          Retrieve the Destination this session serves as the endpoint for.
 Destination I2PClientImpl.createDestination(java.io.OutputStream destKeyStream)
          Create the destination with a null payload
 Destination I2PClientImpl.createDestination(java.io.OutputStream destKeyStream, Certificate cert)
          Create the destination with the given payload and write it out along with the PrivateKey and SigningPrivateKey to the destKeyStream
 Destination I2PClient.createDestination(java.io.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
 Destination I2PClient.createDestination(java.io.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
 

Methods in net.i2p.client with parameters of type Destination
 void MessageState.setTo(Destination dest)
           
 boolean I2PSessionImpl2.sendMessage(Destination dest, byte[] payload)
           
 boolean I2PSessionImpl2.sendMessage(Destination dest, byte[] payload, int offset, int size)
           
 boolean I2PSessionImpl2.sendMessage(Destination dest, byte[] payload, SessionKey keyUsed, java.util.Set tagsSent)
           
 boolean I2PSessionImpl2.sendMessage(Destination dest, byte[] payload, int offset, int size, SessionKey keyUsed, java.util.Set tagsSent)
           
abstract  boolean I2PSessionImpl.sendMessage(Destination dest, byte[] payload)
          Send the data to the destination.
abstract  boolean I2PSessionImpl.sendMessage(Destination dest, byte[] payload, SessionKey keyUsed, java.util.Set tagsSent)
           
 boolean I2PSession.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.
 boolean I2PSession.sendMessage(Destination dest, byte[] payload, int offset, int size)
           
 boolean I2PSession.sendMessage(Destination dest, byte[] payload, SessionKey keyUsed, java.util.Set tagsSent)
          Like sendMessage above, except the key used and the tags sent are exposed to the application.
 boolean I2PSession.sendMessage(Destination dest, byte[] payload, int offset, int size, SessionKey keyUsed, java.util.Set tagsSent)
           
 void I2CPMessageProducer.sendMessage(I2PSessionImpl session, Destination dest, long nonce, byte[] payload, SessionTag tag, SessionKey key, java.util.Set tags, SessionKey newKey)
          Package up and send the payload to the router for delivery
 

Uses of Destination in net.i2p.client.datagram
 

Methods in net.i2p.client.datagram that return Destination
 Destination I2PDatagramDissector.getSender()
          Get the sender of an I2P repliable datagram (previously loaded with the loadI2PDatagram() method), verifying the datagram signature.
 Destination I2PDatagramDissector.extractSender()
          Extract the sender of an I2P repliable datagram (previously loaded with the loadI2PDatagram() method), without verifying the datagram signature.
 

Uses of Destination in net.i2p.client.naming
 

Methods in net.i2p.client.naming that return Destination
abstract  Destination NamingService.lookup(java.lang.String hostname)
          Look up a host name.
protected  Destination NamingService.lookupBase64(java.lang.String hostname)
          Check if host name is valid Base64 encoded dest and return this dest in that case.
 Destination HostsTxtNamingService.lookup(java.lang.String hostname)
           
 Destination DummyNamingService.lookup(java.lang.String hostname)
           
 

Methods in net.i2p.client.naming with parameters of type Destination
abstract  java.lang.String NamingService.reverseLookup(Destination dest)
          Reverse look up a destination
 java.lang.String HostsTxtNamingService.reverseLookup(Destination dest)
           
 java.lang.String DummyNamingService.reverseLookup(Destination dest)
           
 

Uses of Destination in net.i2p.client.streaming
 

Methods in net.i2p.client.streaming that return Destination
 Destination PacketLocal.getTo()
           
 Destination Packet.getOptionalFrom()
          the sender of the packet (only included if the flag for it is set)
 Destination I2PSocketFull.getPeerDestination()
           
 Destination I2PSocketFull.getThisDestination()
           
 Destination Connection.getRemotePeer()
          who are we talking with
 Destination I2PSocketImpl.getThisDestination()
          Return the Destination of this side of the socket.
 Destination I2PSocketImpl.getPeerDestination()
          Return the destination of the peer.
 Destination I2PSocket.getThisDestination()
          Return the Destination of this side of the socket.
 Destination I2PSocket.getPeerDestination()
          Return the destination of the peer.
 

Methods in net.i2p.client.streaming with parameters of type Destination
 void PacketLocal.setTo(Destination to)
           
 void Packet.setOptionalFrom(Destination from)
           
 boolean Packet.verifySignature(I2PAppContext ctx, Destination from, byte[] buffer)
          Determine whether the signature on the data is valid.
 boolean I2PSocketManagerFull.ping(Destination peer, long timeoutMs)
          Ping the specified peer, returning true if they replied to the ping within the timeout specified, false otherwise.
 I2PSocket I2PSocketManagerFull.connect(Destination peer, I2PSocketOptions options)
          Create a new connected socket (block until the socket is created)
 I2PSocket I2PSocketManagerFull.connect(Destination peer)
          Create a new connected socket (block until the socket is created)
 Connection ConnectionManager.connect(Destination peer, ConnectionOptions opts)
          Build a new connection to the given peer.
 boolean ConnectionManager.ping(Destination peer, long timeoutMs)
           
 boolean ConnectionManager.ping(Destination peer, long timeoutMs, boolean blocking)
           
 boolean ConnectionManager.ping(Destination peer, long timeoutMs, boolean blocking, SessionKey keyToUse, java.util.Set tagsToSend, ConnectionManager.PingNotifier notifier)
           
 void Connection.setRemotePeer(Destination peer)
           
 I2PSocket I2PSocketManagerImpl.connect(Destination peer, I2PSocketOptions options)
          Create a new connected socket (block until the socket is created)
 I2PSocket I2PSocketManagerImpl.connect(Destination peer)
          Create a new connected socket (block until the socket is created)
 boolean I2PSocketManagerImpl.ping(Destination peer, long timeoutMs)
          Ping the specified peer, returning true if they replied to the ping within the timeout specified, false otherwise.
 I2PSocket I2PSocketManager.connect(Destination peer, I2PSocketOptions options)
          Create a new connected socket (block until the socket is created)
 I2PSocket I2PSocketManager.connect(Destination peer)
          Create a new connected socket (block until the socket is created)
 boolean I2PSocketManager.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 Destination
PacketLocal(I2PAppContext ctx, Destination to)
           
PacketLocal(I2PAppContext ctx, Destination to, Connection con)
           
I2PSocketImpl(Destination peer, I2PSocketManagerImpl mgr, boolean outgoing, java.lang.String localID)
           
 

Uses of Destination in net.i2p.data
 

Methods in net.i2p.data that return Destination
 Destination LeaseSet.getDestination()
           
 

Methods in net.i2p.data with parameters of type Destination
 void LeaseSet.setDestination(Destination dest)
           
 

Uses of Destination in net.i2p.data.i2cp
 

Methods in net.i2p.data.i2cp that return Destination
 Destination SessionConfig.getDestination()
          Retrieve the destination for which this session is supposed to connect
 Destination SendMessageMessage.getDestination()
           
 

Methods in net.i2p.data.i2cp with parameters of type Destination
 void SendMessageMessage.setDestination(Destination destination)
           
 

Constructors in net.i2p.data.i2cp with parameters of type Destination
SessionConfig(Destination dest)
           
 

Uses of Destination in net.i2p.i2ptunnel
 

Fields in net.i2p.i2ptunnel declared as Destination
protected  Destination I2PTunnelClientBase.dest
           
 

Methods in net.i2p.i2ptunnel that return Destination
static Destination I2PTunnel.destFromName(java.lang.String name)
          Generates a Destination from a name.
 

Methods in net.i2p.i2ptunnel with parameters of type Destination
 boolean I2Ping.ping(Destination dest)
           
 I2PSocket I2PTunnelClientBase.createI2PSocket(Destination dest)
          Create a new I2PSocket towards to the specified destination, adding it to the list of connections actually managed by this tunnel.
 I2PSocket 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.socks
 

Fields in net.i2p.i2ptunnel.socks declared as Destination
protected  Destination I2PSOCKSTunnel.outProxyDest
           
 

Uses of Destination in net.i2p.router
 

Methods in net.i2p.router that return Destination
 Destination LeaseSetKeys.getDestination()
          Destination in question
 Destination ClientMessage.getDestination()
          Retrieve the destination to which this message is directed.
 Destination ClientMessage.getFromDestination()
           
 

Methods in net.i2p.router with parameters of type Destination
 boolean DummyClientManagerFacade.isLocal(Destination dest)
           
 void DummyClientManagerFacade.reportAbuse(Destination dest, java.lang.String reason, int severity)
           
 void DummyClientManagerFacade.requestLeaseSet(Destination dest, LeaseSet set, long timeout, Job onCreateJob, Job onFailedJob)
           
 void DummyClientManagerFacade.messageDeliveryStatusUpdate(Destination fromDest, MessageId id, boolean delivered)
           
 SessionConfig DummyClientManagerFacade.getClientSessionConfig(Destination _dest)
           
 void TunnelManagerFacade.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.
 void KeyManager.registerKeys(Destination dest, SigningPrivateKey leaseRevocationPrivateKey, PrivateKey endpointDecryptionKey)
           
 LeaseSetKeys KeyManager.unregisterKeys(Destination dest)
           
 LeaseSetKeys KeyManager.getKeys(Destination dest)
           
 void ClientMessage.setDestination(Destination dest)
           
 void ClientMessage.setFromDestination(Destination dest)
           
abstract  void ClientManagerFacade.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.
abstract  void ClientManagerFacade.reportAbuse(Destination dest, java.lang.String reason, int severity)
          Instruct the client (or all clients) that they are under attack.
abstract  boolean ClientManagerFacade.isLocal(Destination dest)
          Determine if the destination specified is managed locally.
abstract  void ClientManagerFacade.messageDeliveryStatusUpdate(Destination fromDest, MessageId id, boolean delivered)
           
abstract  SessionConfig ClientManagerFacade.getClientSessionConfig(Destination dest)
          Return the client's current config, or null if not connected
 

Constructors in net.i2p.router with parameters of type Destination
LeaseSetKeys(Destination dest, SigningPrivateKey revocationKey, PrivateKey decryptionKey)
           
 

Uses of Destination in net.i2p.router.client
 

Methods in net.i2p.router.client with parameters of type Destination
 void ClientManagerFacadeImpl.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.
 void ClientManagerFacadeImpl.reportAbuse(Destination dest, java.lang.String reason, int severity)
          Instruct the client (or all clients) that they are under attack.
 boolean ClientManagerFacadeImpl.isLocal(Destination dest)
          Determine if the destination specified is managed locally.
 void ClientManagerFacadeImpl.messageDeliveryStatusUpdate(Destination fromDest, MessageId id, boolean delivered)
           
 SessionConfig ClientManagerFacadeImpl.getClientSessionConfig(Destination dest)
          Return the client's current config, or null if not connected
(package private)  void ClientManager.distributeMessage(Destination fromDest, Destination toDest, Payload payload, MessageId msgId)
           
 void ClientManager.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.
 boolean ClientManager.isLocal(Destination dest)
           
(package private)  ClientConnectionRunner ClientManager.getRunner(Destination dest)
           
 SessionConfig ClientManager.getClientSessionConfig(Destination dest)
          Return the client's current config, or null if not connected
 void ClientManager.messageDeliveryStatusUpdate(Destination fromDest, MessageId id, boolean delivered)
           
 void ClientManager.reportAbuse(Destination dest, java.lang.String reason, int severity)
           
(package private)  void ClientConnectionRunner.receiveMessage(Destination toDest, Destination fromDest, Payload payload)
          Asynchronously deliver the message to the current runner
 

Constructors in net.i2p.router.client with parameters of type Destination
MessageReceivedJob(RouterContext ctx, ClientConnectionRunner runner, Destination toDest, Destination fromDest, Payload payload)
           
 

Uses of Destination in net.i2p.router.message
 

Methods in net.i2p.router.message that return Destination
 Destination OutboundClientMessageStatus.getFrom()
          who sent the message?
 Destination OutboundClientMessageStatus.getTo()
          who is the message going to?
 

Methods in net.i2p.router.message with parameters of type Destination
(package private) static GarlicMessage OutboundClientMessageJobHelper.createGarlicMessage(RouterContext ctx, long replyToken, long expiration, PublicKey recipientPK, Payload data, Hash from, Destination dest, SessionKey wrappedKey, java.util.Set wrappedTags, boolean requireAck, LeaseSet bundledReplyLeaseSet)
          Build a garlic message that will be delivered to the router on which the target is located.
(package private) static GarlicMessage OutboundClientMessageJobHelper.createGarlicMessage(RouterContext ctx, long replyToken, long expiration, PublicKey recipientPK, PayloadGarlicConfig dataClove, Hash from, Destination dest, SessionKey wrappedKey, java.util.Set wrappedTags, boolean requireAck, LeaseSet bundledReplyLeaseSet)
          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)
(package private) static PayloadGarlicConfig OutboundClientMessageJobHelper.buildDataClove(RouterContext ctx, Payload data, Destination dest, long expiration)
          Build a clove that sends the payload to the destination
 

Uses of Destination in net.i2p.router.tunnel.pool
 

Methods in net.i2p.router.tunnel.pool with parameters of type Destination
 void TunnelPoolManager.buildTunnels(Destination client, ClientTunnelSettings settings)