public class MasterServerAddressPacket extends AbstractPacket
MasterServerAddressPacket class.
Constructor and Description |
---|
MasterServerAddressPacket(io.netty.buffer.ByteBuf data)
Constructor for MasterServerAddressPacket.
|
Modifier and Type | Method and Description |
---|---|
InetSocketAddress |
getAddress()
getAddress.
|
String |
getAddressString(boolean includePort)
getAddressString.
|
int |
getFirst()
getFirst.
|
int |
getFourth()
getFourth.
|
int |
getPort()
getPort.
|
int |
getSecond()
getSecond.
|
int |
getThird()
getThird.
|
content, contentToString, copy, duplicate, equals, hashCode, refCnt, release, release, replace, retain, retain, retainedDuplicate, toString, touch, touch
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
public MasterServerAddressPacket(io.netty.buffer.ByteBuf data)
Constructor for MasterServerAddressPacket.
data
- a ByteBuf
objectpublic final InetSocketAddress getAddress()
getAddress.
InetSocketAddress
objectpublic final String getAddressString(boolean includePort)
getAddressString.
includePort
- a booleanString
objectpublic final int getPort()
getPort.
public final int getFirst()
getFirst.
public final int getSecond()
getSecond.
public final int getThird()
getThird.
public final int getFourth()
getFourth.
Copyright © 2016–2024. All rights reserved.