Class: Mfp::ErrorEvent

Inherits:
Data
  • Object
show all
Defined in:
lib/mfp/event.rb

Overview

ErrorEvent is delivered when a stream-level ERROR frame is received. Connection-level errors are handled internally by MFP and never forwarded. Terminal indicates whether the stream has been terminated by this error.

Instance Attribute Summary collapse

Instance Attribute Details

#codeObject (readonly)

Returns the value of attribute code

Returns:

  • (Object)

    the current value of code



17
18
19
# File 'lib/mfp/event.rb', line 17

def code
  @code
end

#debugObject (readonly)

Returns the value of attribute debug

Returns:

  • (Object)

    the current value of debug



17
18
19
# File 'lib/mfp/event.rb', line 17

def debug
  @debug
end

#stream_idObject (readonly)

Returns the value of attribute stream_id

Returns:

  • (Object)

    the current value of stream_id



17
18
19
# File 'lib/mfp/event.rb', line 17

def stream_id
  @stream_id
end

#terminalObject (readonly)

Returns the value of attribute terminal

Returns:

  • (Object)

    the current value of terminal



17
18
19
# File 'lib/mfp/event.rb', line 17

def terminal
  @terminal
end