Class OutboundMessageHandler

java.lang.Object
io.netty.channel.ChannelHandlerAdapter
io.netty.channel.ChannelOutboundHandlerAdapter
io.netty.handler.codec.MessageToMessageEncoder<Message>
org.neo4j.driver.internal.async.outbound.OutboundMessageHandler
All Implemented Interfaces:
io.netty.channel.ChannelHandler, io.netty.channel.ChannelOutboundHandler, BoltPatchesListener

public class OutboundMessageHandler extends io.netty.handler.codec.MessageToMessageEncoder<Message> implements BoltPatchesListener
  • Nested Class Summary

    Nested classes/interfaces inherited from interface io.netty.channel.ChannelHandler

    io.netty.channel.ChannelHandler.Sharable
  • Field Summary

    Fields
    Modifier and Type
    Field
    Description
    static final String
     

    Fields inherited from interface org.neo4j.driver.internal.messaging.BoltPatchesListener

    DATE_TIME_UTC_PATCH
  • Constructor Summary

    Constructors
    Constructor
    Description
    OutboundMessageHandler(MessageFormat messageFormat, Logging logging)
     
  • Method Summary

    Modifier and Type
    Method
    Description
    protected void
    encode(io.netty.channel.ChannelHandlerContext ctx, Message msg, List<Object> out)
     
    void
    handle(Set<String> patches)
     
    void
    handlerAdded(io.netty.channel.ChannelHandlerContext ctx)
     
    void
    handlerRemoved(io.netty.channel.ChannelHandlerContext ctx)
     

    Methods inherited from class io.netty.handler.codec.MessageToMessageEncoder

    acceptOutboundMessage, write

    Methods inherited from class io.netty.channel.ChannelOutboundHandlerAdapter

    bind, close, connect, deregister, disconnect, flush, read

    Methods inherited from class io.netty.channel.ChannelHandlerAdapter

    ensureNotSharable, exceptionCaught, isSharable

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait

    Methods inherited from interface io.netty.channel.ChannelHandler

    exceptionCaught
  • Field Details

    • NAME

      public static final String NAME
  • Constructor Details

    • OutboundMessageHandler

      public OutboundMessageHandler(MessageFormat messageFormat, Logging logging)
  • Method Details

    • handlerAdded

      public void handlerAdded(io.netty.channel.ChannelHandlerContext ctx)
      Specified by:
      handlerAdded in interface io.netty.channel.ChannelHandler
      Overrides:
      handlerAdded in class io.netty.channel.ChannelHandlerAdapter
    • handlerRemoved

      public void handlerRemoved(io.netty.channel.ChannelHandlerContext ctx)
      Specified by:
      handlerRemoved in interface io.netty.channel.ChannelHandler
      Overrides:
      handlerRemoved in class io.netty.channel.ChannelHandlerAdapter
    • encode

      protected void encode(io.netty.channel.ChannelHandlerContext ctx, Message msg, List<Object> out)
      Specified by:
      encode in class io.netty.handler.codec.MessageToMessageEncoder<Message>
    • handle

      public void handle(Set<String> patches)
      Specified by:
      handle in interface BoltPatchesListener