/[classpath]/classpath/java/net/PlainSocketImpl.java
ViewVC logotype

Diff of /classpath/java/net/PlainSocketImpl.java

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 1.10 by mkoch, Tue Nov 12 07:23:38 2002 UTC revision 1.11 by mkoch, Fri Mar 14 11:57:40 2003 UTC
# Line 39  exception statement from your version. * Line 39  exception statement from your version. *
39  package java.net;  package java.net;
40    
41  import java.io.InputStream;  import java.io.InputStream;
 import java.io.OutputStream;  
42  import java.io.IOException;  import java.io.IOException;
43    import java.io.OutputStream;
44  import gnu.classpath.Configuration;  import gnu.classpath.Configuration;
45    
46  /**  /**
# Line 117  class PlainSocketImpl extends SocketImpl Line 117  class PlainSocketImpl extends SocketImpl
117     *     *
118     * @exception IOException If an error occurs     * @exception IOException If an error occurs
119     */     */
120    protected native void close() throws IOException;    protected native void close () throws IOException;
121    
122    /**    /**
123     * Connects to the remote address and port specified as arguments.     * Connects to the remote address and port specified as arguments.
# Line 223  class PlainSocketImpl extends SocketImpl Line 223  class PlainSocketImpl extends SocketImpl
223     * Returns an InputStream object for reading from this socket.  This will     * Returns an InputStream object for reading from this socket.  This will
224     * be an instance of SocketInputStream.     * be an instance of SocketInputStream.
225     *     *
226     * @return An InputStream     * @return An input stream attached to the socket.
227     *     *
228     * @exception IOException If an error occurs     * @exception IOException If an error occurs
229     */     */
# Line 231  class PlainSocketImpl extends SocketImpl Line 231  class PlainSocketImpl extends SocketImpl
231    {    {
232      return(new SocketInputStream(this));      return(new SocketInputStream(this));
233    }    }
234      
235    /**    /**
236     * Returns an OutputStream object for writing to this socket.  This will     * Returns an OutputStream object for writing to this socket.  This will
237     * be an instance of SocketOutputStream.     * be an instance of SocketOutputStream.
238     *     *
239     * @return An OutputStream     * @return An output stream attached to the socket.
240     *     *
241     * @exception IOException If an error occurs     * @exception IOException If an error occurs
242     */     */

Legend:
Removed from v.1.10  
changed lines
  Added in v.1.11

savannah-hackers-public@gnu.org
ViewVC Help
Powered by ViewVC 1.1.26