javadoc fixes part 12 (ticket #1894)

This commit is contained in:
zzz
2017-01-27 02:27:53 +00:00
parent 82064760d5
commit 9dab3b0dfe
11 changed files with 23 additions and 20 deletions

View File

@ -559,7 +559,7 @@ public class I2PTunnel extends EventDispatcherImpl implements Logging {
/**
* Run the server pointing at the host and port specified using the private i2p
* destination loaded from the specified file. <p />
* destination loaded from the specified file. <p>
*
* Sets the event "serverTaskId" = Integer(taskId) after the tunnel has been started (or -1 on error)
* Also sets the event "openServerResult" = "ok" or "error" (displaying "Ready!" on the logger after
@ -669,7 +669,7 @@ public class I2PTunnel extends EventDispatcherImpl implements Logging {
/**
* Run the HTTP server pointing at the host and port specified using the private i2p
* destination loaded from the specified file, replacing the HTTP headers
* so that the Host: specified is the one spoofed. <p />
* so that the Host: specified is the one spoofed. <p>
*
* Sets the event "serverTaskId" = Integer(taskId) after the tunnel has been started (or -1 on error)
* Also sets the event "openServerResult" = "ok" or "error" (displaying "Ready!" on the logger after
@ -733,7 +733,7 @@ public class I2PTunnel extends EventDispatcherImpl implements Logging {
* Run the HTTP server pointing at the host and port specified using the private i2p
* destination loaded from the specified file, replacing the HTTP headers
* so that the Host: specified is the one spoofed. Also runs an HTTP proxy for
* bidirectional communications on the same tunnel destination.<p />
* bidirectional communications on the same tunnel destination.<p>
*
* Sets the event "serverTaskId" = Integer(taskId) after the tunnel has been started (or -1 on error)
* Also sets the event "openServerResult" = "ok" or "error" (displaying "Ready!" on the logger after
@ -808,7 +808,7 @@ public class I2PTunnel extends EventDispatcherImpl implements Logging {
/**
* Run the server pointing at the host and port specified using the private i2p
* destination loaded from the given base64 stream. <p />
* destination loaded from the given base64 stream. <p>
*
* Deprecated? Why run a server with a private destination?
* Not available from the war GUI
@ -1821,12 +1821,12 @@ public class I2PTunnel extends EventDispatcherImpl implements Logging {
/**
* Generates a Destination from a name. Now only supports base64
* names - may support naming servers later. "file:<filename>" is
* names - may support naming servers later. "file:&lt;filename&gt;" is
* also supported, where filename is a file that either contains a
* binary Destination structure or the Base64 encoding of that
* structure.
*
* Since file:<filename> isn't really used, this method is deprecated,
* Since file:&lt;filename&gt; isn't really used, this method is deprecated,
* just call context.namingService.lookup() directly.
* @deprecated Don't use i2ptunnel for lookup! Use I2PAppContext.getGlobalContext().namingService().lookup(name) from i2p.jar
*/

View File

@ -93,7 +93,7 @@ public abstract class I2PTunnelClientBase extends I2PTunnelTask implements Runna
/**
* This constructor is used to add a client to an existing socket manager.
* <p/>
* <p>
* As of 0.9.21 this does NOT open the local socket. You MUST call
* {@link #startRunning()} for that. The local socket will be opened
* immediately (ignoring the <code>i2cp.delayOpen</code> option).
@ -119,10 +119,10 @@ public abstract class I2PTunnelClientBase extends I2PTunnelTask implements Runna
/**
* The main constructor.
* <p/>
* <p>
* As of 0.9.21 this is fast, and does NOT connect the manager to the router,
* or open the local socket. You MUST call startRunning() for that.
* <p/>
* <p>
* (0.9.20 claimed to be fast, but due to a bug it DID connect the manager
* to the router. It did NOT open the local socket however, so it was still
* necessary to call startRunning() for that.)
@ -139,10 +139,10 @@ public abstract class I2PTunnelClientBase extends I2PTunnelTask implements Runna
/**
* Use this to build a client with a persistent private key.
* <p/>
* <p>
* As of 0.9.21 this is fast, and does NOT connect the manager to the router,
* or open the local socket. You MUST call startRunning() for that.
* <p/>
* <p>
* (0.9.20 claimed to be fast, but due to a bug it DID connect the manager
* to the router. It did NOT open the local socket however, so it was still
* necessary to call startRunning() for that.)

View File

@ -249,7 +249,7 @@ public class TunnelConfig {
/**
* Controls how other tunnels are checked for access.
* <p/>
* <p>
* The list used for whitelisting/blacklisting can be set with
* {@link #setAccessList(String)}.
*
@ -280,7 +280,7 @@ public class TunnelConfig {
/**
* Controls how ephemeral the I2P Destination of a client tunnel is.
* <p/>
* <p>
* If {@link #setClose(boolean)} is set to false then mode 1 == mode 0.
*
* @param mode 0 for new dest on restart, 1 for new dest on resume from idle, 2 for persistent key