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

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

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

revision 1.3 by mark, Tue Apr 30 21:37:26 2002 UTC revision 1.4 by mkoch, Mon Nov 11 16:19:30 2002 UTC
# Line 37  exception statement from your version. * Line 37  exception statement from your version. *
37    
38  package java.nio.channels;  package java.nio.channels;
39    
40  import java.nio.channels.spi.*;  import java.nio.channels.spi.AbstractInterruptibleChannel;
41    import java.nio.channels.spi.SelectorProvider;
42    
43  public abstract class SelectableChannel extends AbstractInterruptibleChannel  public abstract class SelectableChannel
44      extends AbstractInterruptibleChannel
45  {  {
46      protected SelectableChannel()    protected SelectableChannel()
47      {    {
48      }    }
49      public abstract  Object blockingLock();    
50      public abstract  SelectableChannel configureBlocking(boolean block);    public abstract  Object blockingLock();
51      public abstract  boolean isBlocking();  
52      public abstract  boolean isRegistered();    public abstract  SelectableChannel configureBlocking(boolean block);
53      public abstract  SelectionKey keyFor(Selector sel);    
54      public abstract  SelectorProvider provider();    public abstract  boolean isBlocking();
55      public SelectionKey register(Selector sel, int ops) throws java.nio.channels.ClosedChannelException    
56      {    public abstract  boolean isRegistered();
57          return register(sel, ops, null);    
58      }    public abstract  SelectionKey keyFor(Selector sel);
59      public abstract  SelectionKey register(Selector sel, int ops, Object att) throws java.nio.channels.ClosedChannelException;    
60      public abstract  int validOps();      public abstract  SelectorProvider provider();
61      
62      public final SelectionKey register(Selector sel, int ops)
63        throws ClosedChannelException
64      {
65        return register(sel, ops, null);
66      }
67      
68      public abstract  SelectionKey register(Selector sel, int ops, Object att)
69        throws ClosedChannelException;
70      
71      public abstract  int validOps();  
72  }  }

Legend:
Removed from v.1.3  
changed lines
  Added in v.1.4

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