Interface Agent

All Known Subinterfaces:
AnonymousAgent, GroupAgent, PassphraseAgent, ServiceAgent, UserAgent
All Known Implementing Classes:
AgentImpl, AnonymousAgentImpl, BotAgent, EthereumAgent, GroupAgentImpl, MonitoringAgent, PassphraseAgentImpl, ServiceAgentImpl, TestAgent, UserAgentImpl

public interface Agent
Represents an acting entity in the network. It can have two states: Locked agents cannot used to perform any actions while unlocked agents are able to do so.
  • Method Summary

    Modifier and Type Method Description
    java.lang.String getIdentifier()
    The agent id
    boolean isLocked()
    Returns whether the agent is locked or not.
  • Method Details

    • getIdentifier

      java.lang.String getIdentifier()
      The agent id
      Returns:
      The agent id.
    • isLocked

      boolean isLocked()
      Returns whether the agent is locked or not.
      Returns:
      true if the agent is unlocked.