Uses of Class
org.drasyl.handler.sntp.SntpMessage
Packages that use SntpMessage
-
Uses of SntpMessage in org.drasyl.handler.sntp
Methods in org.drasyl.handler.sntp that return SntpMessageModifier and TypeMethodDescriptionstatic SntpMessage
SntpMessage.of
(int leapIndicator, int versionNumber, int mode, int stratum, int poll, int precision, float rootDelay, float rootDispersion, int referenceIdentifier, long referenceTimestamp, long originateTimestamp, long receiveTimestamp, long transmitTimestamp) static SntpMessage
SntpMessage.of
(long transmitTimestamp) Creates a clientSntpMessage
.Methods in org.drasyl.handler.sntp with parameters of type SntpMessageModifier and TypeMethodDescriptionprotected void
SntpHandler.channelRead0
(io.netty.channel.ChannelHandlerContext ctx, SntpMessage msg) protected void
SntpCodec.encode
(io.netty.channel.ChannelHandlerContext ctx, SntpMessage msg, List<Object> out)