use of org.neo4j.bolt.v3.messaging.decoder.DiscardAllMessageDecoder in project neo4j by neo4j.
the class BoltRequestMessageReaderV3 method buildDecoders.
private static List<RequestMessageDecoder> buildDecoders(BoltConnection connection, BoltResponseMessageWriter responseMessageWriter, LogService logService) {
BoltResponseHandler resultHandler = new ResultHandler(responseMessageWriter, connection, internalLog(logService));
BoltResponseHandler defaultHandler = newSimpleResponseHandler(responseMessageWriter, connection, logService);
return Arrays.asList(new HelloMessageDecoder(defaultHandler), new RunMessageDecoder(defaultHandler), new DiscardAllMessageDecoder(resultHandler), new PullAllMessageDecoder(resultHandler), new BeginMessageDecoder(defaultHandler), new CommitMessageDecoder(resultHandler), new RollbackMessageDecoder(resultHandler), new ResetMessageDecoder(connection, defaultHandler), new GoodbyeMessageDecoder(connection, defaultHandler));
}
Aggregations