Deprecated API


Contents
Deprecated Classes
net.i2p.client.naming.AddressDB
          unused 
net.i2p.client.naming.AddressDBNamingService
          unused 
net.i2p.util.BufferedRandomSource
          Unused! See FortunaRandomSource 
net.i2p.util.CachingByteArrayOutputStream
          unused 
net.i2p.client.naming.DummyAddressDB
          unused 
net.i2p.util.EepGetScheduler
          unused a webapp version would be nice though 
net.i2p.client.naming.FilesystemAddressDB
          unused 
net.i2p.router.tunnel.HashSetIVValidator
          unused 
net.i2p.util.HTTPSendData
          unused 
net.i2p.client.streaming.I2PServerSocketImpl
          use I2PServerSocketFull 
net.i2p.client.streaming.I2PSocketImpl
          use I2PSocketFull 
net.i2p.client.streaming.I2PSocketManagerImpl
          use I2PSocketManagerFull 
net.i2p.client.naming.PetNameNamingService
          unused 
net.i2p.util.PooledRandomSource
          Unused! See FortunaRandomSource 
net.i2p.router.RouterDoSThrottle
          unused 
net.i2p.router.tunnel.TrivialRouterPreprocessor
          unused 
 

Deprecated Fields
net.i2p.data.DataHelper.BOOLEAN_LENGTH
          unused 
net.i2p.data.DataHelper.BOOLEAN_UNKNOWN
          unused 
net.i2p.router.Router.CAPABILITY_NEW_TUNNEL
          unused 
 

Deprecated Methods
net.i2p.router.RouterThrottleImpl.acceptNetDbLookupRequest(Hash)
          unused, function moved to netdb 
net.i2p.router.transport.udp.UDPSender.add(UDPPacket, int)
          use add(packet) 
net.i2p.util.InternalSocket.bind(SocketAddress)
          unsupported 
net.i2p.util.InternalServerSocket.bind(SocketAddress)
          unsupported 
net.i2p.util.InternalServerSocket.bind(SocketAddress, int)
          unsupported 
net.i2p.router.networkdb.kademlia.LocalHash.clearXorCache()
          unused 
net.i2p.util.InternalSocket.connect(SocketAddress)
          unsupported 
net.i2p.util.InternalSocket.connect(SocketAddress, int)
          unsupported 
net.i2p.client.I2PSimpleClient.createDestination(OutputStream)
          Don't do this 
net.i2p.client.I2PSimpleClient.createDestination(OutputStream, Certificate)
          or this 
net.i2p.router.tunnel.HopProcessor.createValidator()
          unused 
net.i2p.crypto.ElGamalAESEngine.decrypt(byte[], PrivateKey)
          specify the key manager! 
net.i2p.util.NativeBigInteger.doubleValue()
          unused 
net.i2p.crypto.ElGamalAESEngine.encrypt(byte[], PublicKey, SessionKey, long)
          unused 
net.i2p.crypto.ElGamalAESEngine.encrypt(byte[], PublicKey, SessionKey, Set, long)
          unused 
net.i2p.data.DataHelper.eq(byte, byte)
          inefficient 
net.i2p.data.DataHelper.eq(int, int)
          inefficient 
net.i2p.data.DataHelper.eq(long, long)
          inefficient 
net.i2p.crypto.TransientSessionKeyManager.failTags(PublicKey)
          unused and rather drastic 
net.i2p.data.DataHelper.fromBoolean(byte[], int)
          unused 
net.i2p.data.DataHelper.fromProperties(byte[], int, Properties)
          unused 
net.i2p.router.peermanager.DBHistory.getAvgDelayBetweenLookupsReceived()
          unused 
net.i2p.util.InternalSocket.getChannel()
          unsupported 
net.i2p.util.InternalServerSocket.getChannel()
          unsupported 
net.i2p.data.RouterAddress.getExpiration()
          unused for now 
net.i2p.router.peermanager.DBHistory.getFailedLookups()
          unused 
net.i2p.util.InternalSocket.getInetAddress()
          unsupported 
