MCPcopy Create free account
hub / github.com/apache/arrow / gaflight_server_options_class_init

Function gaflight_server_options_class_init

c_glib/arrow-flight-glib/server.cpp:986–1025  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

984}
985
986static void
987gaflight_server_options_class_init(GAFlightServerOptionsClass *klass)
988{
989 auto gobject_class = G_OBJECT_CLASS(klass);
990
991 gobject_class->dispose = gaflight_server_options_dispose;
992 gobject_class->finalize = gaflight_server_options_finalize;
993 gobject_class->set_property = gaflight_server_options_set_property;
994 gobject_class->get_property = gaflight_server_options_get_property;
995
996 GParamSpec *spec;
997 /**
998 * GAFlightServerOptions:location:
999 *
1000 * The location to be listened.
1001 *
1002 * Since: 5.0.0
1003 */
1004 spec = g_param_spec_object(
1005 "location",
1006 "Location",
1007 "The location to be listened",
1008 GAFLIGHT_TYPE_LOCATION,
1009 static_cast<GParamFlags>(G_PARAM_READWRITE | G_PARAM_CONSTRUCT_ONLY));
1010 g_object_class_install_property(gobject_class, PROP_LOCATION, spec);
1011
1012 /**
1013 * GAFlightServerOptions:auth-handler:
1014 *
1015 * The authentication handler.
1016 *
1017 * Since: 12.0.0
1018 */
1019 spec = g_param_spec_object("auth-handler",
1020 "Authentication handler",
1021 "The authentication handler",
1022 GAFLIGHT_TYPE_SERVER_AUTH_HANDLER,
1023 static_cast<GParamFlags>(G_PARAM_READWRITE));
1024 g_object_class_install_property(gobject_class, PROP_AUTH_HANDLER, spec);
1025}
1026
1027/**
1028 * gaflight_server_options_new:

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected