public class BoltRequestMessageReader extends Object
Neo4jPack.Unpacker.| Constructor and Description |
|---|
BoltRequestMessageReader(Neo4jPack.Unpacker unpacker) |
| Modifier and Type | Method and Description |
|---|---|
boolean |
hasNext() |
<E extends Exception> |
read(BoltRequestMessageHandler<E> handler)
Parse and handle a single message by handing it off
to a
BoltRequestMessageHandler instance. |
public BoltRequestMessageReader(Neo4jPack.Unpacker unpacker)
public boolean hasNext()
throws IOException
IOExceptionpublic <E extends Exception> void read(BoltRequestMessageHandler<E> handler) throws IOException, E extends Exception
BoltRequestMessageHandler instance.handler - handler for request messagesIOExceptionE extends ExceptionCopyright © 2002–2017 The Neo4j Graph Database Project. All rights reserved.