Class TcpServer

java.lang.Object
org.geysermc.mcprotocollib.network.AbstractServer
org.geysermc.mcprotocollib.network.tcp.TcpServer
All Implemented Interfaces:
Server

public class TcpServer extends AbstractServer
  • Constructor Details

  • Method Details

    • isListening

      public boolean isListening()
      Description copied from interface: Server
      Returns true if the listener is listening.
      Returns:
      True if the listener is listening.
    • bindImpl

      public void bindImpl(boolean wait, Runnable callback)
      Specified by:
      bindImpl in class AbstractServer
    • closeImpl

      public void closeImpl(boolean wait, Runnable callback)
      Specified by:
      closeImpl in class AbstractServer