Class AgentJoinedContent

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

public class AgentJoinedContent extends L2pScribeContent
Scribe content for a message, the an agent joined the net
See Also:
  • Constructor Details

    • AgentJoinedContent

      public AgentJoinedContent(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
      Parameters:
      from - A node handle
      agentId - An agent id
  • Method Details

    • getAgentId

      public String getAgentId()
      get the id of the agent, which has joined the net
      Returns:
      an agent id