Class: DeepConnect::Event::InitSessionEvent
- Defined in:
- lib/deep-connect/event.rb
Overview
session 初期化
Instance Attribute Summary collapse
-
#local_id ⇒ Object
readonly
Returns the value of attribute local_id.
Attributes inherited from Event
Class Method Summary collapse
Instance Method Summary collapse
-
#initialize(local_id) ⇒ InitSessionEvent
constructor
A new instance of InitSessionEvent.
- #serialize ⇒ Object
Methods inherited from Event
Constructor Details
#initialize(local_id) ⇒ InitSessionEvent
Returns a new instance of InitSessionEvent.
523 524 525 |
# File 'lib/deep-connect/event.rb', line 523 def initialize(local_id) @local_id=local_id end |
Instance Attribute Details
#local_id ⇒ Object (readonly)
Returns the value of attribute local_id.
527 528 529 |
# File 'lib/deep-connect/event.rb', line 527 def local_id @local_id end |
Class Method Details
.materialize_sub(session, type, klass, local_id) ⇒ Object
519 520 521 |
# File 'lib/deep-connect/event.rb', line 519 def self.materialize_sub(session, type, klass, local_id) new(local_id) end |
Instance Method Details
#serialize ⇒ Object
529 530 531 |
# File 'lib/deep-connect/event.rb', line 529 def serialize [self.class, @local_id] end |