This class provides selector facilities hidding the selection by using a thread and a pollable event.
Defined in: SelectorThread.js.
| Constructor Attributes | Constructor Name and Description |
|---|---|
|
Creates a selector thread.
|
| Method Attributes | Method Name and Description |
|---|---|
|
Returns the selector.
|
|
|
register(socket, handle, mode)
Registers a socket in this selector thread.
|
|
|
start()
Starts this selector thread.
|
|
|
stop()
Stops this selector thread.
|
|
|
unregister(key)
Removes a socket from this selector thread.
|