|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface KAoSActor
Defines the operations to access information about a KAoS Actor.
Method Summary | |
---|---|
java.util.List<AgentCapability> |
getCapabilities()
Obtain the collection of AgentCapabilities of this KAoSActor. |
java.lang.String |
getConceptMappingName()
Get the name of the concept mapping between the entity system's ontological concepts and KAoS ontology. |
java.util.List<java.lang.String> |
getDomainNames()
Returns a List of String containing the names of domains the actor is registered in. |
java.util.Set<java.lang.String> |
getEntityOntologicalTypeNames()
Obtain the collection of just names of ontological types of KAoS entity described by this KAoSActorDescription. |
java.util.Map<java.lang.String,java.lang.String> |
getEntityOntologicalTypes()
Obtain the collection of ontological types of this KAoSActorDescription. |
java.lang.String |
getGUID()
Obtain the actor's globally unique identifier. |
java.lang.String |
getName()
Obtain the actor's name. |
java.util.Map<java.lang.String,Property> |
getProperties()
Returns a Hashtable containing a mapping of actor properties. |
Property |
getProperty(java.lang.String name)
Return the property, whose name is specified |
java.lang.Object |
getPropertyValue(Property property)
Return the value of the given property |
Transport |
getTransport(java.lang.String name)
Return the Transport, whose name is specified. |
java.util.List |
getTransports()
Return the List of valid Transports. |
boolean |
isGuarded()
Obtain guarded/unguarded status of this KAoSActor. |
boolean |
isRegistered()
Obtain registered/unregistered status of this KAoSActor. |
void |
receiveMessage(java.io.Serializable messageContent,
KAoSActor sender)
Receive the specified message content from the given KAoSActor. |
void |
sendMessage(java.io.Serializable messageContent,
KAoSActor receiver)
Send the specified message content to the given KAoSActor. |
void |
setRegistered(boolean registered)
Set the registered/unregistered status of this KAoSActor. |
Method Detail |
---|
java.lang.String getGUID()
java.lang.String getName()
java.util.List<java.lang.String> getDomainNames()
java.util.Map<java.lang.String,java.lang.String> getEntityOntologicalTypes()
java.util.Set<java.lang.String> getEntityOntologicalTypeNames()
boolean isGuarded()
boolean isRegistered()
void setRegistered(boolean registered)
registered
- boolean indicating whether the KAoSActor has been registered in the KAoS DS.java.util.List<AgentCapability> getCapabilities()
java.lang.String getConceptMappingName()
java.util.Map<java.lang.String,Property> getProperties()
Property getProperty(java.lang.String name)
name
- String containing the name of the property to be returned.java.lang.Object getPropertyValue(Property property)
property
- Property, whose value is to be returned.
void sendMessage(java.io.Serializable messageContent, KAoSActor receiver) throws NotLocatableException, TransportFailure
messageContent
- Serializable containing the message to be sent out.receiver
- KAoSActor representing the receiver.
NotLocatableException
- when the receiver cannot be located.
TransportFailure
- when the transport system fails.void receiveMessage(java.io.Serializable messageContent, KAoSActor sender)
messageContent
- Serializable containing the received message.sender
- KAoSActor representing the sender.java.util.List getTransports()
Transport getTransport(java.lang.String name)
name
- String containing the Transport name to be retrieved.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |