anon.client
Class DataChainInputStreamQueueEntry

java.lang.Object
  extended by anon.client.DataChainInputStreamQueueEntry

public class DataChainInputStreamQueueEntry
extends java.lang.Object

Author:
Stefan Lieske

Field Summary
private  int m_alreadyReadBytes
           
private  byte[] m_data
           
private  java.io.IOException m_ioException
           
private  int m_type
           
static int TYPE_DATA_AVAILABLE
           
static int TYPE_IO_EXCEPTION
           
static int TYPE_STREAM_END
           
 
Constructor Summary
DataChainInputStreamQueueEntry(int a_type, byte[] a_data)
           
DataChainInputStreamQueueEntry(java.io.IOException a_exception)
           
 
Method Summary
 int getAlreadyReadBytes()
           
 byte[] getData()
           
 java.io.IOException getIOException()
           
 int getType()
           
 void setAlreadyReadBytes(int a_alreadyReadBytes)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

TYPE_DATA_AVAILABLE

public static final int TYPE_DATA_AVAILABLE
See Also:
Constant Field Values

TYPE_STREAM_END

public static final int TYPE_STREAM_END
See Also:
Constant Field Values

TYPE_IO_EXCEPTION

public static final int TYPE_IO_EXCEPTION
See Also:
Constant Field Values

m_type

private int m_type

m_data

private byte[] m_data

m_alreadyReadBytes

private int m_alreadyReadBytes

m_ioException

private java.io.IOException m_ioException
Constructor Detail

DataChainInputStreamQueueEntry

public DataChainInputStreamQueueEntry(int a_type,
                                      byte[] a_data)

DataChainInputStreamQueueEntry

public DataChainInputStreamQueueEntry(java.io.IOException a_exception)
Method Detail

getType

public int getType()

getData

public byte[] getData()

getAlreadyReadBytes

public int getAlreadyReadBytes()

setAlreadyReadBytes

public void setAlreadyReadBytes(int a_alreadyReadBytes)

getIOException

public java.io.IOException getIOException()