Class ServiceProviderAgent

  • All Implemented Interfaces:
    IExampleService

    public class ServiceProviderAgent
    extends java.lang.Object
    implements IExampleService
    Agent that starts a service
    • Field Summary

      Fields 
      Modifier and Type Field Description
      protected IInternalAccess agent
      The internal access.
      protected int count  
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      void executeBody()
      Perform the agents actions.
      IFuture<java.lang.String> sayHello​(java.lang.String name)
      Say hello method.
      • Methods inherited from class java.lang.Object

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

      • count

        protected int count
    • Constructor Detail

      • ServiceProviderAgent

        public ServiceProviderAgent()
    • Method Detail

      • executeBody

        public void executeBody()
        Perform the agents actions.
      • sayHello

        public IFuture<java.lang.String> sayHello​(java.lang.String name)
        Say hello method.
        Specified by:
        sayHello in interface IExampleService
        Parameters:
        name - The name.