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:
- Closeable, IBufferHandler
- public class ChannelInputStream
- extends BufferInputStream
An input stream
that provides the buffers
which arrive at a channel
as a continuous byte sequence.
ChannelInputStream
public ChannelInputStream(IChannel channel)
ChannelInputStream
public ChannelInputStream(IChannel channel,
long millisBeforeTimeout)
getChannel
public IChannel getChannel()
getMillisBeforeTimeout
public long getMillisBeforeTimeout()
- Overrides:
getMillisBeforeTimeout
in class BufferInputStream
setMillisBeforeTimeout
public void setMillisBeforeTimeout(long millisBeforeTimeout)
getMillisInterruptCheck
public long getMillisInterruptCheck()
- Overrides:
getMillisInterruptCheck
in class BufferInputStream
setMillisInterruptCheck
public void setMillisInterruptCheck(long millisInterruptCheck)
toString
public String toString()
- Overrides:
toString
in class BufferInputStream
Copyright (c) 2004 - 2012 Eike Stepper (Berlin, Germany) and others.