|
ABLE, Version 1.1b | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--com.ibm.able.platform.agents.FipaAmsAgentDescription
This class provides an implementation of a FIPA AMS agent description.
This class also contains some ABLE extensions, the most interesting of which is a Java reference to the agent that this description describes. Therefore, when one looks up an agent in the AMS and obtains a description of the agent, addressability to the actual agent can be obtained by calling getReference() on the description. (The returned reference must be cast to the expected agent type before being used.) Two other extensions, class name and host name, allow an AMS to create agents on any remote system where an AblePlatformSupport object is running.
Constructor Summary | |
FipaAmsAgentDescription()
Create a new, empty FIPA AMS agent description. |
|
FipaAmsAgentDescription(java.lang.String theAgentName,
java.lang.String theAddress)
Create a new FIPA AMS agent description, and initialize it with specified parameters. |
Method Summary | |
static java.lang.String |
Copyright()
Determine the copyright of this class. |
java.lang.String |
getAddress()
Retrieve the address of the agent. |
java.lang.String |
getAgentName()
Retrieve the name of the agent. |
int |
getApState()
Retrieve the AP state. |
java.lang.String |
getClassName()
Retrieve the class name. |
java.lang.String |
getDelegateAgentName()
Retrieve the delegate agent name. |
java.lang.String |
getHostName()
Retrieve the host name. |
java.lang.String |
getOwnership()
Retrieve the ownership. |
java.lang.Object |
getReference()
Retrieve the reference. |
java.lang.String |
getSignature()
Retrieve the signature. |
void |
setAddress(java.lang.String theAddress)
Set the address of the agent. |
void |
setAgentName(java.lang.String theAgentName)
Set the name of the agent. |
void |
setApState(int theApStateId)
Set the AP state. |
void |
setClassName(java.lang.String theClassName)
Set the class name. |
void |
setDelegateAgentName(java.lang.String theDelegateAgentName)
Set the DelegateAgentName. |
void |
setHostName(java.lang.String theHostName)
Set the host name. |
void |
setOwnership(java.lang.String theOwnership)
Set the ownership. |
void |
setReference(java.lang.Object theReference)
Set the reference. |
void |
setSignature(java.lang.String theSignature)
Set the signature. |
java.lang.String |
toString()
Retrieve a string describing (the contents of) the object. |
Methods inherited from class java.lang.Object |
clone,
equals,
finalize,
getClass,
hashCode,
notify,
notifyAll,
wait,
wait,
wait |
Constructor Detail |
public FipaAmsAgentDescription()
public FipaAmsAgentDescription(java.lang.String theAgentName, java.lang.String theAddress)
theAgentName
- The name of the agent.
theAddress
- The address of the agent.
Method Detail |
public java.lang.String getAgentName()
public void setAgentName(java.lang.String theAgentName)
theAgentName
- A name of an agent.
public java.lang.String getAddress()
public void setAddress(java.lang.String theAddress)
theAddress
- A address of an agent.
public int getApState()
public void setApState(int theApStateId) throws java.lang.IllegalArgumentException
theApStateId
- The AP state.
public java.lang.String getDelegateAgentName()
public void setDelegateAgentName(java.lang.String theDelegateAgentName)
theDelegateAgentName
- The delegate agent name.
public java.lang.String getOwnership()
public void setOwnership(java.lang.String theOwnership)
theOwnership
- The ownership.
public java.lang.String getSignature()
public void setSignature(java.lang.String theSignature)
theSignature
- The signature.
public java.lang.String getClassName()
public void setClassName(java.lang.String theClassName)
the
- className
The class name.
public java.lang.String getHostName()
public void setHostName(java.lang.String theHostName)
the
- hostName
The host name.
public java.lang.Object getReference()
public void setReference(java.lang.Object theReference)
the
- reference
The reference.
public java.lang.String toString()
public static java.lang.String Copyright()
|
ABLE, Version 1.1b | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |