Package | Description |
---|---|
org.da.protoframework.model.core |
Contains the models for the applications and services implementation.
|
org.da.protoframework.util |
Contains utility classes for managing the framework.
|
Modifier and Type | Class and Description |
---|---|
class |
ListenServiceInstance
Represent a listen Service instance on a Module.
|
class |
PublishChildServiceInstance
Represent a publish Service instance on a Module.
|
class |
PublishCyclicServiceInstance
Represent a publish cyclic Service instance on a Module.
|
class |
PublishServiceInstance
Represent a publish Service instance on a Module.
|
class |
ReceiveEventServiceInstance
Represent a subscribe Service instance on a Module.
|
class |
RequestServiceInstance
Represent a request Service instance on a Module.
|
class |
ResponseServiceInstance
Represent a response Service instance on a Module.
|
class |
SendEventChildServiceInstance
Represent a copy of a sendEvent Service instance on a Module.
|
class |
SendEventCyclicServiceInstance
Represent a sendEvent Service instance on a Module.
|
class |
SendEventServiceInstance
Represent a sendEvent Service instance on a Module.
|
class |
SubscribeServiceInstance
Represent a subscribe Service instance on a Module.
|
Modifier and Type | Field and Description |
---|---|
protected java.util.Map<ModuleKey,ServiceInstance<?,?>> |
Service.attachedProviders
The Map of attached providers.
|
protected java.util.Map<NamespaceKey,ServiceInstance<?,?>> |
Module.providerServices
The Maps of provider Services.
|
protected java.util.Map<NamespaceKey,ServiceInstance<?,?>> |
Module.subscriberServices
The Maps of subscriber Services.
|
Modifier and Type | Method and Description |
---|---|
ServiceInstance<S,I> |
ServiceInstance.clone()
Clone the service.
|
ServiceInstance<S,I> |
ServiceInstance.createCopy()
Return a copy of the service.
|
ServiceInstance<?,?> |
Module.getProviderService(long id)
Return the Service provider instance with a specified ID.
|
ServiceInstance<?,?> |
Module.getProviderService(NamespaceKey key)
Return the Service provider instance with a specified key.
|
ServiceInstance<?,?> |
Module.getProviderService(java.lang.String name)
Return the Service provider instance with a specified name.
|
ServiceInstance<?,?> |
Module.getProviderService(java.lang.String uri,
java.lang.String name)
Return true if there is a Service provider instance with a specified key.
|
ServiceInstance<?,?> |
Module.getService(long id)
Return the Service instance with a specified ID.
|
ServiceInstance<?,?> |
Module.getService(NamespaceKey key)
Return the Service instance with a specified key.
|
ServiceInstance<?,?> |
Module.getService(java.lang.String name)
Return the Service instance with a specified name.
|
ServiceInstance<?,?> |
Module.getService(java.lang.String name,
boolean isSilent)
Return the Service instance with a specified name.
|
ServiceInstance<?,?> |
Module.getService(java.lang.String uri,
java.lang.String name)
Return the Service instance with a specified key.
|
ServiceInstance<?,?> |
Service.getSubscriber(ModuleIDKey key)
Return a Service instance subscriber.
|
ServiceInstance<?,?> |
Module.getSubscriberService(long id)
Return the Service subscriber instance with a specified ID.
|
ServiceInstance<?,?> |
Module.getSubscriberService(NamespaceKey key)
Return the Service subscriber instance with a specified key.
|
ServiceInstance<?,?> |
Module.getSubscriberService(java.lang.String name)
Return the Service subscriber instance with a specified name.
|
ServiceInstance<?,?> |
Module.getSubscriberService(java.lang.String uri,
java.lang.String name)
Return true if there is a Service subscriber instance with a specified key.
|
static ServiceInstance<?,?> |
ServiceInstance.getVoidService()
Return an empty Service instance, which does nothing.
|
Modifier and Type | Method and Description |
---|---|
java.util.Map<ModuleKey,ServiceInstance<?,?>> |
Service.getAttachedProviders()
Return the Service instance attached provider.
|
java.util.Map<ModuleIDKey,ServiceInstance<?,?>> |
RequestServiceInstance.getInstanceListeners()
Return the Service instance subscribers.
|
java.util.Map<ModuleIDKey,ServiceInstance<?,?>> |
ServiceInstance.getInstanceListeners()
Return the Service instance subscribers.
|
java.util.Map<ModuleIDKey,ServiceInstance<?,?>> |
RequestServiceInstance.getInstanceSubscribers()
Return the Service instance subscribers.
|
java.util.Map<ModuleIDKey,ServiceInstance<?,?>> |
ServiceInstance.getInstanceSubscribers()
Return the Service instance subscribers.
|
java.util.Map<ModuleIDKey,ServiceInstance<?,?>> |
Service.getProviders()
Return the Service instance providers.
|
java.util.Map<NamespaceKey,ServiceInstance<?,?>> |
Module.getProviderServices()
Return the provider Services instances.
|
java.util.Map<NamespaceKey,ServiceInstance<?,?>> |
Module.getServices()
Return the Services instances.
|
java.util.Map<ModuleIDKey,ServiceInstance<?,?>> |
Service.getSubscribers()
Return the Service subscribers.
|
java.util.Map<NamespaceKey,ServiceInstance<?,?>> |
Module.getSubscriberServices()
Return the subscriber Services instances.
|
Modifier and Type | Method and Description |
---|---|
void |
Service.addProvider(ServiceInstance<?,?> serviceImpl)
Add a Service instance provider to the Service.
|
void |
Service.addSubscriber(ServiceInstance<?,?> serviceImpl)
Add a Service instance subscriber to the Service.
|
boolean |
Service.attachProvider(ServiceInstance<?,?> service)
Attach a Service instance provider.
|
boolean |
ServiceInstance.copyFromService(ServiceInstance<?,?> service)
Copy the values of the output datas of a service to this service.
|
boolean |
RequestServiceInstance.copyFromService(ServiceInstance<?,?> service,
boolean strict)
Copy the values of the output datas of a service to this service.
|
boolean |
ResponseServiceInstance.copyFromService(ServiceInstance<?,?> service,
boolean strict)
Copy the values of the output datas of a service to this service.
|
boolean |
ServiceInstance.copyFromService(ServiceInstance<?,?> service,
boolean strict)
Copy the values of the output datas of a service to this service.
|
boolean |
ServiceInstance.copyFromService(ServiceInstance<?,?> service,
boolean clone,
boolean strict)
Copy the values of the output datas of a service to this service.
|
boolean |
Service.detachProvider(ServiceInstance<?,?> service)
Detach a Service instance provider.
|
void |
Service.error(ServiceInstance<?,?> instance,
char errorType)
Notify an error for the execution of the Service.
|
protected java.lang.reflect.Method |
Module.getReceiveMethod(ServiceInstance<?,?> service)
Return the Method used for the notification of a Service.
|
default void |
FrameworkOwner.publish(ServiceInstance<?,?> service)
Called when the module publish a Service invocation.
|
protected void |
Module.receiveImpl(ServiceInstance<?,?> service)
Invoke the Method used for the notification of a Service.
|
void |
Service.send(ServiceInstance<?,?> instance,
char invokeType)
Send the Service datas.
|
void |
Service.send(ServiceInstance<?,?> instance,
int count,
char invokeType)
Send the Service datas.
|
default void |
FrameworkOwner.subscribe(ServiceInstance<?,?> service)
Called when the module receives a Service notification.
|
Modifier and Type | Method and Description |
---|---|
ServiceInstance<?,?> |
OptionalServicesConfigurator.getService(NamespaceKey key)
Return a checked Service.
|
ServiceInstance<?,?> |
OptionalServicesConfigurator.getService(java.lang.String name)
Return a checked Service.
|
ServiceInstance<?,?> |
OptionalServicesConfigurator.getService(java.lang.String uri,
java.lang.String name)
Return a Service.
|
Modifier and Type | Method and Description |
---|---|
short |
ServiceTemplates.checkService(ServiceInstance<?,?> service)
Check the compatibility of a service with the stored definition.
|
short |
ServiceTemplates.checkService(ServiceInstance<?,?> service,
boolean isStrict)
Check the compatibility of a service with the stored definition.
|
short |
ServiceTemplates.checkService(ServiceInstance<?,?> service,
short direction)
Check the compatibility of a service with the stored definition.
|
short |
ServiceTemplates.checkService(ServiceInstance<?,?> service,
short direction,
boolean isStrict)
Check the compatibility of a service with the stored definition.
|
static org.json.JSONObject |
DataUtilities.toJSON(ServiceInstance<?,?> service,
boolean enumStateAsString)
Convert the content of a service as a JSON object.
|
Copyright ©2017-2023 Dassault Aviation. All Rights Reserved. Documentation and source under the LGPL v3 licence