Interface ChannelHandler

All Superinterfaces:
org.apache.dubbo.remoting.ChannelHandler

@Deprecated public interface ChannelHandler extends org.apache.dubbo.remoting.ChannelHandler
Deprecated.
  • Method Summary

    Modifier and Type
    Method
    Description
    void
    caught(Channel channel, Throwable exception)
    Deprecated.
     
    default void
    caught(org.apache.dubbo.remoting.Channel channel, Throwable exception)
    Deprecated.
     
    void
    connected(Channel channel)
    Deprecated.
     
    default void
    connected(org.apache.dubbo.remoting.Channel channel)
    Deprecated.
     
    void
    Deprecated.
     
    default void
    disconnected(org.apache.dubbo.remoting.Channel channel)
    Deprecated.
     
    void
    received(Channel channel, Object message)
    Deprecated.
     
    default void
    received(org.apache.dubbo.remoting.Channel channel, Object message)
    Deprecated.
     
    void
    sent(Channel channel, Object message)
    Deprecated.
     
    default void
    sent(org.apache.dubbo.remoting.Channel channel, Object message)
    Deprecated.
     
  • Method Details

    • connected

      void connected(Channel channel) throws RemotingException
      Deprecated.
      Throws:
      RemotingException
    • disconnected

      void disconnected(Channel channel) throws RemotingException
      Deprecated.
      Throws:
      RemotingException
    • sent

      void sent(Channel channel, Object message) throws RemotingException
      Deprecated.
      Throws:
      RemotingException
    • received

      void received(Channel channel, Object message) throws RemotingException
      Deprecated.
      Throws:
      RemotingException
    • caught

      void caught(Channel channel, Throwable exception) throws RemotingException
      Deprecated.
      Throws:
      RemotingException
    • connected

      default void connected(org.apache.dubbo.remoting.Channel channel) throws org.apache.dubbo.remoting.RemotingException
      Deprecated.
      Specified by:
      connected in interface org.apache.dubbo.remoting.ChannelHandler
      Throws:
      org.apache.dubbo.remoting.RemotingException
    • disconnected

      default void disconnected(org.apache.dubbo.remoting.Channel channel) throws org.apache.dubbo.remoting.RemotingException
      Deprecated.
      Specified by:
      disconnected in interface org.apache.dubbo.remoting.ChannelHandler
      Throws:
      org.apache.dubbo.remoting.RemotingException
    • sent

      default void sent(org.apache.dubbo.remoting.Channel channel, Object message) throws org.apache.dubbo.remoting.RemotingException
      Deprecated.
      Specified by:
      sent in interface org.apache.dubbo.remoting.ChannelHandler
      Throws:
      org.apache.dubbo.remoting.RemotingException
    • received

      default void received(org.apache.dubbo.remoting.Channel channel, Object message) throws org.apache.dubbo.remoting.RemotingException
      Deprecated.
      Specified by:
      received in interface org.apache.dubbo.remoting.ChannelHandler
      Throws:
      org.apache.dubbo.remoting.RemotingException
    • caught

      default void caught(org.apache.dubbo.remoting.Channel channel, Throwable exception) throws org.apache.dubbo.remoting.RemotingException
      Deprecated.
      Specified by:
      caught in interface org.apache.dubbo.remoting.ChannelHandler
      Throws:
      org.apache.dubbo.remoting.RemotingException