Interface BmpSession

  • All Superinterfaces:
    AutoCloseable, io.netty.channel.ChannelHandler, io.netty.channel.ChannelInboundHandler
    All Known Implementing Classes:
    BmpMockSession, BmpSessionImpl

    public interface BmpSession
    extends io.netty.channel.ChannelInboundHandler, AutoCloseable
    BMP Session represents the finite state machine in BMP, its purpose is to create a BMP connection between Peer and monitoring application. Session is automatically started, when TCP connection is created, but can be stopped manually via close method of the Closeable interface. If the session is up, it has to redirect messages to/from user. Handles also malformed messages and unknown requests.
    • Nested Class Summary

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

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

      All Methods Instance Methods Abstract Methods 
      Modifier and Type Method Description
      InetAddress getRemoteAddress()  
      • Methods inherited from interface io.netty.channel.ChannelHandler

        handlerAdded, handlerRemoved
      • Methods inherited from interface io.netty.channel.ChannelInboundHandler

        channelActive, channelInactive, channelRead, channelReadComplete, channelRegistered, channelUnregistered, channelWritabilityChanged, exceptionCaught, userEventTriggered