Interface AgentClient


public interface AgentClient
Used to communicate from the current local agent to a remote one.
  • Method Details

    • explore

      ExploreResult explore(String localName, fr.enedis.chutney.engine.domain.delegation.NamedHostAndPort agentInfo, NetworkConfiguration networkConfiguration)
      Returns:
      empty if remote agent is unreachable, otherwise, return the link from local to remote and all agentLinks known by the remote
    • wrapUp

      void wrapUp(fr.enedis.chutney.engine.domain.delegation.NamedHostAndPort agentInfo, NetworkDescription networkDescription)
      Propagate final NetworkDescription to agents discovered during ConfigurationState.EXPLORING phase.