Class TraversingInternetDiscoverySuperPeerHandler
java.lang.Object
io.netty.channel.ChannelHandlerAdapter
io.netty.channel.ChannelInboundHandlerAdapter
io.netty.channel.ChannelDuplexHandler
org.drasyl.handler.remote.internet.InternetDiscoverySuperPeerHandler
org.drasyl.handler.remote.internet.TraversingInternetDiscoverySuperPeerHandler
- All Implemented Interfaces:
io.netty.channel.ChannelHandler
,io.netty.channel.ChannelInboundHandler
,io.netty.channel.ChannelOutboundHandler
@UnstableApi
public class TraversingInternetDiscoverySuperPeerHandler
extends InternetDiscoverySuperPeerHandler
Extends
InternetDiscoverySuperPeerHandler
by performing a rendezvous on communication
between two children peers.-
Nested Class Summary
Nested classes/interfaces inherited from class org.drasyl.handler.remote.internet.InternetDiscoverySuperPeerHandler
InternetDiscoverySuperPeerHandler.ChildrenPeer
Nested classes/interfaces inherited from interface io.netty.channel.ChannelHandler
io.netty.channel.ChannelHandler.Sharable
-
Field Summary
Fields inherited from class org.drasyl.handler.remote.internet.InternetDiscoverySuperPeerHandler
childrenPeers
-
Constructor Summary
ConstructorDescriptionTraversingInternetDiscoverySuperPeerHandler
(byte hopLimit, long uniteMinIntervalMillis) TraversingInternetDiscoverySuperPeerHandler
(HopCount hopLimit, long uniteMinIntervalMillis) -
Method Summary
Modifier and TypeMethodDescriptionprotected void
relayMessage
(io.netty.channel.ChannelHandlerContext ctx, InetAddressedMessage<RemoteMessage> addressedMsg, InetSocketAddress inetAddress) Methods inherited from class org.drasyl.handler.remote.internet.InternetDiscoverySuperPeerHandler
channelActive, channelInactive, channelRead, config, handlerAdded
Methods inherited from class io.netty.channel.ChannelDuplexHandler
bind, close, connect, deregister, disconnect, flush, read, write
Methods inherited from class io.netty.channel.ChannelInboundHandlerAdapter
channelReadComplete, channelRegistered, channelUnregistered, channelWritabilityChanged, exceptionCaught, userEventTriggered
Methods inherited from class io.netty.channel.ChannelHandlerAdapter
ensureNotSharable, handlerRemoved, isSharable
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface io.netty.channel.ChannelHandler
handlerRemoved
-
Constructor Details
-
TraversingInternetDiscoverySuperPeerHandler
-
TraversingInternetDiscoverySuperPeerHandler
public TraversingInternetDiscoverySuperPeerHandler(byte hopLimit, long uniteMinIntervalMillis)
-
-
Method Details
-
relayMessage
protected void relayMessage(io.netty.channel.ChannelHandlerContext ctx, InetAddressedMessage<RemoteMessage> addressedMsg, InetSocketAddress inetAddress) - Overrides:
relayMessage
in classInternetDiscoverySuperPeerHandler
-