Class TopologyHandler

java.lang.Object
io.netty.channel.ChannelHandlerAdapter
io.netty.channel.ChannelInboundHandlerAdapter
org.drasyl.handler.monitoring.TopologyHandler
All Implemented Interfaces:
io.netty.channel.ChannelHandler, io.netty.channel.ChannelInboundHandler
Direct Known Subclasses:
TelemetryHandler

public abstract class TopologyHandler extends io.netty.channel.ChannelInboundHandlerAdapter
Uses emitted PathEvents to build the node's current world view of the overlay network. Other handler can implement this class and retrieve the topology by calling topology(ChannelHandlerContext).