net.i2p.util.InternalServerSocket.getInetAddress()
          unsupported 
net.i2p.util.InternalSocket.getKeepAlive()
          unsupported 
net.i2p.client.streaming.PacketLocal.getKeyUsed()
          should always return null 
net.i2p.router.Router.getKillVMOnEnd()
          unused 
net.i2p.router.peermanager.DBHistory.getLastLookupReceived()
          unused 
net.i2p.util.InternalSocket.getLocalAddress()
          unsupported 
net.i2p.util.InternalSocket.getLocalPort()
          unsupported 
net.i2p.util.InternalSocket.getLocalSocketAddress()
          unsupported 
net.i2p.util.InternalServerSocket.getLocalSocketAddress()
          unsupported 
net.i2p.util.LogManager.getLogs()
          unused 
net.i2p.router.peermanager.DBHistory.getLookupReplyDuplicate()
          unused 
net.i2p.router.peermanager.DBHistory.getLookupReplyInvalid()
          unused 
net.i2p.router.peermanager.DBHistory.getLookupReplyNew()
          unused 
net.i2p.router.peermanager.DBHistory.getLookupReplyOld()
          unused 
net.i2p.router.peermanager.DBHistory.getLookupsReceived()
          unused 
net.i2p.data.Lease.getNumFailure()
          unused 
net.i2p.data.Lease.getNumSuccess()
          unused 
net.i2p.util.InternalSocket.getOOBInline()
          unsupported 
net.i2p.data.RouterInfo.getPeers()
          Implemented here but unused elsewhere 
net.i2p.util.InternalSocket.getPort()
          unsupported 
net.i2p.util.InternalSocket.getReceiveBufferSize()
          unsupported 
net.i2p.util.InternalServerSocket.getReceiveBufferSize()
          unsupported 
net.i2p.client.streaming.ConnectionOptions.getReceiveWindow()
          This doesn't appear to be used. 
net.i2p.util.InternalSocket.getRemoteSocketAddress()
          unsupported 
net.i2p.util.InternalSocket.getReuseAddress()
          unsupported 
net.i2p.util.InternalServerSocket.getReuseAddress()
          unsupported 
net.i2p.util.InternalSocket.getSendBufferSize()
          unsupported 
net.i2p.data.LeaseSet.getSigningKey()
          unused 
net.i2p.util.InternalSocket.getSoLinger()
          unsupported 
net.i2p.router.peermanager.DBHistory.getSuccessfulLookups()
          unused 
net.i2p.client.streaming.PacketLocal.getTagsSent()
          should always return null or an empty set 
net.i2p.util.InternalSocket.getTcpNoDelay()
          unsupported 
net.i2p.util.InternalSocket.getTrafficClass()
          unsupported 
net.i2p.I2PAppContext.hmac256()
          unused 
net.i2p.util.InternalSocket.isBound()
          unsupported 
net.i2p.util.InternalServerSocket.isBound()
          unsupported 
net.i2p.util.InternalServerSocket.isClosed()
          unsupported 
net.i2p.util.InternalSocket.isConnected()
          unsupported 
net.i2p.util.InternalSocket.isInputShutdown()
          unsupported 
net.i2p.util.InternalSocket.isOutputShutdown()
          unsupported 
net.i2p.util.NativeBigInteger.nativeDoubleValue(byte[])
          unused 
net.i2p.I2PAppContext.petnameDb()
          unused 
net.i2p.client.streaming.I2PSocketManagerImpl.ping(Destination, long)
          timeout is ignored - use I2PSocketManagerFull.ping() 
net.i2p.client.streaming.ConnectionManager.ping(Destination, long, boolean, SessionKey, Set, ConnectionManager.PingNotifier)
          I2PSession ignores tags, use non-tag variant 
net.i2p.data.DataHelper.readBoolean(InputStream)
          unused 
net.i2p.data.i2np.I2NPMessageImpl.readBytes(InputStream)
          Unused, why would you do this 
net.i2p.data.DataHelper.readLine(InputStream, StringBuffer)
          use StringBuilder version 
