/[classpath]/classpath/java/nio/channels/ServerSocketChannel.java
ViewVC logotype

Diff of /classpath/java/nio/channels/ServerSocketChannel.java

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

revision 1.5 by mkoch, Wed Nov 13 10:53:38 2002 UTC revision 1.6 by mkoch, Thu Nov 21 09:12:27 2002 UTC
# Line 60  public abstract class ServerSocketChanne Line 60  public abstract class ServerSocketChanne
60    }    }
61        
62    /**    /**
63     *  Accepts a connection made to this channel's socket.     * Accepts a connection made to this channel's socket.
64       *
65       * @exception IOException If an error occurs
66       * @exception AsynchronousCloseException If another thread closes this
67       * channel while the accept operation is in progress.
68       * @exception ClosedByInterruptException If another thread interrupts the
69       * current thread while the accept operation is in progress, thereby closing
70       * the channel and setting the current thread's interrupt status.
71       * @exception ClosedChannelException If the channel is closed.
72       * @exception NotYetBoundException If the channel's socket is not yet bound.
73       * @exception SecurityException If a security manager has been installed and
74       * it does not permit access to the remote endpoint of the new connection.
75     */     */
76    public abstract SocketChannel accept ();    public abstract SocketChannel accept ();
77        
# Line 70  public abstract class ServerSocketChanne Line 81  public abstract class ServerSocketChanne
81    public abstract ServerSocket socket ();    public abstract ServerSocket socket ();
82            
83    /**    /**
84     * Opens a server socker channel.     * Opens a server socket channel.
85       *
86       * @exception IOException If an error occurs
87     */     */
88    public static ServerSocketChannel open () throws IOException    public static ServerSocketChannel open () throws IOException
89    {    {

Legend:
Removed from v.1.5  
changed lines
  Added in v.1.6

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