Top | ![]() |
![]() |
![]() |
![]() |
gpointer | call-context | Write / Construct Only |
GAFlightLocation * | location | Read / Write / Construct Only |
GAFlightServerOptions is a class for options of each server.
GAFlightServer is a class to develop an Apache Arrow Flight server.
GAFlightServerOptions *
gaflight_server_options_new (GAFlightLocation *location
);
Since: 5.0.0
gboolean gaflight_server_listen (GAFlightServer *server
,GAFlightServerOptions *options
,GError **error
);
Since: 5.0.0
gboolean gaflight_server_shutdown (GAFlightServer *server
,GError **error
);
Shuts down the serve. This function can be called from signal
handler or another thread while gaflight_server_serve()
blocks.
Since: 5.0.0
GList * gaflight_server_list_flights (GAFlightServer *server
,GAFlightServerCallContext *context
,GAFlightCriteria *criteria
,GError **error
);
Shuts down the serve. This function can be called from signal
handler or another thread while gaflight_server_serve()
blocks.
Since: 5.0.0
#define GAFLIGHT_TYPE_SERVER_OPTIONS (gaflight_server_options_get_type())
struct GAFlightServerCallContextClass { GObjectClass parent_class; };
struct GAFlightServerClass { GObjectClass parent_class; GList *(*list_flights)(GAFlightServer *server, GAFlightServerCallContext *context, GAFlightCriteria *criteria, GError **error); };
“call-context”
property“call-context” gpointer
The raw arrow::flight::ServerCallContext.
Owner: GAFlightServerCallContext
Flags: Write / Construct Only
“location”
property“location” GAFlightLocation *
The location to be listened.
Owner: GAFlightServerOptions
Flags: Read / Write / Construct Only