Class Server
java.lang.Object
net.minestom.server.network.socket.Server
-
Field Summary
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionint
getPort()
void
init
(SocketAddress address) boolean
isOpen()
@NotNull PacketProcessor
void
start()
void
stop()
void
tick()
-
Field Details
-
NO_DELAY
public static final boolean NO_DELAY- See Also:
-
-
Constructor Details
-
Server
- Throws:
IOException
-
-
Method Details
-
init
- Throws:
IOException
-
start
@Internal public void start() -
tick
public void tick() -
isOpen
public boolean isOpen() -
stop
public void stop() -
packetProcessor
-
socketAddress
-
getAddress
-
getPort
public int getPort()
-