Uses of Class
org.drasyl.handler.remote.protocol.HopCount
Packages that use HopCount
Package
Description
Discovery/Routing of peers on the internet.
The protocol used for communication with remote peers.
-
Uses of HopCount in org.drasyl.handler.remote.internet
Constructors in org.drasyl.handler.remote.internet with parameters of type HopCountModifierConstructorDescriptionInternetDiscoverySuperPeerHandler(int myNetworkId, IdentityPublicKey myPublicKey, ProofOfWork myProofOfWork, long pingIntervalMillis, long pingTimeoutMillis, long maxTimeOffsetMillis, HopCount hopLimit) TraversingInternetDiscoverySuperPeerHandler(int myNetworkId, IdentityPublicKey myPublicKey, ProofOfWork myProofOfWork, long pingIntervalMillis, long pingTimeoutMillis, long maxTimeOffsetMillis, HopCount hopLimit, long uniteMinIntervalMillis) -
Uses of HopCount in org.drasyl.handler.remote.protocol
Methods in org.drasyl.handler.remote.protocol that return HopCountModifier and TypeMethodDescriptionabstract HopCountPublicHeader.getHopCount()RemoteMessage.getHopCount()HopCount.increment()static HopCountHopCount.of()Creates a new minimal hop count value.static HopCountHopCount.of(byte value) Creates a new hop count value with given value.static HopCountHopCount.of(int value) Creates a new hop count value with given value.static HopCountHopCount.of(short value) Creates a new hop count value with given value.Methods in org.drasyl.handler.remote.protocol with parameters of type HopCountModifier and TypeMethodDescriptionintstatic AcknowledgementMessageAcknowledgementMessage.of(HopCount hopCount, boolean isArmed, int networkId, Nonce nonce, DrasylAddress recipient, DrasylAddress sender, ProofOfWork proofOfWork, long time) Creates new acknowledgement message.static ApplicationMessageApplicationMessage.of(HopCount hopCount, boolean isArmed, int networkId, Nonce nonce, DrasylAddress recipient, DrasylAddress sender, ProofOfWork proofOfWork, io.netty.buffer.ByteBuf payload) Creates new application message.static ArmedProtocolMessageArmedProtocolMessage.of(Nonce nonce, HopCount hopCount, int networkId, DrasylAddress recipient, DrasylAddress sender, ProofOfWork proofOfWork, io.netty.buffer.ByteBuf bytes) Creates an armed message.static DiscoveryMessageDiscoveryMessage.of(HopCount hopCount, boolean isArmed, int networkId, Nonce nonce, DrasylAddress recipient, DrasylAddress sender, ProofOfWork proofOfWork, long time, long joinTime) Creates new application message.static PublicHeaderPublicHeader.of(HopCount hopCount, boolean isArmed, int networkId, Nonce nonce, DrasylAddress recipient, DrasylAddress sender, ProofOfWork proofOfWork) static UnarmedProtocolMessageUnarmedProtocolMessage.of(HopCount hopCount, boolean isArmed, int networkId, Nonce nonce, DrasylAddress recipient, DrasylAddress sender, ProofOfWork proofOfWork, io.netty.buffer.ByteBuf bytes) Creates an unarmed message.static UniteMessageUniteMessage.of(HopCount hopCount, boolean isArmed, int networkId, Nonce nonce, DrasylAddress recipient, DrasylAddress sender, ProofOfWork proofOfWork, DrasylAddress address, InetAddress inetAddress, UnsignedShort port) Creates new unit message.