Class Agent

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

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

    • Agent

      public Agent(String name, String dns, String hawkDomain, long starttime)
      Constructs an Agent object
      Parameters:
      name - The agent's name.
      nns - The agent's dns value.
      hawkDomain - The agent's hawk domain value.
      starttime - The agent's start time
  • Method Details

    • getName

      public String getName()
    • getDns

      public String getDns()
    • getHawkDomain

      public String getHawkDomain()
    • getStartTime

      public long getStartTime()
      Returns the agent's start time.

      It reflects the time the agent was initialized from the perspective of the system clock on the host the agent is running on. This value is the number of milliseconds since January 1, 1970, 00:00:00 GMT.

      Returns:
      The agent's start time.
    • equals

      public boolean equals(Object obj)
      Overrides:
      equals in class Object
    • hashCode

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

      public String toString()
      Overrides:
      toString in class Object