Class MicroAgentID

java.lang.Object
COM.TIBCO.hawk.talon.MicroAgentID
All Implemented Interfaces:
Serializable

public class MicroAgentID extends Object implements Serializable
MicroAgentID objects are used to identify microagents.
See Also:
  • Constructor Details

    • MicroAgentID

      public MicroAgentID(String name, String displayName, String instance, long checksum, boolean isService, Agent agent)
      Constructs a MicroAgentID
      Parameters:
      name - The name of the microagent. May not be null or empty string.
      displayName - The display name of the microagent
      instance - The instance of the microagent. May not be null or empty string.
      checksum - The checksum of the microagent's descriptor
      isServer - A flag indicating if this microagent is a service
      agent - The Agent object identifying the agent hosting this microagent.
  • Method Details

    • getName

      public String getName()
      Returns the microagent name.
      Returns:
      The microagent name.
    • getDisplayName

      public String getDisplayName()
      Returns the microagent display name.
      Returns:
      The microagent display name.
    • getInstance

      public String getInstance()
      Returns the microagent instance.
      Returns:
      The microagent instance.
    • getChecksum

      public long getChecksum()
      Returns the checksum of the microagent's descriptor.
      Returns:
      The microagent descriptor checksum.
      See Also:
    • isService

      public boolean isService()
      Returns true if this microagent is a service.

      This flag is reserved for future use.

    • getAgent

      public Agent getAgent()
      Returns the Agent object identifying which agent is hosting the microagent.
      Returns:
      The agent hosting the microagent
    • equals

      public boolean equals(Object obj)
      Determines if two MicroAgentID objects are equal.
      Overrides:
      equals in class Object
    • hashCode

      public int hashCode()
      Overrides:
      hashCode in class Object
    • toString

      public String toString()
      Returns a string representation of this id
      Overrides:
      toString in class Object