Deprecated Methods |
net.i2p.router.RouterThrottleImpl.acceptNetDbLookupRequest(Hash)
unused, function moved to netdb |
net.i2p.crypto.CryptixAESKeyCache.acquireKey()
unused, keys are now cached in the SessionKey objects |
net.i2p.router.util.PriBlockingQueue.add(E)
use offer(o) |
net.i2p.router.transport.udp.UDPSender.add(UDPPacket, int)
use add(packet) |
net.i2p.router.JobImpl.addedToQueue()
As of 0.8.1, this is a noop, as it just adds classes to the log manager
class list for no good reason. Logging in jobs is almost always
set explicitly rather than by class name. |
net.i2p.stat.RateStat.addRate(long)
|
net.i2p.util.InternalServerSocket.bind(SocketAddress)
unsupported |
net.i2p.util.InternalSocket.bind(SocketAddress)
unsupported |
net.i2p.util.InternalServerSocket.bind(SocketAddress, int)
unsupported |
net.i2p.crypto.HMACGenerator.calculate(SessionKey, byte[])
unused |
net.i2p.crypto.DSAEngine.calculateHash(InputStream)
unused |
org.klomp.snark.Peer.compareTo(Object)
unused? |
org.klomp.snark.PeerID.compareTo(Object)
unused? and will NPE now that address can be null? |
net.i2p.util.InternalSocket.connect(SocketAddress)
unsupported |
net.i2p.util.InternalSocket.connect(SocketAddress, int)
unsupported |
net.i2p.router.peermanager.ProfileOrganizer.countWellIntegratedPeers()
use ProfileManager.getPeersByCapability('f').size() |
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.i2ptunnel.I2PTunnel.destFromName(String)
Don't use i2ptunnel for lookup! Use I2PAppContext.getGlobalContext().namingService().lookup(name) from i2p.jar |
net.i2p.internal.PoisonI2CPMessage.doReadMessage(InputStream, int)
don't do this |
net.i2p.internal.PoisonI2CPMessage.doWriteMessage()
don't do this |
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.util.ShellCommand.execute(String)
unused |
net.i2p.util.ShellCommand.executeAndWait(String)
unused |
net.i2p.util.ShellCommand.executeAndWaitTimed(String, int)
unused |
net.i2p.util.ShellCommand.executeSilent(String)
unused |
net.i2p.crypto.TransientSessionKeyManager.failTags(PublicKey)
unused and rather drastic |
net.i2p.data.DataHelper.fromBoolean(byte[], int)
unused |
net.i2p.router.JobImpl.getAddedBy()
|
net.i2p.router.peermanager.DBHistory.getAvgDelayBetweenLookupsReceived()
unused |
net.i2p.util.InternalServerSocket.getChannel()
unsupported |
net.i2p.util.InternalSocket.getChannel()
unsupported |
net.i2p.i2ptunnel.TunnelController.getClientOptions()
why would you want this? Use getClientOptionProps() instead |
net.i2p.router.OutNetMessage.getCreatedBy()
|
net.i2p.router.transport.udp.PeerState.getCurrentSecondECNReceived()
unused, ECNs are never sent, always returns false |
net.i2p.data.i2np.DeliveryInstructions.getDelayRequested()
unused |
net.i2p.data.i2np.DeliveryInstructions.getDelaySeconds()
unused |
net.i2p.data.i2np.DeliveryInstructions.getEncrypted()
unused |
net.i2p.data.i2np.DeliveryInstructions.getEncryptionKey()
unused |
net.i2p.router.networkdb.kademlia.KBucketImpl.getEntries(Set)
makes a copy, remove toIgnore in KBS instead |
net.i2p.router.networkdb.kademlia.KBucket.getEntries(Set)
makes a copy, remove toIgnore in KBS instead |
net.i2p.util.ShellCommand.getErrorStream()
unused |
net.i2p.data.RouterAddress.getExpiration()
unused for now |
net.i2p.router.peermanager.DBHistory.getFailedLookups()
unused |
net.i2p.router.Router.getHigherVersionSeen()
unused |
net.i2p.util.InternalServerSocket.getInetAddress()
unsupported |
net.i2p.util.InternalSocket.getInetAddress()
unsupported |
net.i2p.util.ShellCommand.getInputStream()
unused |
net.i2p.util.SimpleTimer.getInstance()
use SimpleTimer2 |
net.i2p.client.streaming.RetransmissionTimer.getInstance()
Don't use this to prestart threads, this is no longer a static instance |
net.i2p.util.InternalSocket.getKeepAlive()
unsupported |
net.i2p.client.MessageState.getKey()
unused |
net.i2p.client.streaming.PacketLocal.getKeyUsed()
should always return null |
net.i2p.router.Router.getKillVMOnEnd()
unused |
net.i2p.i2ptunnel.I2PTunnelRunner.getLastActivityOn()
unused |
net.i2p.stat.Frequency.getLastEvent()
unused |
net.i2p.router.peermanager.DBHistory.getLastLookupReceived()
unused |
net.i2p.util.InternalSocket.getLocalAddress()
unsupported |
net.i2p.util.InternalSocket.getLocalPort()
unsupported |
net.i2p.router.transport.udp.UDPTransport.getLocalPort()
unused |
net.i2p.util.InternalServerSocket.getLocalSocketAddress()
unsupported |
net.i2p.util.InternalSocket.getLocalSocketAddress()
unsupported |
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.stat.Frequency.getMinAverageInterval()
unused |
net.i2p.client.MessageState.getNewKey()
unused |
net.i2p.util.InternalSocket.getOOBInline()
unsupported |
net.i2p.data.RouterAddress.getOptions()
use getOptionsMap() |
net.i2p.data.RouterInfo.getOptions()
use getOptionsMap() |
net.i2p.util.ShellCommand.getOutputStream()
unused |
net.i2p.data.RouterInfo.getPeers()
Implemented here but unused elsewhere |
net.i2p.util.InternalSocket.getPort()
unsupported |
net.i2p.util.InternalServerSocket.getReceiveBufferSize()
unsupported |
net.i2p.util.InternalSocket.getReceiveBufferSize()
unsupported |
net.i2p.client.streaming.ConnectionOptions.getReceiveWindow()
This doesn't appear to be used. |
net.i2p.util.InternalSocket.getRemoteSocketAddress()
unsupported |
net.i2p.util.InternalServerSocket.getReuseAddress()
unsupported |
net.i2p.util.InternalSocket.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.i2ptunnel.TunnelController.getSummary(StringBuilder)
unused |
net.i2p.client.MessageState.getTags()
unused |
net.i2p.client.streaming.PacketLocal.getTagsSent()
should always return null or an empty set |
net.i2p.util.InternalSocket.getTcpNoDelay()
unsupported |
net.i2p.router.OutNetMessage.getTimestamp(String)
unused |
net.i2p.router.OutNetMessage.getTimestamps()
unused |
net.i2p.client.MessageState.getTo()
unused |
net.i2p.util.InternalSocket.getTrafficClass()
unsupported |
net.i2p.data.DataHelper.getUTF8(byte[], int, int)
unused |
net.i2p.data.DataHelper.getUTF8(StringBuffer)
unused |
net.i2p.I2PAppContext.hmac256()
used only by syndie |
net.i2p.client.streaming.I2PSocketManagerFull.init(I2PAppContext, I2PSession, Properties, String)
use 4-arg constructor |
net.i2p.util.InternalServerSocket.isBound()
unsupported |
net.i2p.util.InternalSocket.isBound()
unsupported |
net.i2p.util.InternalServerSocket.isClosed()
unsupported |
net.i2p.util.InternalSocket.isConnected()
unsupported |
net.i2p.i2ptunnel.I2PTunnelRunner.isFinished()
unused |
net.i2p.util.InternalSocket.isInputShutdown()
unsupported |
net.i2p.util.InternalSocket.isOutputShutdown()
unsupported |
org.klomp.snark.Peer.isRequesting(int)
deadlocks |
org.klomp.snark.PeerState.isRequesting(int)
deadlocks |
net.i2p.router.util.PriBlockingQueue.offer(E, long, TimeUnit)
use offer(o) |
net.i2p.data.i2cp.I2CPMessageReader.pauseReading()
unused |
net.i2p.data.i2np.I2NPMessageReader.pauseReading()
unused |
net.i2p.client.streaming.ConnectionManager.ping(Destination, long, boolean, SessionKey, Set, ConnectionManager.PingNotifier)
I2PSession ignores tags, use non-tag variant |
net.metanotion.util.skiplist.SkipList.print()
goes to System.out |
net.metanotion.util.skiplist.SkipList.printSL()
goes to System.out |
net.i2p.router.util.PriBlockingQueue.put(E)
use offer(o) |
net.i2p.data.DataHelper.readBoolean(InputStream)
unused |
net.i2p.data.i2np.FastI2NPMessageImpl.readBytes(InputStream)
unused |
net.i2p.data.i2np.GarlicClove.readBytes(InputStream)
unused, use byte array method to avoid copying |
net.i2p.data.i2np.I2NPMessageImpl.readBytes(InputStream)
unused |
net.i2p.data.i2np.DeliveryInstructions.readBytes(InputStream)
unused |
net.i2p.data.i2np.FastI2NPMessageImpl.readBytes(InputStream, int, byte[])
unused |
net.i2p.data.i2np.I2NPMessage.readBytes(InputStream, int, byte[])
unused |
net.i2p.data.i2np.I2NPMessageImpl.readBytes(InputStream, int, byte[])
unused |
net.i2p.data.DataHelper.readLine(InputStream, Sha256Standalone)
use MessageDigest version |
net.i2p.data.DataHelper.readLine(InputStream, StringBuffer)
use StringBuilder version |
net.i2p.data.DataHelper.readLine(InputStream, StringBuffer, Sha256Standalone)
use StringBuilder / MessageDigest version |
net.i2p.data.DataHelper.readLine(InputStream, StringBuilder, Sha256Standalone)
use MessageDigest version |
net.i2p.data.i2np.I2NPMessageHandler.readMessage(InputStream)
use the byte array method to avoid an extra copy if you have it |
net.i2p.data.i2np.I2NPMessageImpl.registerBuilder(I2NPMessageImpl.Builder, int)
unused |
net.i2p.crypto.CryptixAESKeyCache.releaseKey(CryptixAESKeyCache.KeyCacheEntry)
unused, keys are now cached in the SessionKey objects |
net.i2p.data.i2cp.RequestLeaseSetMessage.remoteEndpoint(int)
unused - presumably he meant remove? |
net.i2p.stat.RateStat.removeRate(long)
|
net.i2p.router.web.SummaryRenderer.render(I2PAppContext, OutputStream, String)
unsed |
net.i2p.router.web.StatSummarizer.renderPng(OutputStream, String)
unused |
net.i2p.router.Banlist.renderStatusHTML(Writer)
moved to router console |
net.i2p.router.JobQueue.renderStatusHTML(Writer)
moved to router console |
net.i2p.router.NetworkDatabaseFacade.renderStatusHTML(Writer)
moved to router console |
net.i2p.router.client.ClientManagerFacadeImpl.renderStatusHTML(Writer)
unused |
net.i2p.router.client.ClientManager.renderStatusHTML(Writer)
unused |
net.i2p.router.peermanager.PeerManagerFacadeImpl.renderStatusHTML(Writer)
moved to routerconsole |
net.i2p.router.transport.FIFOBandwidthLimiter.renderStatusHTML(Writer)
not worth translating |
net.i2p.router.transport.OutboundMessageRegistry.renderStatusHTML(Writer)
unused |
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.data.i2cp.I2CPMessageReader.resumeReading()
unused |
net.i2p.data.i2np.I2NPMessageReader.resumeReading()
unused |
net.i2p.router.transport.udp.PeerState.retrieveACKBitfields()
unused |
net.i2p.crypto.AESEngine.safeDecrypt(byte[], SessionKey, byte[])
unused |
net.i2p.crypto.AESEngine.safeEncrypt(byte[], SessionKey, byte[], int)
unused |
net.i2p.router.peermanager.PeerManagerFacadeImpl.selectRandomByCapability(char)
unused |
net.i2p.router.peermanager.ProfileOrganizer.selectWellIntegratedPeers(int, Set, Set)
unused |
net.i2p.router.peermanager.ProfileOrganizer.selectWellIntegratedPeers(int, Set, Set, int)
unused |
net.i2p.util.InternalSocket.sendUrgentData(int)
unsupported |
org.cybergarage.upnp.ArgumentList.set(ArgumentList)
|
org.cybergarage.upnp.Action.setArgumentValues(ArgumentList)
You should use one of the following methods instead:
- Action.setInArgumentValues(ArgumentList)
- Action.setOutArgumentValues(ArgumentList) |
net.i2p.router.Router.setConfigFilename(String)
unused |
net.i2p.util.LogManager.setConsoleBufferSize(int)
unused |
net.i2p.data.i2np.DeliveryInstructions.setDelayRequested(boolean)
unused |
net.i2p.data.i2np.DeliveryInstructions.setDelaySeconds(long)
unused |
net.i2p.util.LogManager.setDisplayOnScreen(boolean)
unused |
net.i2p.util.LogManager.setDisplayOnScreenLevel(int)
unused |
net.i2p.data.i2np.DeliveryInstructions.setEncrypted(boolean)
unused |
net.i2p.data.i2np.DeliveryInstructions.setEncryptionKey(SessionKey)
unused |
net.i2p.data.RouterAddress.setExpiration(Date)
unused for now |
net.i2p.router.Router.setHigherVersionSeen(boolean)
unused |
net.i2p.router.transport.FIFOBandwidthLimiter.setInboundUnlimited(boolean)
unused for now, we are always limited |
org.klomp.snark.Peer.setInteresting(boolean)
unused |
net.i2p.util.InternalSocket.setKeepAlive(boolean)
unsupported |
net.i2p.client.MessageState.setKey(SessionKey)
unused |
net.i2p.router.transport.udp.PeerState.setKeyEstablishedTime(long)
unused |
net.i2p.client.streaming.PacketLocal.setKeyUsed(SessionKey)
I2PSession throws out the tags |
net.i2p.router.transport.udp.PeerState.setLastACKSend(long)
unused |
net.i2p.client.MessageState.setNewKey(SessionKey)
unused |
net.i2p.router.transport.udp.PeerState.setNextCipherKey(SessionKey)
unused |
net.i2p.router.transport.udp.PeerState.setNextMACKey(SessionKey)
unused |
net.i2p.util.InternalSocket.setOOBInline(boolean)
unsupported |
net.i2p.router.transport.FIFOBandwidthLimiter.setOutboundUnlimited(boolean)
unused for now, we are always limited |
net.i2p.router.tunnel.pool.PooledTunnelCreatorConfig.setPairedTunnel(TunnelInfo)
Fix memory leaks caused by references if you need to use pairedTunnel |
net.i2p.router.MessageHistory.setPauseFlushes(boolean)
unused |
net.i2p.data.RouterInfo.setPeers(Set)
Implemented here but unused elsewhere |
net.i2p.router.RouterContext.setProperty(String, String)
Use Router.saveConfig() |
net.i2p.util.InternalServerSocket.setReceiveBufferSize(int)
unsupported |
net.i2p.util.InternalSocket.setReceiveBufferSize(int)
unsupported |
net.i2p.util.InternalServerSocket.setReuseAddress(boolean)
unsupported |
net.i2p.util.InternalSocket.setReuseAddress(boolean)
unsupported |
net.i2p.util.InternalSocket.setSendBufferSize(int)
unsupported |
net.i2p.util.InternalSocket.setSoLinger(boolean, int)
unsupported |
net.i2p.client.MessageState.setTags(Set)
unused |
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.I2PAppContext.simpleTimer()
use SimpleTimer2 |
net.i2p.router.peermanager.ProfileManagerImpl.summarizePeers(int)
unused |
net.i2p.router.JobQueue.timingUpdated()
contention - see JobTiming.setStartAfter() comments |
net.i2p.data.DataHelper.toBoolean(byte[], int, boolean)
unused |
net.i2p.data.DataHelper.toBoolean(byte[], int, Boolean)
unused |
net.i2p.data.DataHelper.toDate(Date)
unused |
net.i2p.data.DataHelper.toProperties(byte[], int, Properties)
|
net.i2p.data.LeaseSet.verifySignature(SigningPublicKey)
revocation unused |
net.i2p.data.DataHelper.write(OutputStream, byte[], Sha256Standalone)
use MessageDigest version |
net.i2p.data.DataHelper.writeBoolean(OutputStream, Boolean)
unused |
net.i2p.data.i2np.FastI2NPMessageImpl.writeBytes(OutputStream)
unused |
net.i2p.data.i2np.GarlicClove.writeBytes(OutputStream)
unused, use byte array method to avoid copying |
net.i2p.data.i2np.I2NPMessageImpl.writeBytes(OutputStream)
unused |
net.i2p.data.i2np.DeliveryInstructions.writeBytes(OutputStream)
unused |