Package laas.openrobots.ontology.service
package laas.openrobots.ontology.service
This package stores all the classes related to service declaration.
A service is:
A service is:
- a method tagged with the
RPCMethodannotation... - that is callable on an instanciated object (typically instanciated in
OroServer)... - and that takes parameters belonging to
Boolean, Integer, Double, String, Set<String>, List<String>, Map<String, String>and returns either one of these types or any object implementingtoString().
- Since:
- 0.6.5
- See Also:
-
ClassDescriptionThis interface sole purpose is to signal that a class implement services for the oro-server (ie, methods annotated with a
RPCMethodannotation).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.