public class HostAddress
Class HostAddress. Provides hostaddress functionality for the Hytale server.
java.lang.Object > HostAddress
Field Summary
host
public
String
host
Field host.
port
public
short
port
Field port.
obj
final
HostAddress
obj
Field obj.
hostLen
final
int
hostLen
Field hostLen.
hostVarLen
final
int
hostVarLen
Field hostVarLen.
sl
final
int
sl
Field sl.
copy
final
HostAddress
copy
Field copy.
Method Detail
HostAddress
public
public
HostAddress
()
Method HostAddress.
deserialize
Method deserialize.
- Parameters:
@Nonnull final ByteBufbuffinal intoffset
computeBytesConsumed
static
int
computeBytesConsumed
(@Nonnull final ByteBuf buf, final int offset)
Method computeBytesConsumed.
- Parameters:
@Nonnull final ByteBufbuffinal intoffset
serialize
public
void
serialize
(@Nonnull final ByteBuf buf)
Method serialize.
- Parameters:
@Nonnull final ByteBufbuf
computeSize
public
int
computeSize
()
Method computeSize.
validateStructure
Method validateStructure.
- Parameters:
@Nonnull final ByteBufbufferfinal intoffset
equals
public
boolean
equals
(final Object obj)
Method equals.
- Parameters:
final Objectobj
hashCode
public
int
hashCode
()
Method hashCode.