Class: Gio::ThreadedSocketService
- Inherits:
-
SocketService
- Object
- SocketListener
- SocketService
- Gio::ThreadedSocketService
- Defined in:
- (unknown)
Instance Method Summary collapse
-
#initialize(max_threads) ⇒ Gio::SocketService
constructor
Creates a new GThreaded::SocketService with no listeners.
-
#max_threads ⇒ Integer
The maximum number of threads handling clients for this service.
-
#max_threads=(max_threads) ⇒ Integer
The maximum number of threads handling clients for this service.
Methods inherited from SocketService
#active=, #active?, #is_active, #start, #stop
Methods inherited from SocketListener
#accept, #accept_async, #accept_finish, #accept_socket, #accept_socket_async, #accept_socket_finish, #add_address, #add_any_inet_port, #add_inet_port, #add_socket, #backlog=, #close, #listen_backlog, #listen_backlog=
Constructor Details
#initialize(max_threads) ⇒ Gio::SocketService
Creates a new GThreaded::SocketService with no listeners. Listeners must be added with one of the GSocket::Listener "add" methods.
Instance Method Details
#max_threads ⇒ Integer
The maximum number of threads handling clients for this service.
#max_threads=(max_threads) ⇒ Integer
The maximum number of threads handling clients for this service.