Class LocalTimeClient


  • public final class LocalTimeClient
    extends java.lang.Object
    Sends a list of continent/city pairs to a LocalTimeServer to get the local times of the specified cities.
    • Field Summary

      Fields 
      Modifier and Type Field Description
      (package private) static java.util.List<java.lang.String> CITIES  
      (package private) static java.lang.String HOST  
      (package private) static int PORT  
      (package private) static boolean SSL  
    • Constructor Summary

      Constructors 
      Constructor Description
      LocalTimeClient()  
    • Method Summary

      All Methods Static Methods Concrete Methods 
      Modifier and Type Method Description
      static void main​(java.lang.String[] args)  
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Field Detail

      • SSL

        static final boolean SSL
      • HOST

        static final java.lang.String HOST
      • PORT

        static final int PORT
      • CITIES

        static final java.util.List<java.lang.String> CITIES
    • Constructor Detail

      • LocalTimeClient

        public LocalTimeClient()
    • Method Detail

      • main

        public static void main​(java.lang.String[] args)
                         throws java.lang.Exception
        Throws:
        java.lang.Exception