Interface BmpSession
- All Superinterfaces:
AutoCloseable
,io.netty.channel.ChannelHandler
,io.netty.channel.ChannelInboundHandler
- All Known Implementing Classes:
BmpMockSession
,BmpSessionImpl
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
Methods inherited from interface java.lang.AutoCloseable
close
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
-
Method Details
-
getRemoteAddress
InetAddress getRemoteAddress()
-