Poll
constructor
name
add_
fd
fd_
can_
read
fd_
can_
write
fd_
ctl_
read
fd_
ctl_
write
fd_
has_
closed
fd_
has_
error
fd_
ignored
free
read_
control
remove_
fd
restart
set_
controllable
set_
flushing
wait
write_
control
new
new_
timer
GJS API Reference
Gst-0.10
Gst
Poll
Class Poll
A set of file/network descriptors.
record
Hierarchy
Poll
Index
Constructors
constructor
Properties
name
Methods
add_
fd
fd_
can_
read
fd_
can_
write
fd_
ctl_
read
fd_
ctl_
write
fd_
has_
closed
fd_
has_
error
fd_
ignored
free
read_
control
remove_
fd
restart
set_
controllable
set_
flushing
wait
write_
control
new
new_
timer
Constructors
constructor
new
Poll
(
controllable
:
boolean
)
:
Gst
.
Poll
Parameters
controllable:
boolean
Returns
Gst
.
Poll
Properties
Static
name
name
:
string
Methods
add_
fd
add_
fd
(
fd
:
Gst
.
PollFD
)
:
boolean
Parameters
fd:
Gst
.
PollFD
Returns
boolean
fd_
can_
read
fd_
can_
read
(
fd
:
Gst
.
PollFD
)
:
boolean
Parameters
fd:
Gst
.
PollFD
Returns
boolean
fd_
can_
write
fd_
can_
write
(
fd
:
Gst
.
PollFD
)
:
boolean
Parameters
fd:
Gst
.
PollFD
Returns
boolean
fd_
ctl_
read
fd_
ctl_
read
(
fd
:
Gst
.
PollFD
, active
:
boolean
)
:
boolean
Parameters
fd:
Gst
.
PollFD
active:
boolean
Returns
boolean
fd_
ctl_
write
fd_
ctl_
write
(
fd
:
Gst
.
PollFD
, active
:
boolean
)
:
boolean
Parameters
fd:
Gst
.
PollFD
active:
boolean
Returns
boolean
fd_
has_
closed
fd_
has_
closed
(
fd
:
Gst
.
PollFD
)
:
boolean
Parameters
fd:
Gst
.
PollFD
Returns
boolean
fd_
has_
error
fd_
has_
error
(
fd
:
Gst
.
PollFD
)
:
boolean
Parameters
fd:
Gst
.
PollFD
Returns
boolean
fd_
ignored
fd_
ignored
(
fd
:
Gst
.
PollFD
)
:
void
Parameters
fd:
Gst
.
PollFD
Returns
void
free
free
(
)
:
void
Returns
void
read_
control
read_
control
(
)
:
boolean
Returns
boolean
remove_
fd
remove_
fd
(
fd
:
Gst
.
PollFD
)
:
boolean
Parameters
fd:
Gst
.
PollFD
Returns
boolean
restart
restart
(
)
:
void
Returns
void
set_
controllable
set_
controllable
(
controllable
:
boolean
)
:
boolean
Parameters
controllable:
boolean
Returns
boolean
set_
flushing
set_
flushing
(
flushing
:
boolean
)
:
void
Parameters
flushing:
boolean
Returns
void
wait
wait
(
timeout
:
any
)
:
number
Parameters
timeout:
any
Returns
number
write_
control
write_
control
(
)
:
boolean
Returns
boolean
Static
new
new
(
controllable
:
boolean
)
:
Gst
.
Poll
Parameters
controllable:
boolean
Returns
Gst
.
Poll
Static
new_
timer
new_
timer
(
)
:
Gst
.
Poll
Returns
Gst
.
Poll
Poll
constructor
name
add_
fd
fd_
can_
read
fd_
can_
write
fd_
ctl_
read
fd_
ctl_
write
fd_
has_
closed
fd_
has_
error
fd_
ignored
free
read_
control
remove_
fd
restart
set_
controllable
set_
flushing
wait
write_
control
new
new_
timer
base64:eyJwYWdlTmF2aWdhdGlvbiI6W3siY2xhc3NOYW1lcyI6InRzZC1raW5kLWNvbnN0cnVjdG9yIHRzZC1wYXJlbnQta2luZC1jbGFzcyIsImhyZWYiOiJHc3RfMF8xMC5Hc3QuUG9sbC5odG1sI2NvbnN0cnVjdG9yIiwibmFtZSI6ImNvbnN0cnVjdG9yIiwiY2hpbGRyZW4iOltdLCJpc0V4dGVybiI6ZmFsc2UsImlzSW50ZXJuIjp0cnVlfSx7ImNsYXNzTmFtZXMiOiJ0c2Qta2luZC1wcm9wZXJ0eSB0c2QtcGFyZW50LWtpbmQtY2xhc3MgdHNkLWlzLXN0YXRpYyIsImhyZWYiOiJHc3RfMF8xMC5Hc3QuUG9sbC5odG1sI25hbWUiLCJuYW1lIjoibmFtZSIsImNoaWxkcmVuIjpbXSwiaXNFeHRlcm4iOmZhbHNlLCJpc0ludGVybiI6dHJ1ZX0seyJjbGFzc05hb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