Changeset 255ebe7 for apps/ministreaming


Ignore:
Timestamp:
Oct 17, 2013 1:39:00 PM (7 years ago)
Author:
zzz <zzz@…>
Branches:
master
Children:
a78d34ab
Parents:
5f7a761
Message:
  • Streaming: Throw IOE if socket is closed (ticket #1077),

never return null from stream getters

File:
1 edited

Legend:

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

    r5f7a761 r255ebe7  
    2626
    2727    /**
    28      * @return an InputStream to read from the socket.
     28     *  As of 0.9.9 will throw an IOE if socket is closed.
     29     *  Prior to that would return null instead of throwing IOE.
     30     *
     31     * @return an InputStream to read from the socket. Non-null since 0.9.9.
    2932     * @throws IOException on failure
    3033     */
     
    3235
    3336    /**
    34      * @return an OutputStream to write into the socket.
     37     *  As of 0.9.9 will throw an IOE if socket is closed.
     38     *  Prior to that would return null instead of throwing IOE.
     39     *
     40     * @return an OutputStream to write into the socket. Non-null since 0.9.9.
    3541     * @throws IOException on failure
    3642     */
Note: See TracChangeset for help on using the changeset viewer.