Class TcpServer

java.lang.Object
com.github.steveice10.packetlib.AbstractServer
com.github.steveice10.packetlib.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)
    • closeImpl

      public void closeImpl(boolean wait, Runnable callback)