Search in sources :

Example 1 with PullAllMessageDecoder

use of org.neo4j.bolt.v3.messaging.decoder.PullAllMessageDecoder 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));
}
Also used : DiscardAllMessageDecoder(org.neo4j.bolt.v3.messaging.decoder.DiscardAllMessageDecoder) PullAllMessageDecoder(org.neo4j.bolt.v3.messaging.decoder.PullAllMessageDecoder) RollbackMessageDecoder(org.neo4j.bolt.v3.messaging.decoder.RollbackMessageDecoder) HelloMessageDecoder(org.neo4j.bolt.v3.messaging.decoder.HelloMessageDecoder) GoodbyeMessageDecoder(org.neo4j.bolt.v3.messaging.decoder.GoodbyeMessageDecoder) BoltResponseHandler(org.neo4j.bolt.runtime.BoltResponseHandler) ResetMessageDecoder(org.neo4j.bolt.v3.messaging.decoder.ResetMessageDecoder) CommitMessageDecoder(org.neo4j.bolt.v3.messaging.decoder.CommitMessageDecoder) BeginMessageDecoder(org.neo4j.bolt.v3.messaging.decoder.BeginMessageDecoder) RunMessageDecoder(org.neo4j.bolt.v3.messaging.decoder.RunMessageDecoder)

Aggregations

BoltResponseHandler (org.neo4j.bolt.runtime.BoltResponseHandler)1 BeginMessageDecoder (org.neo4j.bolt.v3.messaging.decoder.BeginMessageDecoder)1 CommitMessageDecoder (org.neo4j.bolt.v3.messaging.decoder.CommitMessageDecoder)1 DiscardAllMessageDecoder (org.neo4j.bolt.v3.messaging.decoder.DiscardAllMessageDecoder)1 GoodbyeMessageDecoder (org.neo4j.bolt.v3.messaging.decoder.GoodbyeMessageDecoder)1 HelloMessageDecoder (org.neo4j.bolt.v3.messaging.decoder.HelloMessageDecoder)1 PullAllMessageDecoder (org.neo4j.bolt.v3.messaging.decoder.PullAllMessageDecoder)1 ResetMessageDecoder (org.neo4j.bolt.v3.messaging.decoder.ResetMessageDecoder)1 RollbackMessageDecoder (org.neo4j.bolt.v3.messaging.decoder.RollbackMessageDecoder)1 RunMessageDecoder (org.neo4j.bolt.v3.messaging.decoder.RunMessageDecoder)1