/[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.15 by mkoch, Tue Aug 27 17:48:05 2002 UTC revision 1.16 by mkoch, Thu Nov 7 11:20:39 2002 UTC
# Line 108  public abstract class DatagramSocketImpl Line 108  public abstract class DatagramSocketImpl
108     * @return The port number of the sender of the packet     * @return The port number of the sender of the packet
109     *     *
110     * @exception IOException If an error occurs     * @exception IOException If an error occurs
111       * @exception PortUnreachableException May be thrown if the socket is
112       * connected to a currently unreachable destination. Note, there is no
113       * guarantee that the exception will be thrown.
114     */     */
115    protected abstract int peek(InetAddress i) throws IOException;    protected abstract int peek(InetAddress i) throws IOException;
116    
# Line 118  public abstract class DatagramSocketImpl Line 121  public abstract class DatagramSocketImpl
121     * @param p The packet to send     * @param p The packet to send
122     *     *
123     * @exception IOException If an error occurs     * @exception IOException If an error occurs
124       * @exception PortUnreachableException May be thrown if the socket is
125       * connected to a currently unreachable destination. Note, there is no
126       * guarantee that the exception will be thrown.
127     */     */
128    protected abstract void send(DatagramPacket p) throws IOException;    protected abstract void send(DatagramPacket p) throws IOException;
129    
# Line 129  public abstract class DatagramSocketImpl Line 135  public abstract class DatagramSocketImpl
135     * @param p A place to store the incoming packet.     * @param p A place to store the incoming packet.
136     *     *
137     * @exception IOException If an error occurs     * @exception IOException If an error occurs
138       * @exception PortUnreachableException May be thrown if the socket is
139       * connected to a currently unreachable destination. Note, there is no
140       * guarantee that the exception will be thrown.
141     */     */
142    protected abstract void receive(DatagramPacket p) throws IOException;    protected abstract void receive(DatagramPacket p) throws IOException;
143    
# Line 208  public abstract class DatagramSocketImpl Line 217  public abstract class DatagramSocketImpl
217     * Sets the specified option on a socket to the passed in object.  For     * Sets the specified option on a socket to the passed in object.  For
218     * options that take an integer argument, the passed in object is an     * options that take an integer argument, the passed in object is an
219     * <code>Integer</code>.  For options that are set to on or off, the     * <code>Integer</code>.  For options that are set to on or off, the
220     * value passed will be a <code>Boolean</code>.   The <code>option_id</code>     * value passed will be a <code>Boolean</code>.   The <code>option_id</code>
221     * parameter is one of the defined constants in the superinterface.     * parameter is one of the defined constants in the superinterface.
222     *     *
223     * @param option_id The identifier of the option     * @param option_id The identifier of the option

Legend:
Removed from v.1.15  
changed lines
  Added in v.1.16

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