org.eclipse.net4j.channel
Class ChannelInputStream

java.lang.Object
  extended by java.io.InputStream
      extended by org.eclipse.net4j.buffer.BufferInputStream
          extended by org.eclipse.net4j.channel.ChannelInputStream
All Implemented Interfaces:
java.io.Closeable, IBufferHandler

public class ChannelInputStream
extends BufferInputStream


Field Summary
 
Fields inherited from class org.eclipse.net4j.buffer.BufferInputStream
DEFAULT_MILLIS_BEFORE_TIMEOUT, DEFAULT_MILLIS_INTERRUPT_CHECK, NO_TIMEOUT
 
Constructor Summary
ChannelInputStream(IChannel channel)
           
ChannelInputStream(IChannel channel, long millisBeforeTimeout)
           
 
Method Summary
 IChannel getChannel()
           
 long getMillisBeforeTimeout()
           
 long getMillisInterruptCheck()
           
 void setMillisBeforeTimeout(long millisBeforeTimeout)
           
 void setMillisInterruptCheck(long millisInterruptCheck)
           
 java.lang.String toString()
           
 
Methods inherited from class org.eclipse.net4j.buffer.BufferInputStream
close, ensureBuffer, handleBuffer, read
 
Methods inherited from class java.io.InputStream
available, mark, markSupported, read, read, reset, skip
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

ChannelInputStream

public ChannelInputStream(IChannel channel)

ChannelInputStream

public ChannelInputStream(IChannel channel,
                          long millisBeforeTimeout)
Method Detail

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 java.lang.String toString()
Overrides:
toString in class BufferInputStream

Copyright (c) 2004 - 2008 Eike Stepper, Germany.
All Rights Reserved.