Class: Vivarium::Event

Inherits:
Struct
  • Object
show all
Defined in:
sig/vivarium.rbs

Instance Attribute Summary collapse

Class Method Summary collapse

Instance Method Summary collapse

Instance Attribute Details

#event_nameString?

Returns the value of attribute event_name.

Returns:

  • (String, nil)


10
11
12
# File 'sig/vivarium.rbs', line 10

def event_name
  @event_name
end

#ktime_nsInteger?

Returns the value of attribute ktime_ns.

Returns:

  • (Integer, nil)


8
9
10
# File 'sig/vivarium.rbs', line 8

def ktime_ns
  @ktime_ns
end

#payloadString?

Returns the value of attribute payload.

Returns:

  • (String, nil)


11
12
13
# File 'sig/vivarium.rbs', line 11

def payload
  @payload
end

#pidInteger?

Returns the value of attribute pid.

Returns:

  • (Integer, nil)


9
10
11
# File 'sig/vivarium.rbs', line 9

def pid
  @pid
end

Class Method Details

.from_binaryEvent

Parameters:

  • raw (String)

Returns:



15
# File 'sig/vivarium.rbs', line 15

def self.from_binary: (String raw) -> Event

Instance Method Details

#empty?void

This method returns an undefined value.



13
# File 'sig/vivarium.rbs', line 13

def empty?: bool

#severityString

Returns:

  • (String)


14
# File 'sig/vivarium.rbs', line 14

def severity: () -> String