Package jadex.micro.quickstart
Class NonblockingTimeUserAgent
- java.lang.Object
-
- jadex.micro.quickstart.NonblockingTimeUserAgent
-
public class NonblockingTimeUserAgent extends java.lang.ObjectSimple agent that uses globally available time services. Non-blocking implementation using asynchronous result-listeners.
-
-
Constructor Summary
Constructors Constructor Description NonblockingTimeUserAgent()
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description voidaddTimeService(ITimeService timeservice)Subscribe to any newly found time service and print the results when they arrive.static voidmain(java.lang.String[] args)Start a Jadex platform and the 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.
-
-