Package COM.TIBCO.hawk.talon
Class MicroAgentID
java.lang.Object
COM.TIBCO.hawk.talon.MicroAgentID
- All Implemented Interfaces:
Serializable
MicroAgentID objects are used to identify microagents.
- See Also:
-
Constructor Summary
ConstructorsConstructorDescriptionMicroAgentID(String name, String displayName, String instance, long checksum, boolean isService, Agent agent) Constructs a MicroAgentID -
Method Summary
Modifier and TypeMethodDescriptionbooleanDetermines if two MicroAgentID objects are equal.getAgent()Returns the Agent object identifying which agent is hosting the microagent.longReturns the checksum of the microagent's descriptor.Returns the microagent display name.Returns the microagent instance.getName()Returns the microagent name.inthashCode()booleanReturns true if this microagent is a service.toString()Returns a string representation of this id
-
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 microagentinstance- The instance of the microagent. May not be null or empty string.checksum- The checksum of the microagent's descriptorisServer- A flag indicating if this microagent is a serviceagent- The Agent object identifying the agent hosting this microagent.
-
-
Method Details
-
getName
Returns the microagent name.- Returns:
- The microagent name.
-
getDisplayName
Returns the microagent display name.- Returns:
- The microagent display name.
-
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
Returns the Agent object identifying which agent is hosting the microagent.- Returns:
- The agent hosting the microagent
-
equals
Determines if two MicroAgentID objects are equal. -
hashCode
public int hashCode() -
toString
Returns a string representation of this id
-