Grassroots Infrastructure
The Grassroots Infrastructure is a suite of computing tools to help users and developers use scientific data infrastructure that can easily be interconnected.
PluginOperationNameServiceMatcher Struct Reference

A ServiceMatcher that matches a Service by its Plugin name and an Service name. More...

#include <service_matcher.h>

Inheritance diagram for PluginOperationNameServiceMatcher:
[legend]
Collaboration diagram for PluginOperationNameServiceMatcher:
[legend]

Data Fields

PluginNameServiceMatcher ponsm_base_matcher
 The base matcher for matching by Plugin name. More...
 
const char * ponsm_operation_name_s
 The Service name to match. More...
 
- Data Fields inherited from ServiceMatcher
RunServiceMatcherCallback sm_match_fn
 Callback function to run against a given Service to see if is a match. More...
 
DestroyServiceMatcherCallback sm_destroy_fn
 Callback to call when destroying a custom ServiceMatcher. More...
 

Additional Inherited Members

- Public Member Functions inherited from ServiceMatcher
ServiceMatcherAllocateServiceMatcher (void)
 Allocate an empty ServiceMatcher. More...
 
ServiceMatcherAllocateResourceServiceMatcher (DataResource *resource_p, Handler *handler_p)
 Allocate a ResourceServiceMatcher. More...
 
ServiceMatcherAllocateOperationNameServiceMatcher (const char *name_s, const char *alias_s)
 Allocate a NameServiceMatcher. More...
 
ServiceMatcherAllocatePluginNameServiceMatcher (const char *plugin_name_s)
 Allocate a PluginNameServiceMatcher. More...
 
ServiceMatcherAllocatePluginOperationNameServiceMatcher (const char *plugin_name_s, const char *service_name_s)
 Allocate a PluginOperationNameServiceMatcher. More...
 
ServiceMatcherAllocateKeywordServiceMatcher (void)
 Allocate a KeywordServiceMatcher. More...
 
GRASSROOTS_SERVICE_MANAGER_LOCAL void InitServiceMatcher (ServiceMatcher *matcher_p, RunServiceMatcherCallback match_fn)
 Initialise a ServiceMatcher. More...
 
bool RunServiceMatcher (ServiceMatcher *matcher_p, Service *service_p)
 Run a ServiceMatcher on a given Service. More...
 
void FreeServiceMatcher (ServiceMatcher *matcher_p)
 Free a ServiceMatcher. More...
 

Detailed Description

A ServiceMatcher that matches a Service by its Plugin name and an Service name.

Find a Service by matching the name of the Plugin that it was loaded from as well as having a matching Service name too.

Field Documentation

◆ ponsm_base_matcher

PluginNameServiceMatcher ponsm_base_matcher

The base matcher for matching by Plugin name.

◆ ponsm_operation_name_s

const char* ponsm_operation_name_s

The Service name to match.


The documentation for this struct was generated from the following file: