Package org.eclipse.net4j.channel
Class ChannelInputStream
- java.lang.Object
- 
- java.io.InputStream
- 
- org.eclipse.net4j.buffer.BufferInputStream
- 
- org.eclipse.net4j.channel.ChannelInputStream
 
 
 
- 
- All Implemented Interfaces:
- java.io.Closeable,- java.lang.AutoCloseable,- IBufferHandler
 
 public class ChannelInputStream extends BufferInputStream - Author:
- Eike Stepper
 
- 
- 
Field Summary- 
Fields inherited from class org.eclipse.net4j.buffer.BufferInputStreamDEFAULT_MILLIS_BEFORE_TIMEOUT, DEFAULT_MILLIS_INTERRUPT_CHECK, NO_TIMEOUT
 
- 
 - 
Constructor SummaryConstructors Constructor Description ChannelInputStream(IChannel channel)ChannelInputStream(IChannel channel, long millisBeforeTimeout)
 - 
Method SummaryAll Methods Instance Methods Concrete Methods Modifier and Type Method Description IChannelgetChannel()longgetMillisBeforeTimeout()longgetMillisInterruptCheck()intread()voidsetMillisBeforeTimeout(long millisBeforeTimeout)voidsetMillisInterruptCheck(long millisInterruptCheck)java.lang.StringtoString()- 
Methods inherited from class org.eclipse.net4j.buffer.BufferInputStreamclose, closeChannel, ensureBuffer, getException, handleBuffer, isCCAM, read, restartTimeout, setException
 
- 
 
- 
- 
- 
Method Detail- 
getChannelpublic IChannel getChannel() 
 - 
getMillisBeforeTimeoutpublic long getMillisBeforeTimeout() - Overrides:
- getMillisBeforeTimeoutin class- BufferInputStream
 
 - 
setMillisBeforeTimeoutpublic void setMillisBeforeTimeout(long millisBeforeTimeout) 
 - 
getMillisInterruptCheckpublic long getMillisInterruptCheck() - Overrides:
- getMillisInterruptCheckin class- BufferInputStream
 
 - 
setMillisInterruptCheckpublic void setMillisInterruptCheck(long millisInterruptCheck) 
 - 
readpublic int read() throws java.io.IOException- Overrides:
- readin class- BufferInputStream
- Throws:
- java.io.IOException
 
 - 
toStringpublic java.lang.String toString() - Overrides:
- toStringin class- BufferInputStream
 
 
- 
 
-