|
ADK CVS | ||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
The AgentBuilder is an interface by which plugins can reconstruct agents without having to know about the internal structure of agents.
| Field Summary | |
static java.lang.String |
CATEGORY_RUNTIME
The category for runtime attributes |
static java.lang.String |
CATEGORY_STATISTICAL
The category for statistical attributes |
static java.lang.String |
TYPE_BINARY
The type for binary serialization |
static java.lang.String |
TYPE_LOGICAL
The type for logical serialization |
| Method Summary | |
ARLBuilder |
getARL()
The AgentBuilder implementation creates an instance of the ARLBuilder implementation for the plugins to use: the plugin cannot do that. |
void |
setAgent(byte[] agent)
Sets the byte array containing the storable data of an agent. |
void |
setAgent(java.lang.String agent)
Sets the string containing the storable data of an agent. |
void |
setAgentAttributes(java.util.Map map,
java.lang.String category)
Sets the agent's attributes in the form of a map containing key-value pair combinations. |
void |
setAgentID(java.lang.String agentID)
Sets the AgentID. |
void |
setARL(ARLBuilder builder)
Returns the AgentResourceLocator Builder which represents the current agent's AgentResourceLocator. |
void |
setSerializationType(java.lang.String type)
Sets the serialization type of this agent: TYPE_BINARY or TYPE_LOGICAL. |
| Field Detail |
public static final java.lang.String CATEGORY_RUNTIME
public static final java.lang.String CATEGORY_STATISTICAL
public static final java.lang.String TYPE_BINARY
public static final java.lang.String TYPE_LOGICAL
| Method Detail |
public void setAgent(java.lang.String agent)
agent - the agent encoded as a stringpublic void setAgent(byte[] agent)
agent - the agent encoded as a stringpublic void setAgentID(java.lang.String agentID)
agentID - The agentID encoded as a string
public void setAgentAttributes(java.util.Map map,
java.lang.String category)
map - a (String, String) Map.public void setSerializationType(java.lang.String type)
type - a string either TYPE_LOGICAL or TYPE_BINARYpublic void setARL(ARLBuilder builder)
builder - the ARLBuilder related to this agent.public ARLBuilder getARL()
|
Copyright 2005, Tryllian Solutions B.V. | ||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||