Class: STAN::Msg

Inherits:
Struct
  • Object
show all
Defined in:
lib/stan/client.rb

Overview

Data holder for sent messages It should have an Ack method as well to reply back?

Instance Attribute Summary collapse

Instance Method Summary collapse

Instance Attribute Details

#protoObject

Returns the value of attribute proto

Returns:

  • (Object)

    the current value of proto



512
513
514
# File 'lib/stan/client.rb', line 512

def proto
  @proto
end

#subObject

Returns the value of attribute sub

Returns:

  • (Object)

    the current value of sub



512
513
514
# File 'lib/stan/client.rb', line 512

def sub
  @sub
end

Instance Method Details

#dataObject



513
514
515
# File 'lib/stan/client.rb', line 513

def data
  self.proto.data
end

#sequenceObject Also known as: seq



516
517
518
# File 'lib/stan/client.rb', line 516

def sequence
  self.proto.sequence
end