Description
Starts a dpf’s grpc server (if local) or connect to one and keep it waiting for requests in a streams.Inputs
This table lists the input pins for this operator. Input pins define the data that the operator requires to perform its operation. Some inputs are required, while others are optional and provide additional configuration. Each parameter is detailed in the sections that follow the table.ip (Pin 0)
- Required: No
- Expected type(s):
string
port (Pin 1)
If no port is put, port 50052 is takenstarting_option (Pin 2)
- Required: No
- Expected type(s):
int32
should_start_server (Pin 3)
- Required: No
- Expected type(s):
bool
data_sources (Pin 4)
- Required: No
- Expected type(s):
data_sources
dpf_context (Pin 5)
This pin is associated with pin(2) = 2 (server started in a new process). User can enter the integer associated with a DPF context (1: Standalone Context - DpfCoreStandalone.xml, 3: Custom - DpfCustomDefined.xml) or a string with the path of the XML specifying the context.Outputs
This table lists the output pins for this operator. Output pins provide the results of the operator’s computation and can be connected to inputs of other operators or retrieved for further processing. Each output is detailed in the sections that follow the table.grpc_streams (Pin 0)
- Expected type(s):
streams_container
Configurations
This operator supports configuration options that modify its behavior.mutex
- Expected type(s):
bool - Default value: false
Scripting
This operator can be accessed through scripting interfaces using these identifiers. Category: server Plugin: grpc Scripting name: grpc_start_server Full name: server.grpc_start_server Internal name: grpc::stream_provider License: NoneExamples
These examples demonstrate how to use this operator in different programming environments. Each example shows how to instantiate the operator, connect the required inputs, and retrieve the output.Changelog
- Version 0.0.0: Initial release.