| Top |
| GAFlightServerOptions * | gaflight_server_options_new () |
| gboolean | gaflight_server_listen () |
| gint | gaflight_server_get_port () |
| gboolean | gaflight_server_shutdown () |
| gboolean | gaflight_server_wait () |
| GList * | gaflight_server_list_flights () |
| 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.
server |
||
context |
||
criteria |
[nullable] | |
error |
Return location for a GError or |
[nullable] |
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