/[classpath]/classpath/gnu/java/net/PlainDatagramSocketImpl.java
ViewVC logotype

Diff of /classpath/gnu/java/net/PlainDatagramSocketImpl.java

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

revision 1.6.2.1 by gnu_andrew, Sat Jan 15 17:01:42 2005 UTC revision 1.6.2.2 by gnu_andrew, Sun Jan 16 15:15:08 2005 UTC
# Line 1  Line 1 
1  /* PlainDatagramSocketImpl.java -- Default DatagramSocket implementation  /* PlainDatagramSocketImpl.java -- Default DatagramSocket implementation
2     Copyright (C) 1998, 1999, 2001, 2003, 2004  Free Software Foundation, Inc.     Copyright (C) 1998, 1999, 2001, 2003, 2004, 2005  Free Software Foundation, Inc.
3    
4  This file is part of GNU Classpath.  This file is part of GNU Classpath.
5    
# Line 123  public final class PlainDatagramSocketIm Line 123  public final class PlainDatagramSocketIm
123     *     *
124     * @exception SocketException If an error occurs     * @exception SocketException If an error occurs
125     */     */
126    protected native synchronized void bind(int port, InetAddress addr)    protected synchronized native void bind(int port, InetAddress addr)
127      throws SocketException;      throws SocketException;
128    
129    /**    /**
# Line 131  public final class PlainDatagramSocketIm Line 131  public final class PlainDatagramSocketIm
131     *     *
132     * @exception SocketException If an error occurs     * @exception SocketException If an error occurs
133     */     */
134    protected native synchronized void create() throws SocketException;    protected synchronized native void create() throws SocketException;
135    
136    /**    /**
137     * Sets the Time to Live value for the socket     * Sets the Time to Live value for the socket
# Line 227  public final class PlainDatagramSocketIm Line 227  public final class PlainDatagramSocketIm
227     *     *
228     * @exception SocketException If an error occurs     * @exception SocketException If an error occurs
229     */     */
230    public native synchronized void setOption(int option_id, Object val)    public synchronized native void setOption(int option_id, Object val)
231      throws SocketException;      throws SocketException;
232    
233    /**    /**
# Line 239  public final class PlainDatagramSocketIm Line 239  public final class PlainDatagramSocketIm
239     *     *
240     * @exception SocketException If an error occurs     * @exception SocketException If an error occurs
241     */     */
242    public native synchronized Object getOption(int option_id)    public synchronized native Object getOption(int option_id)
243      throws SocketException;      throws SocketException;
244    
245    /**    /**
246     * Closes the socket     * Closes the socket
247     */     */
248    protected native synchronized void close();    protected synchronized native void close();
249    
250    /**    /**
251     * Gets the Time to Live value for the socket     * Gets the Time to Live value for the socket
# Line 282  public final class PlainDatagramSocketIm Line 282  public final class PlainDatagramSocketIm
282     *     *
283     * @exception IOException If an error occurs     * @exception IOException If an error occurs
284     */     */
285    protected native synchronized void join(InetAddress addr) throws IOException;    protected synchronized native void join(InetAddress addr) throws IOException;
286    
287    /**    /**
288     * Leaves a multicast group     * Leaves a multicast group
# Line 291  public final class PlainDatagramSocketIm Line 291  public final class PlainDatagramSocketIm
291     *     *
292     * @exception IOException If an error occurs     * @exception IOException If an error occurs
293     */     */
294    protected native synchronized void leave(InetAddress addr) throws IOException;    protected synchronized native void leave(InetAddress addr) throws IOException;
295    
296    /**    /**
297     * What does this method really do?     * What does this method really do?

Legend:
Removed from v.1.6.2.1  
changed lines
  Added in v.1.6.2.2

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