Class: Arcp::Session::Info
- Inherits:
-
Data
- Object
- Data
- Arcp::Session::Info
- Defined in:
- lib/arcp/session.rb
Overview
Immutable snapshot of session state after the welcome envelope.
Instance Attribute Summary collapse
-
#agents ⇒ Object
readonly
Returns the value of attribute agents.
-
#capabilities ⇒ Object
readonly
Returns the value of attribute capabilities.
-
#heartbeat_interval_sec ⇒ Object
readonly
Returns the value of attribute heartbeat_interval_sec.
-
#id ⇒ Object
readonly
Returns the value of attribute id.
-
#resume_token ⇒ Object
readonly
Returns the value of attribute resume_token.
-
#resume_window_sec ⇒ Object
readonly
Returns the value of attribute resume_window_sec.
-
#runtime_version ⇒ Object
readonly
Returns the value of attribute runtime_version.
Instance Method Summary collapse
Instance Attribute Details
#agents ⇒ Object (readonly)
Returns the value of attribute agents
19 20 21 |
# File 'lib/arcp/session.rb', line 19 def agents @agents end |
#capabilities ⇒ Object (readonly)
Returns the value of attribute capabilities
19 20 21 |
# File 'lib/arcp/session.rb', line 19 def capabilities @capabilities end |
#heartbeat_interval_sec ⇒ Object (readonly)
Returns the value of attribute heartbeat_interval_sec
19 20 21 |
# File 'lib/arcp/session.rb', line 19 def heartbeat_interval_sec @heartbeat_interval_sec end |
#id ⇒ Object (readonly)
Returns the value of attribute id
19 20 21 |
# File 'lib/arcp/session.rb', line 19 def id @id end |
#resume_token ⇒ Object (readonly)
Returns the value of attribute resume_token
19 20 21 |
# File 'lib/arcp/session.rb', line 19 def resume_token @resume_token end |
#resume_window_sec ⇒ Object (readonly)
Returns the value of attribute resume_window_sec
19 20 21 |
# File 'lib/arcp/session.rb', line 19 def resume_window_sec @resume_window_sec end |
#runtime_version ⇒ Object (readonly)
Returns the value of attribute runtime_version
19 20 21 |
# File 'lib/arcp/session.rb', line 19 def runtime_version @runtime_version end |
Instance Method Details
#supports?(feature) ⇒ Boolean
23 |
# File 'lib/arcp/session.rb', line 23 def supports?(feature) = capabilities.supports?(feature) |