Class UptimeClient

java.lang.Object
org.jboss.netty.example.uptime.UptimeClient

public final class UptimeClient extends Object
Connects to a server periodically to measure and print the uptime of the server. This example demonstrates how to implement reliable reconnection mechanism in Netty.
  • Field Details

    • HOST

      static final String HOST
    • PORT

      static final int PORT
    • RECONNECT_DELAY

      static final int RECONNECT_DELAY
    • READ_TIMEOUT

      static final int READ_TIMEOUT
  • Constructor Details

    • UptimeClient

      public UptimeClient()
  • Method Details