All Classes
-
All Classes Interface Summary Class Summary Enum Summary Exception Summary Annotation Types Summary Class Description AgentModel AgentNotFoundException AgentWatcher AlteriteModule BaseModule CategorizationModule The DiffModule computes differences and similarities between concepts.EventModule This class allows the registration of event by external client through the#registerEvent(String, String, Set, IEventConsumer)
RPC method.EventNotFoundException EventProcessor EventRegistrationException EventsTest This class holds unit tests that cover the events feature inoro-server
.GenericWatcher Helpers This class provides various static helper methods for some common parsing and formatting tasks.IConnector IEventConsumer This interface is intended to be implemented by classes that are expected to be notified when some event occurs, thus consuming the event.IllegalStatementException This exception is thrown when a literal statement is malformed (eg, 2 tokens instead of three).ILoggingFilter IModule Modules must implement this interface to be loaded at runtime.InconsistentOntologyException InvalidEventDescriptorException This exception is thrown when a event is registered with invalid parameters.InvalidModelException InvalidPluginException InvalidPolicyException InvalidQueryException InvalidRuleException This exception is thrown when a SWRL rule is malformed.IOntologyBackend This interface describes the abstract behaviour of an ontology backend.IService IServiceProvider This interface sole purpose is to signal that a class implement services for the oro-server (ie, methods annotated with aRPCMethod
annotation).IWatcher Interface to patterns that may trigger events.IWatcher.EventType Constants that defines the type of event the event module can handle.IWatcher.TriggeringType Constants that defines the way an event is triggered.JarClassLoader A class loader for loading jar files, both local and remote.JSONArray A JSONArray is an ordered sequence of values.JSONException The JSONException is thrown by the JSON.org classes when things are amiss.JSONObject A JSONObject is an unordered collection of name/value pairs.JSONString TheJSONString
interface allows atoJSONString()
method so that a class can change the behavior ofJSONObject.toString()
,JSONArray.toString()
, andJSONWriter.value(
Object)
.JSONTokener A JSONTokener takes a source string and extracts characters and tokens from it.Logger Logger.Colors MemoryManager MemoryProfile Namespaces This class provides several static method for namespace manipulation (expansion, contraction, SPARQL prefixes header...).NewClassInstanceWatcher This class specializesGenericWatcher
to easily create event watchers that monitor new instances of a given class.NotComparableException This exception is thrown when a two concepts are compared but are not of the same nature (for instance, a comparison between a class and an instance would throw a NotComparableException).NotImplementedException OntologyConnectorException OntologyServerException OpenRobotsOntology The OpenRobotsOntology class is the main storage backend for oro-server.
It maps useful methods for knowledge access in a robotic context to a Jena-bakedontology
.
Amongst other feature, it offers an easy way to query the ontology with standard SPARQL requests, it can try to find resources matching a set of statements or check the consistency of the knowledge storage.
Examples covering the various aspects of the API can be found in the Unit Tests.OpenRobotsOntologyTest This class holds unit tests that cover most of theoro-server
features.
For the tests to be executed, theoro_test.owl
ontology is required, and must be referenced by theoro_test.conf
configuration file.OroEvent OroEventImpl OroEventNewInstances OroServer OroServer
is the application entry point.Pair<L,R> PartialStatement A partial statement is a statement whose at least one element (subject, predicate or object) is unknown. To be valid, a partial statement must have at least one variable, prepended with a "?".PluginLoader PluginNotFoundException Policy PolicyMethods ReasoningTests This class holds more advanced unit tests that tests load scalability and some more advanced reasonning feature.Request ResourceDescription ResourceType RPCMethod This annotation marks all the available methods exposed to remote clients.
To actually register your services by the server, you just need to annotate the relevant method with a @RPCMethod annotation and to call theOroServer.addNewServiceProviders(IServiceProvider)
method.ServiceImpl SimpleLoggingFilter SocketConnector Implements a socket interface tooro-server
RPC methods.
The protocol is ASCII-based (ie, you can connect to the server with telnet to test everything).
VerboseLevel This enum defines the various possible verbosity levels for server messages.