Changeset 965b183d


Ignore:
Timestamp:
May 12, 2009 10:46:34 AM (12 years ago)
Author:
mkvore-commit <mkvore-commit@…>
Branches:
master
Children:
9195e754
Parents:
a6f106e
Message:

fix: warnings when generating javadoc

Location:
apps/sam
Files:
5 edited

Legend:

Unmodified
Added
Removed
  • apps/sam/doc/sam.3.0-protocol.txt

    ra6f106e r965b183d  
    223223peer.
    224224 * If SILENCE=false was passed, which is the default value, the SAM bridge
    225 sends the client a ASCII line containing the base64 public destination key
     225sends the client an ASCII line containing the base64 public destination key
    226226of the requesting peer. After this '\n' terminated line, all remaining data
    227227passing through the current socket is forwarded from and to the connected
  • apps/sam/java/src/net/i2p/sam/SAMStreamReceiver.java

    ra6f106e r965b183d  
    5555
    5656    /**
    57      * Send a byte array to a SAM client.
     57     * Transmit a byte array from I2P to a SAM client.
    5858     *
    5959     * @param id Connection id
    6060     * @param data Byte array to be received
    61      * @param len Number of bytes in data
    6261     * @throws IOException
    6362     */
  • apps/sam/java/src/net/i2p/sam/SAMv3DatagramSession.java

    ra6f106e r965b183d  
    3131
    3232        /**
     33         *   build a DatagramSession according to informations registered
     34         *   with the given nickname
    3335         * @param nick nickname of the session
    34          * @param server DatagramServer used for communication with the client
    3536         * @throws IOException
    3637         * @throws DataFormatException
  • apps/sam/java/src/net/i2p/sam/SAMv3RawSession.java

    ra6f106e r965b183d  
    3030
    3131        /**
     32         *   Build a Raw Datagram Session according to information
     33         *   registered with the given nickname
     34         *   
    3235         * @param nick nickname of the session
    33          * @param server DatagramServer used for communication with the client
    3436         * @throws IOException
    3537         * @throws DataFormatException
  • apps/sam/java/src/net/i2p/sam/SAMv3StreamSession.java

    ra6f106e r965b183d  
    5656               
    5757                   /**
    58              * Create a new SAM STREAM session.
     58             * Create a new SAM STREAM session, according to information
     59             * registered with the given nickname
    5960             *
    60              * @param dest Base64-encoded destination (private key)
    61              * @param dir Session direction ("RECEIVE", "CREATE" or "BOTH")
    62              * @param props Properties to setup the I2P session
    63              * @param recv Object that will receive incoming data
     61             * @param login The nickname
    6462             * @throws IOException
    6563             * @throws DataFormatException
     
    117115             * Connect the SAM STREAM session to the specified Destination
    118116             *
    119              * @param id Unique id for the connection
     117             * @param handler The handler that communicates with the requesting client
    120118             * @param dest Base64-encoded Destination to connect to
    121119             * @param props Options to be used for connection
    122120             *
    123              * @return true if successful
    124121             * @throws DataFormatException if the destination is not valid
    125122             * @throws ConnectException if the destination refuses connections
     
    129126             * @throws IOException
    130127             */
    131             public void connect ( SAMv3Handler handler, String dest, Properties props ) throws I2PException, ConnectException, NoRouteToHostException, DataFormatException, InterruptedIOException, IOException {
     128            public void connect ( SAMv3Handler handler, String dest, Properties props )
     129            throws I2PException, ConnectException, NoRouteToHostException,
     130                        DataFormatException, InterruptedIOException, IOException {
    132131
    133132                boolean verbose = (props.getProperty("SILENT", "false").equals("false"));
     
    165164             * Accept an incoming STREAM
    166165             *
    167              * @param id Unique id for the connection
    168              * @param dest Base64-encoded Destination to connect to
    169              * @param props Options to be used for connection
     166             * @param handler The handler that communicates with the requesting client
     167             * @param verbose If true, SAM will send the Base64-encoded peer Destination of an
     168             *                incoming socket as the first line of data sent to its client
     169             *                on the handler socket
    170170             *
    171              * @return true if successful
    172171             * @throws DataFormatException if the destination is not valid
    173172             * @throws ConnectException if the destination refuses connections
     
    370369            /**
    371370             *  stop Forwarding Incoming connection coming from I2P
    372              * @param props
    373371             * @throws SAMException
    374372             * @throws InterruptedIOException
Note: See TracChangeset for help on using the changeset viewer.