Class TimeClient


  • public class TimeClient
    extends java.lang.Object
    Client for echo var.sockets.tcp.time.Time*Server service. Verbindet sich mit dem Server und empfängt eine Repräsentation eines Zeitstempels. Das Format des Zeitstempels kann entweder die Zeit in ms seit dem 01.01.1970 00:00:00 GMT als ASCII-Zeichen sein oder ein String, der die Zeit kompatibel zu ISO 8601 enthält.
    Author:
    Sandro Leuchter
    • Constructor Summary

      Constructors 
      Constructor Description
      TimeClient()  
    • Method Summary

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

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

      • main

        public static void main​(java.lang.String[] args)
        main method: entrypoint to run
        Parameters:
        args - address of service to connect to (must be String[0]: host (IP-address or DNS hostname), String[1]: port)