Package i5.las2peer.p2p.pastry
Class AgentJoinedContent
java.lang.Object
i5.las2peer.p2p.pastry.L2pScribeContent
i5.las2peer.p2p.pastry.AgentJoinedContent
- All Implemented Interfaces:
Serializable
,rice.p2p.scribe.ScribeContent
Scribe content for a message, the an agent joined the net
- See Also:
-
Constructor Summary
ConstructorDescriptionAgentJoinedContent
(rice.p2p.commonapi.NodeHandle from, String agentId) create a new instance stating that the agent of the given id has been loaded at the given node -
Method Summary
Modifier and TypeMethodDescriptionget the id of the agent, which has joined the netMethods inherited from class i5.las2peer.p2p.pastry.L2pScribeContent
getOrigin, getRandomId, getTimestamp
-
Constructor Details
-
AgentJoinedContent
create a new instance stating that the agent of the given id has been loaded at the given node- Parameters:
from
- A node handleagentId
- An agent id
-
-
Method Details
-
getAgentId
get the id of the agent, which has joined the net- Returns:
- an agent id
-