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

Diff of /classpath/java/net/Socket.java

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

revision 1.13 by rveldema, Mon Apr 8 10:14:49 2002 UTC revision 1.14 by mkoch, Tue Aug 27 17:48:05 2002 UTC
# Line 38  exception statement from your version. * Line 38  exception statement from your version. *
38  package java.net;  package java.net;
39    
40  import java.io.*;  import java.io.*;
 import java.nio.channels.*;  
41    
42  /* Written using on-line Java Platform 1.2 API Specification.  /* Written using on-line Java Platform 1.2 API Specification.
43   * Status:  I believe all methods are implemented.   * Status:  I believe all methods are implemented.
# Line 535  public class Socket Line 534  public class Socket
534     *     *
535     * @exception SocketException If an error occurs or Socket not connected     * @exception SocketException If an error occurs or Socket not connected
536     *     *
537     * @since Java 1.2     * @since 1.2
538     */     */
539    public void setSendBufferSize (int size) throws SocketException    public void setSendBufferSize (int size) throws SocketException
540    {    {
# Line 557  public class Socket Line 556  public class Socket
556     *     *
557     * @exception SocketException If an error occurs or socket not connected     * @exception SocketException If an error occurs or socket not connected
558     *     *
559     * @since Java 1.2     * @since 1.2
560     */     */
561    public int getSendBufferSize () throws SocketException    public int getSendBufferSize () throws SocketException
562    {    {
# Line 581  public class Socket Line 580  public class Socket
580     *     *
581     * @exception SocketException If an error occurs or Socket is not connected     * @exception SocketException If an error occurs or Socket is not connected
582     *     *
583     * @since Java 1.2     * @since 1.2
584     */     */
585    public void setReceiveBufferSize (int size) throws SocketException    public void setReceiveBufferSize (int size) throws SocketException
586    {    {
# Line 603  public class Socket Line 602  public class Socket
602     *     *
603     * @exception SocketException If an error occurs or Socket is not connected     * @exception SocketException If an error occurs or Socket is not connected
604     *     *
605     * @since Java 1.2     * @since 1.2
606     */     */
607    public int getReceiveBufferSize () throws SocketException    public int getReceiveBufferSize () throws SocketException
608    {    {
# Line 668  public class Socket Line 667  public class Socket
667    
668      factory = fac;      factory = fac;
669    }    }
   
   public void shutdownInput() throws IOException  
   {  
   }  
   
   public void shutdownOutput() throws IOException  
   {  
   }  
   
   
     /**  
      * returns the socket channel associated with  
      * this socket.  
      * It returns null if no associated socket exists.  
      */  
       
     SocketChannel ch; // this field must have been set if created by SocketChannel  
   
     public SocketChannel getChannel()  
     {  
         return ch;  
     }  
670  }  }

Legend:
Removed from v.1.13  
changed lines
  Added in v.1.14

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