org.apache.geronimo.network.protocol
Class PacketInputStream

java.lang.Object
  extended byjava.io.InputStream
      extended byorg.apache.geronimo.network.protocol.PacketInputStream

public class PacketInputStream
extends InputStream

Version:
$Revision: 1.5 $ $Date: 2004/08/01 13:03:43 $

Constructor Summary
PacketInputStream(Protocol up)
           
PacketInputStream(Protocol up, short queueSize)
           
 
Method Summary
 int available()
           
 void close()
           
 void mark(int readlimit)
           
 boolean markSupported()
           
 int read()
           
 int read(byte[] b)
           
 int read(byte[] b, int off, int len)
           
 void reset()
           
 long skip(long n)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

PacketInputStream

public PacketInputStream(Protocol up)

PacketInputStream

public PacketInputStream(Protocol up,
                         short queueSize)
Method Detail

read

public int read()
         throws IOException
Throws:
IOException

read

public int read(byte[] b)
         throws IOException
Throws:
IOException

read

public int read(byte[] b,
                int off,
                int len)
         throws IOException
Throws:
IOException

skip

public long skip(long n)
          throws IOException
Throws:
IOException

available

public int available()
              throws IOException
Throws:
IOException

close

public void close()
           throws IOException
Throws:
IOException

mark

public void mark(int readlimit)

reset

public void reset()
           throws IOException
Throws:
IOException

markSupported

public boolean markSupported()


Copyright © 2003-2005 Apache Software Foundation. All Rights Reserved.