类 ClockAgentService

java.lang.Object
java.lang.Thread
org.coodex.util.clock.ClockAgentService
所有已实现的接口:
Runnable

public class ClockAgentService extends Thread
基于 tcp 提供一个时间服务器
  • 字段详细资料

    • PORT

      public static int PORT
  • 构造器详细资料

    • ClockAgentService

      public ClockAgentService()
    • ClockAgentService

      public ClockAgentService(String host, int port)
  • 方法详细资料

    • getPort

      public int getPort()
    • getHost

      public String getHost()
    • run

      public void run()
      指定者:
      run 在接口中 Runnable
      覆盖:
      run 在类中 Thread
    • shutdown

      public void shutdown()