|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectkaos.core.csi.usecase.legacy.LegacySystemImpl
kaos.core.csi.usecase.legacy.KAoSWrappedLegacySystem
public class KAoSWrappedLegacySystem
Field Summary | |
---|---|
protected kaos.core.csi.KAoSActorImpl |
_kaosActor
|
Constructor Summary | |
---|---|
protected |
KAoSWrappedLegacySystem()
|
Method Summary | |
---|---|
java.util.List |
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 |
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 |
getEntityOntologicalTypes()
Obtain the collection of ontological types of this KAoSActorDescription. |
java.lang.String |
getGUID()
Obtain the actor's globally unique identifier. |
static LegacySystem |
getInstance(java.lang.String[] args)
Retrieve a reference to the LegacySystem. |
java.lang.String |
getName()
Obtain the actor's name. |
java.util.Hashtable |
getProperties()
Returns a Map 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. |
static void |
main(java.lang.String[] args)
|
void |
receiveMessage(java.io.Serializable messageContent,
KAoSActor sender)
|
void |
receiveMessage(TransportMessage msg)
|
void |
sendMessage(java.io.Serializable messageContent,
KAoSActor receiver)
|
void |
setRegistered(boolean registered)
Set the registered/unregistered status of this KAoSActor. |
Methods inherited from class kaos.core.csi.usecase.legacy.LegacySystemImpl |
---|
anotherLegacyAction, legacyAction |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
protected kaos.core.csi.KAoSActorImpl _kaosActor
Constructor Detail |
---|
protected KAoSWrappedLegacySystem()
Method Detail |
---|
public static LegacySystem getInstance(java.lang.String[] args) throws java.lang.Exception
args
- are the command line args for the LegacySystemEnforcerImpl.
They are:
-transport tcp -domains LegacyDomain
java.lang.Exception
public java.lang.String getConceptMappingName()
KAoSActor
getConceptMappingName
in interface KAoSActor
public java.util.List getDomainNames()
KAoSActor
getDomainNames
in interface KAoSActor
public java.lang.String getGUID()
KAoSActor
getGUID
in interface KAoSActor
public java.lang.String getName()
KAoSActor
getName
in interface KAoSActor
public java.util.Map getEntityOntologicalTypes()
KAoSActor
getEntityOntologicalTypes
in interface KAoSActor
public java.util.Set<java.lang.String> getEntityOntologicalTypeNames()
KAoSActor
getEntityOntologicalTypeNames
in interface KAoSActor
public boolean isGuarded()
KAoSActor
isGuarded
in interface KAoSActor
public boolean isRegistered()
KAoSActor
isRegistered
in interface KAoSActor
public void setRegistered(boolean registered)
KAoSActor
setRegistered
in interface KAoSActor
registered
- boolean indicating whether the KAoSActor has been registered in the KAoS DS.public java.util.List getCapabilities()
KAoSActor
getCapabilities
in interface KAoSActor
public java.util.Hashtable getProperties()
KAoSActor
getProperties
in interface KAoSActor
public Property getProperty(java.lang.String name)
KAoSActor
getProperty
in interface KAoSActor
name
- String containing the name of the property to be returned.public java.lang.Object getPropertyValue(Property property)
KAoSActor
getPropertyValue
in interface KAoSActor
property
- Property, whose value is to be returned.
public void sendMessage(java.io.Serializable messageContent, KAoSActor receiver) throws NotLocatableException, TransportFailure
NotLocatableException
TransportFailure
public void receiveMessage(java.io.Serializable messageContent, KAoSActor sender)
public java.util.List getTransports()
KAoSActor
getTransports
in interface KAoSActor
public Transport getTransport(java.lang.String name)
KAoSActor
getTransport
in interface KAoSActor
name
- String containing the Transport name to be retrieved.
public void receiveMessage(TransportMessage msg)
public static void main(java.lang.String[] args)
args
-
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |