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

Diff of /classpath/java/net/DatagramSocketImpl.java

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

revision 1.19 by arenn, Sat May 24 04:37:18 2003 UTC revision 1.20 by mkoch, Sat Jun 7 21:19:02 2003 UTC
# Line 284  public abstract class DatagramSocketImpl Line 284  public abstract class DatagramSocketImpl
284    {    {
285      return localPort;      return localPort;
286    }    }
   
   /**  
    * Sets the specified option on a socket to the passed in object.  For  
    * options that take an integer argument, the passed in object is an  
    * <code>Integer</code>.  For options that are set to on or off, the  
    * value passed will be a <code>Boolean</code>.   The <code>optionId</code>  
    * parameter is one of the defined constants in the superinterface.  
    *  
    * @param optionId The identifier of the option  
    * @param val The value to set the option to  
    *  
    * @exception SocketException If an error occurs  
    * @XXX This redeclaration from SocketOptions is a workaround to a gcj bug.  
    */  
   public abstract void setOption(int optionId, Object val)  
     throws SocketException;  
   
   /**  
    * Returns the current setting of the specified option.  The  
    * <code>Object</code> returned will be an <code>Integer</code> for options  
    * that have integer values.  For options that are set to on or off, a  
    * <code>Boolean</code> will be returned.   The <code>optionId</code>  
    * is one of the defined constants in the superinterface.  
    *  
    * @param optionId The option identifier  
    *  
    * @return The current value of the option  
    *  
    * @exception SocketException If an error occurs  
    * @XXX This redeclaration from SocketOptions is a workaround to a gcj bug.  
    */  
   public abstract Object getOption(int option_id) throws SocketException;  
287  }  }

Legend:
Removed from v.1.19  
changed lines
  Added in v.1.20

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