org.neo4j.kernel.ha.comm
Class ChunkedData

java.lang.Object
  extended by org.neo4j.kernel.ha.comm.ChunkedData
All Implemented Interfaces:
org.jboss.netty.handler.stream.ChunkedInput
Direct Known Subclasses:
ChunkedResponse

public abstract class ChunkedData
extends Object
implements org.jboss.netty.handler.stream.ChunkedInput


Constructor Summary
ChunkedData()
           
 
Method Summary
abstract  void close()
           
 boolean hasNextChunk()
           
 boolean isEndOfInput()
           
 org.jboss.netty.buffer.ChannelBuffer nextChunk()
           
protected abstract  org.jboss.netty.buffer.ChannelBuffer writeNextChunk()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ChunkedData

public ChunkedData()
Method Detail

hasNextChunk

public boolean hasNextChunk()
Specified by:
hasNextChunk in interface org.jboss.netty.handler.stream.ChunkedInput

nextChunk

public final org.jboss.netty.buffer.ChannelBuffer nextChunk()
Specified by:
nextChunk in interface org.jboss.netty.handler.stream.ChunkedInput

isEndOfInput

public final boolean isEndOfInput()
Specified by:
isEndOfInput in interface org.jboss.netty.handler.stream.ChunkedInput

writeNextChunk

protected abstract org.jboss.netty.buffer.ChannelBuffer writeNextChunk()

close

public abstract void close()
Specified by:
close in interface org.jboss.netty.handler.stream.ChunkedInput


Copyright © 2010 The Neo4j Graph Database Project. All Rights Reserved.