Class NonblockingTimeUserAgent


  • public class NonblockingTimeUserAgent
    extends java.lang.Object
    Simple agent that uses globally available time services. Non-blocking implementation using asynchronous result-listeners.
    • 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

      • NonblockingTimeUserAgent

        public NonblockingTimeUserAgent()
    • 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.