Class SearchAgentContent

java.lang.Object
i5.las2peer.p2p.pastry.L2pScribeContent
i5.las2peer.p2p.pastry.SearchAgentContent
All Implemented Interfaces:
Serializable, rice.p2p.scribe.ScribeContent

public class SearchAgentContent extends L2pScribeContent
A content to be published to an agent's scribe topic, if someone is looking for running versions of this agent.
See Also:
  • Constructor Details

    • SearchAgentContent

      public SearchAgentContent(rice.p2p.commonapi.NodeHandle from, String id)
      create a new search content looking for the agent of the given id, created at the given node (handle)
      Parameters:
      from - A sending node handle
      id - An agent id to search for
  • Method Details

    • getAgentId

      public String getAgentId()
      get the id of the agent to search
      Returns:
      id of the requested agent