OpenJAUS Software Development Kit
4.3.1
|
Provides an abstract interface for the Discovery service. More...
#include <DiscoveryInterface.h>
Inherits openjaus::core::EventsInterface.
Inherited by openjaus::core::services::Discovery [virtual]
.
Public Member Functions | |
virtual | ~DiscoveryInterface () |
virtual bool | publishServices (RegisterServices *registerServices)=0 |
PublishServices action with input RegisterServices. More... | |
virtual ReportIdentification | getReportIdentification (QueryIdentification *queryIdentification)=0 |
Send a Report Identification message to the component that sent the query. More... | |
virtual ReportConfiguration | getReportConfiguration (QueryConfiguration *queryConfiguration)=0 |
Send a Report Configuration message to the component that sent the query. More... | |
virtual ReportSubsystemList | getReportSubsystemList (QuerySubsystemList *querySubsystemList)=0 |
Send a Report Subsystems List message to the component that sent the query. More... | |
virtual ReportServices | getReportServices (QueryServices *queryServices)=0 |
Send a Report Services message to the component that sent the query. More... | |
virtual ReportServiceList | getReportServiceList (QueryServiceList *queryServiceList)=0 |
Send a Report Service List message to the component that sent the query Send a Report Service List message to the component that sent the query. More... | |
Public Member Functions inherited from openjaus::core::EventsInterface | |
virtual | ~EventsInterface () |
virtual bool | createEvent (CreateEvent *createEvent)=0 |
CreateEvent action with input CreateEvent. More... | |
virtual bool | processEvent (ProcessEventRequest *processEventRequest)=0 |
ProcessEvent action with input ProcessEventRequest. More... | |
virtual bool | resetEventTimer (CreateEvent *createEvent)=0 |
ResetEventTimer action with input CreateEvent. More... | |
virtual bool | resetEventTimer (UpdateEvent *updateEvent)=0 |
ResetEventTimer action with input UpdateEvent. More... | |
virtual bool | updateEvent (CreateEvent *createEvent)=0 |
UpdateEvent action with input CreateEvent. More... | |
virtual bool | updateEvent (UpdateEvent *updateEvent)=0 |
UpdateEvent action with input UpdateEvent. More... | |
virtual bool | cancelEvent (CancelEvent *cancelEvent)=0 |
CancelEvent action with input CancelEvent. More... | |
virtual bool | stopEventTimer (CancelEvent *cancelEvent)=0 |
StopEventTimer action with input CancelEvent. More... | |
virtual RejectEventRequest | getRejectEventRequest (CreateEvent *createEvent)=0 |
Send action for RejectEventRequest with input message CreateEvent. More... | |
virtual RejectEventRequest | getRejectEventRequest (UpdateEvent *updateEvent)=0 |
Send action for RejectEventRequest with input message UpdateEvent. More... | |
virtual RejectEventRequest | getRejectEventRequest (CancelEvent *cancelEvent)=0 |
Send action for RejectEventRequest with input message CancelEvent. More... | |
virtual ConfirmEventRequest | getConfirmEventRequest (CreateEvent *createEvent)=0 |
Send action for ConfirmEventRequest with input message CreateEvent. More... | |
virtual ConfirmEventRequest | getConfirmEventRequest (UpdateEvent *updateEvent)=0 |
Send action for ConfirmEventRequest with input message UpdateEvent. More... | |
virtual ConfirmEventRequest | getConfirmEventRequest (CancelEvent *cancelEvent)=0 |
Send action for ConfirmEventRequest with input message CancelEvent. More... | |
virtual ReportEvents | getReportEvents (QueryEvents *queryEvents)=0 |
Send action for ReportEvents with input message QueryEvents. More... | |
virtual ReportEventTimeout | getReportEventTimeout (QueryEventTimeout *queryEventTimeout)=0 |
Send action for ReportEventTimeout with input message QueryEventTimeout. More... | |
virtual bool | confirmEvent (ConfirmEventRequest *confirmEventRequest)=0 |
ConfirmEvent action with input ConfirmEventRequest. More... | |
virtual bool | rejectEvent (RejectEventRequest *rejectEventRequest)=0 |
RejectEvent action with input RejectEventRequest. More... | |
virtual bool | handleIncomingEvent (Event *event)=0 |
HandleIncomingEvent action with input Event. More... | |
virtual bool | handleReportEvents (ReportEvents *reportEvents)=0 |
HandleReportEvents action with input ReportEvents. More... | |
virtual bool | isSupported (CreateEvent *createEvent)=0 |
isSupported condition. More... | |
virtual bool | isSupported (UpdateEvent *updateEvent)=0 |
isSupported condition. More... | |
virtual bool | eventExists (CreateEvent *createEvent)=0 |
eventExists condition. More... | |
virtual bool | eventExists (UpdateEvent *updateEvent)=0 |
eventExists condition. More... | |
virtual bool | eventExists (CancelEvent *cancelEvent)=0 |
eventExists condition. More... | |
Public Member Functions inherited from openjaus::core::TransportInterface | |
virtual | ~TransportInterface () |
virtual bool | enqueue (model::Trigger *trigger)=0 |
Convert the destination address into an unsigned integer such that the ComponentID maps to the least significant byte, NodeID to the next least significant byte and SubsystemID maps onto the remaining two bytes of the integer. More... | |
virtual bool | broadcastLocalEnqueue (model::Trigger *trigger)=0 |
Package the message as specified by the transport layer specification and send it to all endpoints in the local subsystem. More... | |
virtual bool | broadcastGlobalEnqueue (model::Trigger *trigger)=0 |
Package the message as specified by the transport layer specification and send it to all endpoints on all subsystems. More... | |
virtual bool | sendMessage (model::Trigger *trigger)=0 |
SendMessage action with input SendMessage. More... | |
virtual bool | broadcastToNode (model::Trigger *trigger)=0 |
Broadcasts message to all components within the local node Broadcasts message to all components within the local node. More... | |
virtual bool | broadcastToSubsystem (model::Trigger *trigger)=0 |
Broadcasts a given message to all nodes in the local subsystem (equivalent to broadcast local enqueue) Broadcasts a given message to all nodes in the local subsystem (equivalent to broadcast local enqueue) More... | |
virtual bool | broadcastToSystem (model::Trigger *trigger)=0 |
Broadcasts the message to all subsystems on the JAUS network (equivalent to broadcast global enqueue) Broadcasts the message to all subsystems on the JAUS network (equivalent to broadcast global enqueue) More... | |
virtual bool | checkTransportPolicy (model::Trigger *trigger)=0 |
CheckTransportPolicy action with input CheckTransportPolicy. More... | |
virtual ReportTransportPolicy | getReportTransportPolicy (QueryTransportPolicy *queryTransportPolicy)=0 |
Send action for ReportTransportPolicy with input message QueryTransportPolicy. More... | |
virtual bool | storeTransportPolicy (ReportTransportPolicy *reportTransportPolicy)=0 |
StoreTransportPolicy action with input ReportTransportPolicy. More... | |
Static Public Member Functions | |
static OPENJAUS_DEPRECATED model::Service | DiscoveryService () |
Builds a default instance of the Discovery Service and populates the URI and Version numbers. More... | |
static OPENJAUS_DEPRECATED std::string | DiscoveryUri () |
Static accessor for Service URI. More... | |
Static Public Member Functions inherited from openjaus::core::EventsInterface | |
static OPENJAUS_DEPRECATED model::Service | EventsService () |
Builds a default instance of the Events Service and populates the URI and Version numbers. More... | |
static OPENJAUS_DEPRECATED std::string | EventsUri () |
Static accessor for Service URI. More... | |
Static Public Member Functions inherited from openjaus::core::TransportInterface | |
static OPENJAUS_DEPRECATED model::Service | TransportService () |
Builds a default instance of the Transport Service and populates the URI and Version numbers. More... | |
static OPENJAUS_DEPRECATED std::string | TransportUri () |
Static accessor for Service URI. More... | |
The process of discovery is conducted at both the node level and the subsystem level. service supports the discovery of both legacy components defined in the JAUS Reference Architecture versions 3.2+, and new components. The Component IDs of legacy components were fixed at specification time (Primitive Driver = 33 for example) and could contain only one service beyond the core service support. New components may use any component ID that is outside the range of IDs that have been allocated to legacy component definitions. New components can also contain two or more services beyond the core service support.
URI: urn:jaus:jss:core:Discovery
Version: 1.0
Inherits From:
|
inlinevirtual |
|
inlinestatic |
|
inlinestatic |
|
pure virtual |
Send a Report Configuration message to the component that sent the query.
[in] | queryConfiguration | - Input Trigger. |
Implemented in openjaus::core::services::Discovery.
|
pure virtual |
Send a Report Identification message to the component that sent the query.
[in] | queryIdentification | - Input Trigger. |
Implemented in openjaus::core::services::Discovery.
|
pure virtual |
[in] | queryServiceList | - Input Trigger. |
Implemented in openjaus::core::services::Discovery.
|
pure virtual |
Send a Report Services message to the component that sent the query.
[in] | queryServices | - Input Trigger. |
Implemented in openjaus::core::services::Discovery.
|
pure virtual |
Send a Report Subsystems List message to the component that sent the query.
[in] | querySubsystemList | - Input Trigger. |
Implemented in openjaus::core::services::Discovery.
|
pure virtual |
PublishServices action with input RegisterServices.
[in] | registerServices | - Input Trigger. |
Implemented in openjaus::core::services::Discovery.