net.i2p.data.DataHelper.readLine(InputStream, StringBuffer, Sha256Standalone)
          use StringBuilder version 
net.i2p.data.i2np.I2NPMessageImpl.registerBuilder(I2NPMessageImpl.Builder, int)
          unused 
net.i2p.data.i2cp.RequestLeaseSetMessage.remoteEndpoint(int)
          unused - presumably he meant remove? 
net.i2p.router.Shitlist.renderStatusHTML(Writer)
          moved to router console 
net.i2p.router.NetworkDatabaseFacade.renderStatusHTML(Writer)
          moved to router console 
net.i2p.router.peermanager.PeerManagerFacadeImpl.renderStatusHTML(Writer)
          moved to routerconsole 
net.i2p.router.transport.FIFOBandwidthLimiter.renderStatusHTML(Writer)
          not worth translating 
net.i2p.router.tunnel.TunnelDispatcher.renderStatusHTML(Writer)
          moved to router console 
net.i2p.router.tunnel.pool.TunnelPoolManager.renderStatusHTML(Writer)
          moved to routerconsole 
net.i2p.router.JobQueue.restart()
          do you really want to do this? 
net.i2p.client.naming.NamingService.reverseLookup(Hash)
          unused 
net.i2p.client.naming.HostsTxtNamingService.reverseLookup(Hash)
          unused 
net.i2p.router.peermanager.PeerManagerFacadeImpl.selectRandomByCapability(char)
          unused 
net.i2p.util.InternalSocket.sendUrgentData(int)
          unsupported 
net.i2p.client.streaming.Connection.setHighestAckedThrough(long)
          unused 
org.klomp.snark.Peer.setInteresting(boolean)
          unused 
net.i2p.util.InternalSocket.setKeepAlive(boolean)
          unsupported 
net.i2p.client.streaming.PacketLocal.setKeyUsed(SessionKey)
          I2PSession throws out the tags 
net.i2p.data.Lease.setNumFailure(int)
          unused 
net.i2p.data.Lease.setNumSuccess(int)
          unused 
net.i2p.util.InternalSocket.setOOBInline(boolean)
          unsupported 
net.i2p.router.tunnel.pool.PooledTunnelCreatorConfig.setPairedTunnel(TunnelInfo)
          Fix memory leaks caused by references if you need to use pairedTunnel 
net.i2p.data.RouterInfo.setPeers(Set)
          Implemented here but unused elsewhere 
net.i2p.util.InternalSocket.setReceiveBufferSize(int)
          unsupported 
net.i2p.util.InternalServerSocket.setReceiveBufferSize(int)
          unsupported 
net.i2p.util.InternalSocket.setReuseAddress(boolean)
          unsupported 
net.i2p.util.InternalServerSocket.setReuseAddress(boolean)
          unsupported 
net.i2p.util.InternalSocket.setSendBufferSize(int)
          unsupported 
net.i2p.util.InternalSocket.setSoLinger(boolean, int)
          unsupported 
net.i2p.client.streaming.PacketLocal.setTagsSent(Set)
          I2PSession throws out the tags 
net.i2p.util.InternalSocket.setTcpNoDelay(boolean)
          unsupported 
net.i2p.router.tunnel.pool.PooledTunnelCreatorConfig.setTestJob(TestJob)
          unused, which makes _testJob unused - why is it here 
net.i2p.util.InternalSocket.setTrafficClass(int)
          unsupported 
net.i2p.util.InternalSocket.shutdownInput()
          unsupported 
net.i2p.util.InternalSocket.shutdownOutput()
          unsupported 
net.i2p.data.DataHelper.toBoolean(byte[], int, boolean)
          unused 
net.i2p.data.DataHelper.toBoolean(byte[], int, Boolean)
          unused 
net.i2p.data.DataHelper.toProperties(Properties)
          unused 
net.i2p.data.DataHelper.writeBoolean(OutputStream, Boolean)
          unused 
 

Deprecated Constructors
net.i2p.router.tunnel.HopProcessor(I2PAppContext, HopConfig)
          unused