Class: DTAS::Watchable::InotifyReadableIter::InotifyEvent

Inherits:
Struct
  • Object
show all
Defined in:
lib/dtas/watchable/fiddle_ino.rb

Overview

struct inotify_event {

int      wd;       /* Watch descriptor */
uint32_t mask;     /* Mask describing event */
uint32_t cookie;   /* Unique cookie associating related
                      events (for rename(2)) */
uint32_t len;      /* Size of name field */
char     name[];   /* Optional null-terminated name */

Instance Attribute Summary collapse

Instance Attribute Details

Returns the value of attribute cookie

Returns:

  • (Object)

    the current value of cookie



37
38
39
# File 'lib/dtas/watchable/fiddle_ino.rb', line 37

def cookie
  @cookie
end

#lenObject

Returns the value of attribute len

Returns:

  • (Object)

    the current value of len



37
38
39
# File 'lib/dtas/watchable/fiddle_ino.rb', line 37

def len
  @len
end

#maskObject

Returns the value of attribute mask

Returns:

  • (Object)

    the current value of mask



37
38
39
# File 'lib/dtas/watchable/fiddle_ino.rb', line 37

def mask
  @mask
end

#nameObject

Returns the value of attribute name

Returns:

  • (Object)

    the current value of name



37
38
39
# File 'lib/dtas/watchable/fiddle_ino.rb', line 37

def name
  @name
end

#wdObject

Returns the value of attribute wd

Returns:

  • (Object)

    the current value of wd



37
38
39
# File 'lib/dtas/watchable/fiddle_ino.rb', line 37

def wd
  @wd
end