anon.client
Class SocketHandler.SocketInputStreamImplementation

java.lang.Object
  extended by java.io.InputStream
      extended by anon.client.SocketHandler.SocketInputStreamImplementation
All Implemented Interfaces:
java.io.Closeable
Enclosing class:
SocketHandler

private class SocketHandler.SocketInputStreamImplementation
extends java.io.InputStream


Field Summary
private  java.io.InputStream m_underlyingStream
           
 
Constructor Summary
SocketHandler.SocketInputStreamImplementation(java.io.InputStream a_underlyingStream)
           
 
Method Summary
 int available()
           
 void close()
           
 int read()
           
 int read(byte[] a_buffer, int a_offset, int a_length)
           
 
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
 

Field Detail

m_underlyingStream

private java.io.InputStream m_underlyingStream
Constructor Detail

SocketHandler.SocketInputStreamImplementation

public SocketHandler.SocketInputStreamImplementation(java.io.InputStream a_underlyingStream)
Method Detail

read

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

read

public int read(byte[] a_buffer,
                int a_offset,
                int a_length)
         throws java.io.IOException
Overrides:
read in class java.io.InputStream
Throws:
java.io.IOException

available

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

close

public void close()
Specified by:
close in interface java.io.Closeable
Overrides:
close in class java.io.InputStream