Changeset fb74f41 for apps/ministreaming


Ignore:
Timestamp:
Jan 27, 2017 1:41:06 AM (3 years ago)
Author:
zzz <zzz@…>
Branches:
master
Children:
bd1354f
Parents:
5db89d8
Message:

javadoc fixes part 9 (ticket #1894)

Location:
apps/ministreaming/java/src/net/i2p/client/streaming
Files:
5 edited

Legend:

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

    r5db89d8 rfb74f41  
    2727     *  May take several seconds for b32.
    2828     *  @param host hostname or b64 dest or b32, may have :port appended
    29      *  @throws IllegalArgumentException for port < 0 or port > 65535 or invalid port
     29     *  @throws IllegalArgumentException for port &lt; 0 or port &gt; 65535 or invalid port
    3030     *  @since 0.9.9
    3131     */
     
    5252    /**
    5353     *  Does not do a reverse lookup. Host will be null.
    54      *  @throws IllegalArgumentException for port < 0 or port > 65535
     54     *  @throws IllegalArgumentException for port &lt; 0 or port &gt; 65535
    5555     */
    5656    public I2PSocketAddress(Destination dest, int port) {
     
    6767     *  Does a naming service lookup to resolve the dest.
    6868     *  May take several seconds for b32.
    69      *  @throws IllegalArgumentException for port < 0 or port > 65535
     69     *  @throws IllegalArgumentException for port &lt; 0 or port &gt; 65535
    7070     */
    7171    public I2PSocketAddress(String host, int port) {
     
    7878
    7979    /**
    80      *  @throws IllegalArgumentException for port < 0 or port > 65535
     80     *  @throws IllegalArgumentException for port &lt; 0 or port &gt; 65535
    8181     */
    8282    public static I2PSocketAddress createUnresolved(String host, int port) {
  • apps/ministreaming/java/src/net/i2p/client/streaming/I2PSocketException.java

    r5db89d8 rfb74f41  
    3333     *  Standard codes from streaming are 512-767, defined here.
    3434     *
    35      *  @param status >= 0 from MessageStatusMessage or SendMessageStatusListener
     35     *  @param status &gt;= 0 from MessageStatusMessage or SendMessageStatusListener
    3636     */
    3737    public I2PSocketException(int status) {
  • apps/ministreaming/java/src/net/i2p/client/streaming/I2PSocketManager.java

    r5db89d8 rfb74f41  
    241241     *  Like connect() but returns a real Socket, and throws only IOE,
    242242     *  for easier porting of apps.
    243      *  @param timeout ms if > 0, forces blocking (disables connectDelay)
     243     *  @param timeout ms if &gt; 0, forces blocking (disables connectDelay)
    244244     *  @since 0.8.4
    245245     */
  • apps/ministreaming/java/src/net/i2p/client/streaming/I2PSocketManagerFactory.java

    r5db89d8 rfb74f41  
    8181     *
    8282     * @param host I2CP host null to use default, ignored if in router context
    83      * @param port I2CP port <= 0 to use default, ignored if in router context
     83     * @param port I2CP port &lt;= 0 to use default, ignored if in router context
    8484     * @return the newly created socket manager, or null if there were errors
    8585     */
     
    9696     *
    9797     * @param i2cpHost I2CP host null to use default, ignored if in router context
    98      * @param i2cpPort I2CP port <= 0 to use default, ignored if in router context
     98     * @param i2cpPort I2CP port &lt;= 0 to use default, ignored if in router context
    9999     * @param opts Streaming and I2CP options, may be null
    100100     * @return the newly created socket manager, or null if there were errors
     
    158158     *                           or null for a transient destination. Caller must close.
    159159     * @param i2cpHost I2CP host null to use default, ignored if in router context
    160      * @param i2cpPort I2CP port <= 0 to use default, ignored if in router context
     160     * @param i2cpPort I2CP port &lt;= 0 to use default, ignored if in router context
    161161     * @param opts Streaming and I2CP options, may be null
    162162     * @return the newly created socket manager, or null if there were errors
     
    185185     *                           or null for a transient destination. Caller must close.
    186186     * @param i2cpHost I2CP host null to use default, ignored if in router context
    187      * @param i2cpPort I2CP port <= 0 to use default, ignored if in router context
     187     * @param i2cpPort I2CP port &lt;= 0 to use default, ignored if in router context
    188188     * @param opts Streaming and I2CP options, may be null
    189189     * @return the newly created socket manager, non-null (throws on error)
     
    217217     *                           non-null. Caller must close.
    218218     * @param i2cpHost I2CP host null to use default, ignored if in router context
    219      * @param i2cpPort I2CP port <= 0 to use default, ignored if in router context
     219     * @param i2cpPort I2CP port &lt;= 0 to use default, ignored if in router context
    220220     * @param opts Streaming and I2CP options, may be null
    221221     * @param connect true to connect (blocking)
  • apps/ministreaming/java/src/net/i2p/client/streaming/I2PSocketOptions.java

    r5db89d8 rfb74f41  
    1919     *
    2020     * Default 60 seconds. Max of 2 minutes enforced in Connection.java,
    21      * and it also interprets <= 0 as default.
     21     * and it also interprets &lt;= 0 as default.
    2222     *
    2323     * @return milliseconds to wait, or -1 if we will wait indefinitely
     
    2929     *
    3030     * Default 60 seconds. Max of 2 minutes enforced in Connection.java,
    31      * and it also interprets <= 0 as default.
     31     * and it also interprets &lt;= 0 as default.
    3232     *
    3333     * @param ms timeout in ms
Note: See TracChangeset for help on using the changeset viewer.