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 theCloseableinterface. If the session is up, it has to redirect messages to/from user. Handles also malformed messages and unknown requests.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description InetAddressgetRemoteAddress()-
Methods inherited from interface java.lang.AutoCloseable
close
-
-
-
-
Method Detail
-
getRemoteAddress
InetAddress getRemoteAddress()
-
-