Package com.chutneytesting.agent.domain
Interface AgentClient
-
public interface AgentClientUsed to communicate from the current local agent to a remote one.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description ExploreResultexplore(String localName, NamedHostAndPort agentInfo, NetworkConfiguration networkConfiguration)voidwrapUp(NamedHostAndPort agentInfo, NetworkDescription networkDescription)Propagate finalNetworkDescriptionto agents discovered duringConfigurationState.EXPLORINGphase.
-
-
-
Method Detail
-
explore
ExploreResult explore(String localName, 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(NamedHostAndPort agentInfo, NetworkDescription networkDescription)
Propagate finalNetworkDescriptionto agents discovered duringConfigurationState.EXPLORINGphase.
-
-