Apache CXF API

org.apache.cxf.transport.udp
Class IoSessionInputStream

java.lang.Object
  extended by java.io.InputStream
      extended by org.apache.cxf.transport.udp.IoSessionInputStream
All Implemented Interfaces:
Closeable

public class IoSessionInputStream
extends InputStream


Constructor Summary
IoSessionInputStream()
           
IoSessionInputStream(org.apache.mina.core.buffer.IoBuffer b)
           
 
Method Summary
 int available()
           
 void close()
           
 int read()
           
 int read(byte[] b, int off, int len)
           
 void setBuffer(org.apache.mina.core.buffer.IoBuffer b)
           
 void throwException(IOException e)
           
 void waitForData()
           
 
Methods inherited from class java.io.InputStream
mark, markSupported, read, reset, skip
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

IoSessionInputStream

public IoSessionInputStream(org.apache.mina.core.buffer.IoBuffer b)

IoSessionInputStream

public IoSessionInputStream()
Method Detail

available

public int available()
              throws IOException
Overrides:
available in class InputStream
Throws:
IOException

close

public void close()
           throws IOException
Specified by:
close in interface Closeable
Overrides:
close in class InputStream
Throws:
IOException

read

public int read()
         throws IOException
Specified by:
read in class InputStream
Throws:
IOException

waitForData

public void waitForData()
                 throws IOException
Throws:
IOException

read

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

throwException

public void throwException(IOException e)

setBuffer

public void setBuffer(org.apache.mina.core.buffer.IoBuffer b)

Apache CXF API

Apache CXF