org.glassfish.grizzly.nio.transport
Class DefaultStreamReader.Input

java.lang.Object
  extended by org.glassfish.grizzly.streams.BufferedInput
      extended by org.glassfish.grizzly.nio.transport.DefaultStreamReader.Input
All Implemented Interfaces:
Input
Enclosing class:
DefaultStreamReader

public static final class DefaultStreamReader.Input
extends BufferedInput


Field Summary
 
Fields inherited from class org.glassfish.grizzly.streams.BufferedInput
completionHandler, compositeBuffer, condition, future, isCompletionHandlerRegistered, lock, registrationStackTrace
 
Constructor Summary
DefaultStreamReader.Input()
           
 
Method Summary
protected  void notifyCompleted(CompletionHandler<java.lang.Integer> completionHandler)
           
protected  void notifyFailure(CompletionHandler<java.lang.Integer> completionHandler, java.lang.Throwable failure)
           
protected  void onCloseInputSource()
           
protected  void onOpenInputSource()
           
 
Methods inherited from class org.glassfish.grizzly.streams.BufferedInput
append, close, getBuffer, isBuffered, notifyCondition, prepend, read, size, skip, takeBuffer
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

DefaultStreamReader.Input

public DefaultStreamReader.Input()
Method Detail

onOpenInputSource

protected void onOpenInputSource()
                          throws java.io.IOException
Specified by:
onOpenInputSource in class BufferedInput
Throws:
java.io.IOException

onCloseInputSource

protected void onCloseInputSource()
                           throws java.io.IOException
Specified by:
onCloseInputSource in class BufferedInput
Throws:
java.io.IOException

notifyCompleted

protected void notifyCompleted(CompletionHandler<java.lang.Integer> completionHandler)
Overrides:
notifyCompleted in class BufferedInput

notifyFailure

protected void notifyFailure(CompletionHandler<java.lang.Integer> completionHandler,
                             java.lang.Throwable failure)
Overrides:
notifyFailure in class BufferedInput


Copyright © 2012 Oracle Corporation. All Rights Reserved.