public class PeerHeader extends Object
Modifier and Type | Class and Description |
---|---|
static class |
PeerHeader.Type |
Modifier and Type | Field and Description |
---|---|
InetAddress |
address |
long |
as |
com.google.common.primitives.UnsignedLong |
distinguisher |
PeerFlags |
flags |
InetAddress |
id |
LocRibFlags |
locRibFlags |
java.time.Instant |
timestamp |
PeerHeader.Type |
type |
Constructor and Description |
---|
PeerHeader(io.netty.buffer.ByteBuf buffer) |
public final PeerHeader.Type type
public final PeerFlags flags
public final LocRibFlags locRibFlags
public final com.google.common.primitives.UnsignedLong distinguisher
public final InetAddress address
public final long as
public final InetAddress id
public final java.time.Instant timestamp
public PeerHeader(io.netty.buffer.ByteBuf buffer) throws InvalidPacketException
InvalidPacketException
Copyright © 2020. All rights reserved.