Class TimeUserAgent


  • public class TimeUserAgent
    extends java.lang.Object
    Simple agent that uses globally available time services.
    • Constructor Summary

      Constructors 
      Constructor Description
      TimeUserAgent()  
    • Method Summary

      All Methods Static Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      void addTimeService​(ITimeService timeservice)
      Subscribe to any newly found time service and print the results when they arrive.
      static void main​(java.lang.String[] args)
      Start a Jadex platform and the TimeUserAgent.
      • Methods inherited from class java.lang.Object

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

      • TimeUserAgent

        public TimeUserAgent()
    • Method Detail

      • addTimeService

        public void addTimeService​(ITimeService timeservice)
        Subscribe to any newly found time service and print the results when they arrive.
      • main

        public static void main​(java.lang.String[] args)
        Start a Jadex platform and the TimeUserAgent.