Package jadex.micro.quickstart
Class TimeUserAgent
- java.lang.Object
-
- jadex.micro.quickstart.TimeUserAgent
-
public class TimeUserAgent extends java.lang.ObjectSimple 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 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.
-
-