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

Diff of /classpath/java/nio/channels/Pipe.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.AbstractSelectableChannel;
41    import java.nio.channels.spi.SelectorProvider;
42    
43  public abstract class Pipe  public abstract class Pipe
44  {  {
45      public abstract static class SinkChannel    public abstract static class SinkChannel
46          extends AbstractSelectableChannel      extends AbstractSelectableChannel
47          implements WritableByteChannel, GatheringByteChannel      implements WritableByteChannel, GatheringByteChannel
48      {
49        protected SinkChannel(SelectorProvider provider)
50      {      {
51          protected SinkChannel(SelectorProvider provider)        super (provider);
             {  
             }  
52      }      }
53      }
54    
55      public abstract static class SourceChannel    public abstract static class SourceChannel
56          extends AbstractSelectableChannel      extends AbstractSelectableChannel
57          implements ReadableByteChannel, ScatteringByteChannel      implements ReadableByteChannel, ScatteringByteChannel
58      {
59        protected SourceChannel(SelectorProvider provider)
60      {      {
61          protected SourceChannel(SelectorProvider provider)        super (provider);
         {  
         }  
62      }      }
63      }
64            
65      protected Pipe()
66      {
67      }
68    
69      protected Pipe()    public static Pipe open()
70      {    {
71      }      return null;
72          }
     static Pipe open()  
     {  
         return null;  
     }  
73            
74      public abstract  SinkChannel sink();    public abstract Pipe.SinkChannel sink();
75      public abstract  SourceChannel source();      public abstract Pipe.SourceChannel source();  
76  }  }

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