Module: ASS::CallbackFactory::ServiceMethods

Defined in:
lib/ass/callback_factory.rb

Instance Method Summary collapse

Instance Method Details

#call(name, method, data = nil, opts = {}, meta = nil) ⇒ Object



36
37
38
# File 'lib/ass/callback_factory.rb', line 36

def call(name,method,data=nil,opts={},meta=nil)
  @__service__.call(name,method,data,opts,meta)
end

#cast(name, method, data = nil, opts = {}, meta = nil) ⇒ Object



40
41
42
# File 'lib/ass/callback_factory.rb', line 40

def cast(name,method,data=nil,opts={},meta=nil)
  @__service__.cast(name,method,data,opts,meta)
end

#dataObject



24
25
26
# File 'lib/ass/callback_factory.rb', line 24

def data
  @__data__
end

#discardObject



8
9
10
# File 'lib/ass/callback_factory.rb', line 8

def discard
  throw(:__ass_discard)
end

#headerObject



12
13
14
# File 'lib/ass/callback_factory.rb', line 12

def header
  @__header__
end

#metaObject



28
29
30
# File 'lib/ass/callback_factory.rb', line 28

def meta
  @__meta__
end

#methodObject



20
21
22
# File 'lib/ass/callback_factory.rb', line 20

def method
  @__method__
end

#payloadObject



16
17
18
# File 'lib/ass/callback_factory.rb', line 16

def payload
  @__payload__
end

#resendObject



4
5
6
# File 'lib/ass/callback_factory.rb', line 4

def resend
  throw(:__ass_resend)
end

#versionObject



32
33
34
# File 'lib/ass/callback_factory.rb', line 32

def version
  @__version__
end