use of org.neo4j.com.CommittedTransactionSerializer in project neo4j by neo4j.
the class TxPullResponseEncoder method encode.
@Override
protected void encode(ChannelHandlerContext ctx, TxPullResponse response, ByteBuf out) throws Exception {
NetworkFlushableByteBuf channel = new NetworkFlushableByteBuf(out);
StoreIdMarshal.INSTANCE.marshal(response.storeId(), channel);
new CommittedTransactionSerializer(channel).visit(response.tx());
}
Aggregations