Changeset 9953bc3 for apps/ministreaming


Ignore:
Timestamp:
Dec 5, 2014 3:18:24 PM (6 years ago)
Author:
zzz <zzz@…>
Branches:
master
Children:
2db82da
Parents:
2ba4992
Message:

javadoc

File:
1 edited

Legend:

Unmodified
Added
Removed
  • apps/ministreaming/java/src/net/i2p/client/streaming/I2PSocketManagerFactory.java

    r2ba4992 r9953bc3  
    2121 * Simplify the creation of I2PSession and transient I2P Destination objects if
    2222 * necessary to create a socket manager.  This class is most likely how classes
    23  * will begin their use of the socket library
     23 * will begin their use of the socket library.
     24 *
     25 * For new applications, createDisconnectedManager() is the preferred method.
     26 * It is non-blocking and throws on all errors.
     27 * All createManager() methods are blocking and return null on error.
     28 *
     29 * Note that for all methods, host and port arguments are ignored if in RouterContext;
     30 * it will connect internally to the router in the JVM.
     31 * You cannot connect out from a router JVM to another router.
    2432 *
    2533 */
     
    6876     * Blocks for a long time while the router builds tunnels.
    6977     *
    70      * @param host I2CP host null to use default
    71      * @param port I2CP port <= 0 to use default
     78     * @param host I2CP host null to use default, ignored if in router context
     79     * @param port I2CP port <= 0 to use default, ignored if in router context
    7280     * @return the newly created socket manager, or null if there were errors
    7381     */
     
    8290     * Blocks for a long time while the router builds tunnels.
    8391     *
    84      * @param i2cpHost I2CP host null to use default
    85      * @param i2cpPort I2CP port <= 0 to use default
     92     * @param i2cpHost I2CP host null to use default, ignored if in router context
     93     * @param i2cpPort I2CP port <= 0 to use default, ignored if in router context
    8694     * @param opts Streaming and I2CP options, may be null
    8795     * @return the newly created socket manager, or null if there were errors
     
    141149     * @param myPrivateKeyStream private key stream, format is specified in {@link net.i2p.data.PrivateKeyFile PrivateKeyFile}
    142150     *                           or null for a transient destination. Caller must close.
    143      * @param i2cpHost I2CP host null to use default
    144      * @param i2cpPort I2CP port <= 0 to use default
     151     * @param i2cpHost I2CP host null to use default, ignored if in router context
     152     * @param i2cpPort I2CP port <= 0 to use default, ignored if in router context
    145153     * @param opts Streaming and I2CP options, may be null
    146154     * @return the newly created socket manager, or null if there were errors
     
    168176     * @param myPrivateKeyStream private key stream, format is specified in {@link net.i2p.data.PrivateKeyFile PrivateKeyFile}
    169177     *                           or null for a transient destination. Caller must close.
    170      * @param i2cpHost I2CP host null to use default
    171      * @param i2cpPort I2CP port <= 0 to use default
     178     * @param i2cpHost I2CP host null to use default, ignored if in router context
     179     * @param i2cpPort I2CP port <= 0 to use default, ignored if in router context
    172180     * @param opts Streaming and I2CP options, may be null
    173181     * @return the newly created socket manager, non-null (throws on error)
     
    198206     * @param myPrivateKeyStream private key stream, format is specified in {@link net.i2p.data.PrivateKeyFile PrivateKeyFile}
    199207     *                           non-null. Caller must close.
    200      * @param i2cpHost I2CP host null to use default
    201      * @param i2cpPort I2CP port <= 0 to use default
     208     * @param i2cpHost I2CP host null to use default, ignored if in router context
     209     * @param i2cpPort I2CP port <= 0 to use default, ignored if in router context
    202210     * @param opts Streaming and I2CP options, may be null
    203211     * @param connect true to connect (blocking)
Note: See TracChangeset for help on using the changeset viewer.