Class: DeepConnect::Event::InitSessionEvent

Inherits:
Event show all
Defined in:
lib/deep-connect/event.rb

Overview

session 初期化

Instance Attribute Summary collapse

Attributes inherited from Event

#receiver, #seq, #session

Class Method Summary collapse

Instance Method Summary collapse

Methods inherited from Event

#inspect

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_idObject (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

#serializeObject



529
530
531
# File 'lib/deep-connect/event.rb', line 529

def serialize
	[self.class, @local_id]
end