Uses of Class
org.drasyl.handler.sntp.SntpMessage
-
Uses of SntpMessage in org.drasyl.handler.sntp
Modifier 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
.Modifier 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)