Class NioClient

java.lang.Object
me.tamkungz.nilkit.network.NioClient
All Implemented Interfaces:
Runnable

public final class NioClient extends Object implements Runnable
  • Constructor Details

  • Method Details

    • start

      public void start() throws IOException
      Throws:
      IOException
    • stop

      public void stop()
    • isRunning

      public boolean isRunning()
    • isConnected

      public boolean isConnected()
    • getConnection

      public Connection getConnection()
    • getReconnectAttempts

      public int getReconnectAttempts()
    • send

      public void send(Packet packet)
    • run

      public void run()
      Specified by:
      run in interface Runnable