Package i5.las2peer.p2p.pastry
Class SearchAgentContent
java.lang.Object
i5.las2peer.p2p.pastry.L2pScribeContent
i5.las2peer.p2p.pastry.SearchAgentContent
- All Implemented Interfaces:
Serializable
,rice.p2p.scribe.ScribeContent
A content to be published to an agent's scribe topic, if someone is looking for running versions of this
agent.
- See Also:
-
Constructor Summary
ConstructorsConstructorDescriptionSearchAgentContent
(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) -
Method Summary
Methods inherited from class i5.las2peer.p2p.pastry.L2pScribeContent
getOrigin, getRandomId, getTimestamp
-
Constructor Details
-
SearchAgentContent
create a new search content looking for the agent of the given id, created at the given node (handle)- Parameters:
from
- A sending node handleid
- An agent id to search for
-
-
Method Details
-
getAgentId
get the id of the agent to search- Returns:
- id of the requested agent
-