public class BoltMessageRouter extends Object implements BoltRequestMessageHandler<RuntimeException>
| Constructor and Description |
|---|
BoltMessageRouter(org.neo4j.logging.Log log,
BoltWorker worker,
BoltResponseMessageHandler<IOException> output,
Runnable onEachCompletedRequest) |
| Modifier and Type | Method and Description |
|---|---|
void |
onAckFailure() |
void |
onDiscardAll() |
void |
onExternalError(Neo4jError error) |
void |
onInit(String userAgent,
Map<String,Object> authToken) |
void |
onPullAll() |
void |
onReset() |
void |
onRun(String statement,
Map<String,Object> params) |
public BoltMessageRouter(org.neo4j.logging.Log log,
BoltWorker worker,
BoltResponseMessageHandler<IOException> output,
Runnable onEachCompletedRequest)
public void onInit(String userAgent, Map<String,Object> authToken) throws RuntimeException
onInit in interface BoltRequestMessageHandler<RuntimeException>RuntimeExceptionpublic void onAckFailure()
throws RuntimeException
onAckFailure in interface BoltRequestMessageHandler<RuntimeException>RuntimeExceptionpublic void onReset()
throws RuntimeException
onReset in interface BoltRequestMessageHandler<RuntimeException>RuntimeExceptionpublic void onRun(String statement, Map<String,Object> params)
onRun in interface BoltRequestMessageHandler<RuntimeException>public void onExternalError(Neo4jError error)
onExternalError in interface BoltRequestMessageHandler<RuntimeException>public void onDiscardAll()
onDiscardAll in interface BoltRequestMessageHandler<RuntimeException>public void onPullAll()
onPullAll in interface BoltRequestMessageHandler<RuntimeException>Copyright © 2002–2017 The Neo4j Graph Database Project. All rights reserved.