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.
|
This datatype is used to denote that a Parameter is for use on a PairedService. More...
#include <remote_parameter_details.h>
Public Member Functions | |
RemoteParameterDetails * | AllocateRemoteParameterDetails (const char *const uri_s, const char *const param_s) |
Allocate a RemoteParameterDetails. More... | |
void | FreeRemoteParameterDetails (RemoteParameterDetails *details_p) |
Free a RemoteParameterDetails. More... | |
json_t * | GetRemoteParameterDetailsAsJSON (const RemoteParameterDetails *details_p) |
Get the JSON fragment representing a RemoteParameterDetails. More... | |
RemoteParameterDetails * | CreateRemoteParameterDetailsFromJSON (const json_t *json_p) |
Create a RemoteParameterDetails from a JSON fragment representation. More... | |
Data Fields | |
char * | rpd_server_uri_s |
If the Parameter belongs to a local Service, this will be NULL. More... | |
char * | rpd_name_s |
If the Parameter belongs to a local Service, this will be NULL . More... | |
This datatype is used to denote that a Parameter is for use on a PairedService.
RemoteParameterDetails * AllocateRemoteParameterDetails | ( | const char *const | uri_s, |
const char *const | param_s | ||
) |
Allocate a RemoteParameterDetails.
uri_s | The URI of the ExternalServer that runs the PairedService that this RemoteParameter belongs to. |
param_s | The name for this Parameter on the PairedService. |
NULL
upon error. void FreeRemoteParameterDetails | ( | RemoteParameterDetails * | details_p | ) |
Free a RemoteParameterDetails.
details_p | The RemoteParameterDetails to free. |
json_t * GetRemoteParameterDetailsAsJSON | ( | const RemoteParameterDetails * | details_p | ) |
Get the JSON fragment representing a RemoteParameterDetails.
details_p | The RemoteParameterDetails to get the JSON fragment for. |
NULL
upon error.RemoteParameterDetails * CreateRemoteParameterDetailsFromJSON | ( | const json_t * | json_p | ) |
Create a RemoteParameterDetails from a JSON fragment representation.
json_p | The JSON fragment representing the RemoteParameterDetails to get. |
NULL
upon error.char* rpd_server_uri_s |
If the Parameter belongs to a local Service, this will be NULL.
If it is for an external Service, then this is the uri for the ExternalServer running that Service.
char* rpd_name_s |