|
| ThreadedSocketService (ThreadedSocketService&& src) noexcept |
|
ThreadedSocketService& | operator= (ThreadedSocketService&& src) noexcept |
|
| ~ThreadedSocketService () noexcept override |
|
GThreadedSocketService* | gobj () |
| Provides access to the underlying C GObject. More...
|
|
const GThreadedSocketService* | gobj () const |
| Provides access to the underlying C GObject. More...
|
|
GThreadedSocketService* | gobj_copy () |
| Provides access to the underlying C instance. The caller is responsible for unrefing it. Use when directly setting fields in structs. More...
|
|
Glib::SignalProxy< bool(const Glib::RefPtr< SocketConnection >&, const Glib::RefPtr< Glib::Object >&)> | signal_run () |
|
Glib::PropertyProxy_ReadOnly< int > | property_max_threads () const |
| The max number of threads handling clients for this service. More...
|
|
| SocketService (SocketService&& src) noexcept |
|
SocketService& | operator= (SocketService&& src) noexcept |
|
| ~SocketService () noexcept override |
|
GSocketService* | gobj () |
| Provides access to the underlying C GObject. More...
|
|
const GSocketService* | gobj () const |
| Provides access to the underlying C GObject. More...
|
|
GSocketService* | gobj_copy () |
| Provides access to the underlying C instance. The caller is responsible for unrefing it. Use when directly setting fields in structs. More...
|
|
void | start () |
| Restarts the service, i.e. start accepting connections from the added sockets when the mainloop runs. More...
|
|
void | stop () |
| Stops the service, i.e. stops accepting connections from the added sockets when the mainloop runs. More...
|
|
bool | is_active () |
| Check whether the service is active or not. More...
|
|
Glib::SignalProxy< bool(const Glib::RefPtr< SocketConnection >&, const Glib::RefPtr< Glib::Object >&)> | signal_incoming () |
|
Glib::PropertyProxy< bool > | property_active () |
| Whether the service is currently accepting connections. More...
|
|
Glib::PropertyProxy_ReadOnly< bool > | property_active () const |
| Whether the service is currently accepting connections. More...
|
|
| SocketListener (SocketListener&& src) noexcept |
|
SocketListener& | operator= (SocketListener&& src) noexcept |
|
| ~SocketListener () noexcept override |
|
GSocketListener* | gobj () |
| Provides access to the underlying C GObject. More...
|
|
const GSocketListener* | gobj () const |
| Provides access to the underlying C GObject. More...
|
|
GSocketListener* | gobj_copy () |
| Provides access to the underlying C instance. The caller is responsible for unrefing it. Use when directly setting fields in structs. More...
|
|
void | set_backlog (int listen_backlog) |
| Sets the listen backlog on the sockets in the listener. More...
|
|
bool | add_socket (const Glib::RefPtr< Socket >& socket, const Glib::RefPtr< Glib::Object >& source_object) |
| Adds socket to the set of sockets that we try to accept new clients from. More...
|
|
bool | add_socket (const Glib::RefPtr< Socket >& socket) |
| Adds socket to the set of sockets that we try to accept new clients from. More...
|
|
bool | add_address (const Glib::RefPtr< SocketAddress >& address, Socket::Type type, Socket::Protocol protocol, const Glib::RefPtr< Glib::Object >& source_object, Glib::RefPtr< SocketAddress >& effective_address) |
| Creates a socket of type type and protocol protocol, binds it to address and adds it to the set of sockets we're accepting sockets from. More...
|
|
bool | add_address (const Glib::RefPtr< SocketAddress >& address, Socket::Type type, Socket::Protocol protocol, Glib::RefPtr< SocketAddress >& effective_address) |
| Creates a socket of type type and protocol protocol, binds it to address and adds it to the set of sockets we're accepting sockets from. More...
|
|
bool | add_inet_port (guint16 port, const Glib::RefPtr< Glib::Object >& source_object) |
| Helper function for g_socket_listener_add_address() that creates a TCP/IP socket listening on IPv4 and IPv6 (if supported) on the specified port on all interfaces. More...
|
|
bool | add_inet_port (guint16 port) |
| Helper function for g_socket_listener_add_address() that creates a TCP/IP socket listening on IPv4 and IPv6 (if supported) on the specified port on all interfaces. More...
|
|
guint16 | add_any_inet_port (const Glib::RefPtr< Glib::Object >& source_object) |
| Listens for TCP connections on any available port number for both IPv6 and IPv4 (if each is available). More...
|
|
guint16 | add_any_inet_port () |
| Listens for TCP connections on any available port number for both IPv6 and IPv4 (if each is available). More...
|
|
Glib::RefPtr< Socket > | accept_socket (Glib::RefPtr< Glib::Object >& source_object, const Glib::RefPtr< Cancellable >& cancellable) |
| Blocks waiting for a client to connect to any of the sockets added to the listener. More...
|
|
Glib::RefPtr< Socket > | accept_socket (Glib::RefPtr< Glib::Object >& source_object) |
| Blocks waiting for a client to connect to any of the sockets added to the listener. More...
|
|
Glib::RefPtr< Socket > | accept_socket (const Glib::RefPtr< Cancellable >& cancellable) |
| Blocks waiting for a client to connect to any of the sockets added to the listener. More...
|
|
Glib::RefPtr< Socket > | accept_socket () |
| Blocks waiting for a client to connect to any of the sockets added to the listener. More...
|
|
void | accept_socket_async (const Glib::RefPtr< Cancellable >& cancellable, const SlotAsyncReady& slot) |
| This is the asynchronous version of g_socket_listener_accept_socket(). More...
|
|
void | accept_socket_async (const SlotAsyncReady& slot) |
| This is the asynchronous version of g_socket_listener_accept_socket(). More...
|
|
Glib::RefPtr< Socket > | accept_socket_finish (const Glib::RefPtr< AsyncResult >& result, Glib::RefPtr< Glib::Object >& source_object) |
| Finishes an async accept operation. More...
|
|
Glib::RefPtr< Socket > | accept_socket_finish (const Glib::RefPtr< AsyncResult >& result) |
| Finishes an async accept operation. More...
|
|
Glib::RefPtr< SocketConnection > | accept (Glib::RefPtr< Object >& source_object, const Glib::RefPtr< Cancellable >& cancellable) |
| Blocks waiting for a client to connect to any of the sockets added to the listener. More...
|
|
Glib::RefPtr< SocketConnection > | accept (Glib::RefPtr< Object >& source_object) |
| Blocks waiting for a client to connect to any of the sockets added to the listener. More...
|
|
Glib::RefPtr< SocketConnection > | accept (const Glib::RefPtr< Cancellable >& cancellable) |
| Blocks waiting for a client to connect to any of the sockets added to the listener. More...
|
|
Glib::RefPtr< SocketConnection > | accept () |
| Blocks waiting for a client to connect to any of the sockets added to the listener. More...
|
|
void | accept_async (const SlotAsyncReady& slot) |
| This is the asynchronous version of g_socket_listener_accept(). More...
|
|
void | accept_async (const Glib::RefPtr< Cancellable >& cancellable, const SlotAsyncReady& slot) |
| This is the asynchronous version of g_socket_listener_accept(). More...
|
|
Glib::RefPtr< SocketConnection > | accept_finish (const Glib::RefPtr< AsyncResult >& result, Glib::RefPtr< Glib::Object >& source_object) |
| Finishes an async accept operation. More...
|
|
Glib::RefPtr< SocketConnection > | accept_finish (const Glib::RefPtr< AsyncResult >& result) |
| Finishes an async accept operation. More...
|
|
void | close () |
| Closes all the sockets in the listener. More...
|
|
Glib::PropertyProxy< int > | property_listen_backlog () |
| outstanding connections in the listen queue. More...
|
|
Glib::PropertyProxy_ReadOnly< int > | property_listen_backlog () const |
| outstanding connections in the listen queue. More...
|
|
| Object (const Object&)=delete |
|
Object& | operator= (const Object&)=delete |
|
| Object (Object&& src) noexcept |
|
Object& | operator= (Object&& src) noexcept |
|
void* | get_data (const QueryQuark& key) |
|
void | set_data (const Quark& key, void* data) |
|
void | set_data (const Quark& key, void* data, DestroyNotify notify) |
|
void | remove_data (const QueryQuark& quark) |
|
void* | steal_data (const QueryQuark& quark) |
|
| ObjectBase (const ObjectBase&)=delete |
|
ObjectBase& | operator= (const ObjectBase&)=delete |
|
void | set_property_value (const Glib::ustring& property_name, const Glib::ValueBase& value) |
| You probably want to use a specific property_*() accessor method instead. More...
|
|
void | get_property_value (const Glib::ustring& property_name, Glib::ValueBase& value) const |
| You probably want to use a specific property_*() accessor method instead. More...
|
|
template<class PropertyType > |
void | set_property (const Glib::ustring& property_name, const PropertyType& value) |
| You probably want to use a specific property_*() accessor method instead. More...
|
|
template<class PropertyType > |
void | get_property (const Glib::ustring& property_name, PropertyType& value) const |
| You probably want to use a specific property_*() accessor method instead. More...
|
|
template<class PropertyType > |
PropertyType | get_property (const Glib::ustring& property_name) const |
| You probably want to use a specific property_*() accessor method instead. More...
|
|
sigc::connection | connect_property_changed (const Glib::ustring& property_name, const sigc::slot< void()>& slot) |
| You can use the signal_changed() signal of the property proxy instead. More...
|
|
sigc::connection | connect_property_changed (const Glib::ustring& property_name, sigc::slot< void()>&& slot) |
| You can use the signal_changed() signal of the property proxy instead. More...
|
|
void | freeze_notify () |
| Increases the freeze count on object. More...
|
|
void | thaw_notify () |
| Reverts the effect of a previous call to freeze_notify(). More...
|
|
virtual void | reference () const |
| Increment the reference count for this object. More...
|
|
virtual void | unreference () const |
| Decrement the reference count for this object. More...
|
|
GObject* | gobj () |
| Provides access to the underlying C GObject. More...
|
|
const GObject* | gobj () const |
| Provides access to the underlying C GObject. More...
|
|
GObject* | gobj_copy () const |
| Give a ref-ed copy to someone. Use for direct struct access. More...
|
|
| trackable () noexcept |
|
| trackable (const trackable &src) noexcept |
|
| trackable (trackable &&src) noexcept |
|
| ~trackable () |
|
void | add_destroy_notify_callback (notifiable *data, func_destroy_notify func) const |
|
void | notify_callbacks () |
|
trackable & | operator= (const trackable &src) |
|
trackable & | operator= (trackable &&src) noexcept |
|
void | remove_destroy_notify_callback (notifiable *data) const |
|