Package jadex.micro.quickstart
Class LambdaTimeUserAgent
- java.lang.Object
-
- jadex.micro.quickstart.LambdaTimeUserAgent
-
public class LambdaTimeUserAgent extends java.lang.Object
Simple agent that uses globally available time services. Non-blocking implementation using asynchronous result-listeners with lambda expressions.
-
-
Constructor Summary
Constructors Constructor Description LambdaTimeUserAgent()
-
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.
-
-
-
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.
-
-