javadoc and logging tweaks; bring back i2ptunnel link to summary bar
This commit is contained in:
@ -20,8 +20,8 @@ public class BuildResponseRecord {
|
||||
* Create a new encrypted response
|
||||
*
|
||||
* @param status the response
|
||||
* @param responseMessageID unused except for debugging
|
||||
* @param a 528-byte response record
|
||||
* @param responseMessageId unused except for debugging
|
||||
* @return a 528-byte response record
|
||||
*/
|
||||
public static byte[] create(I2PAppContext ctx, int status, SessionKey replyKey, byte replyIV[], long responseMessageId) {
|
||||
//Log log = ctx.logManager().getLog(BuildResponseRecord.class);
|
||||
|
@ -18,7 +18,7 @@ public class RouterVersion {
|
||||
/** deprecated */
|
||||
public final static String ID = "Monotone";
|
||||
public final static String VERSION = CoreVersion.VERSION;
|
||||
public final static long BUILD = 16;
|
||||
public final static long BUILD = 17;
|
||||
/** for example "-test" */
|
||||
public final static String EXTRA = "";
|
||||
public final static String FULL_VERSION = VERSION + "-" + BUILD + EXTRA;
|
||||
|
@ -19,6 +19,7 @@ import net.i2p.util.InternalServerSocket;
|
||||
* Listen for in-JVM connections on the internal "socket"
|
||||
*
|
||||
* @author zzz
|
||||
* @since 0.7.9
|
||||
*/
|
||||
public class InternalClientListenerRunner extends ClientListenerRunner {
|
||||
|
||||
|
@ -22,7 +22,7 @@ import java.util.Set;
|
||||
*/
|
||||
public class Addresses {
|
||||
|
||||
/** return the first non-local address it finds, or null */
|
||||
/** @return the first non-local address it finds, or null */
|
||||
public static String getAnyAddress() {
|
||||
String[] a = getAddresses();
|
||||
if (a.length > 0)
|
||||
@ -31,7 +31,7 @@ public class Addresses {
|
||||
}
|
||||
|
||||
/**
|
||||
* Return an array of all addresses, excluding
|
||||
* @return an array of all addresses, excluding
|
||||
* IPv6, local, broadcast, multicast, etc.
|
||||
*/
|
||||
public static String[] getAddresses() {
|
||||
|
@ -602,8 +602,8 @@ public class NTCPConnection implements FIFOBandwidthLimiter.CompleteListener {
|
||||
OutNetMessage msg = null;
|
||||
synchronized (_outbound) {
|
||||
if (_currentOutbound != null) {
|
||||
if (_log.shouldLog(Log.WARN))
|
||||
_log.warn("attempt for multiple outbound messages with " + System.identityHashCode(_currentOutbound) + " already waiting and " + _outbound.size() + " queued");
|
||||
if (_log.shouldLog(Log.INFO))
|
||||
_log.info("attempt for multiple outbound messages with " + System.identityHashCode(_currentOutbound) + " already waiting and " + _outbound.size() + " queued");
|
||||
return;
|
||||
}
|
||||
//throw new RuntimeException("We should not be preparing a write while we still have one pending");
|
||||
|
@ -12,6 +12,7 @@ import net.i2p.router.RouterContext;
|
||||
* Same as PTG, but check to see if a message should be dropped before queueing it.
|
||||
* Used for IBGWs.
|
||||
*
|
||||
* @since 0.7.9
|
||||
*/
|
||||
public class ThrottledPumpedTunnelGateway extends PumpedTunnelGateway {
|
||||
/** saved so we can note messages that get dropped */
|
||||
|
Reference in New Issue
Block a user