Class: Winloop::Scheduler::PollEntry

Inherits:
Struct
  • Object
show all
Defined in:
lib/winloop/scheduler.rb

Overview

The single outstanding AFD poll for one socket, shared by its io waiters.

Instance Attribute Summary collapse

Instance Attribute Details

#armedObject

Returns the value of attribute armed

Returns:

  • (Object)

    the current value of armed



36
37
38
# File 'lib/winloop/scheduler.rb', line 36

def armed
  @armed
end

#idObject

Returns the value of attribute id

Returns:

  • (Object)

    the current value of id



36
37
38
# File 'lib/winloop/scheduler.rb', line 36

def id
  @id
end

#ioObject

Returns the value of attribute io

Returns:

  • (Object)

    the current value of io



36
37
38
# File 'lib/winloop/scheduler.rb', line 36

def io
  @io
end

#keyObject

Returns the value of attribute key

Returns:

  • (Object)

    the current value of key



36
37
38
# File 'lib/winloop/scheduler.rb', line 36

def key
  @key
end

#waitersObject

Returns the value of attribute waiters

Returns:

  • (Object)

    the current value of waiters



36
37
38
# File 'lib/winloop/scheduler.rb', line 36

def waiters
  @waiters
end