class Evostream::Commands::GetStreamInfo

Returns a detailed set of information about a stream.

Constants

MANDATORY

Public Class Methods

new(commands = {}) click to toggle source
Calls superclass method Evostream::Commands::Command::new
# File lib/evostream/event/commands/get_stream_info.rb, line 9
def initialize(commands = {})
  super(commands)
end

Public Instance Methods

cmd() click to toggle source
Calls superclass method Evostream::Commands::Command#cmd
# File lib/evostream/event/commands/get_stream_info.rb, line 13
def cmd
  super
  "getStreamInfo?params=#{encode64}"
end

Private Instance Methods

id(param = 'null') click to toggle source

The uniqueId of the stream. Usually a value returned by listStreamsIDs. This parameter is not mandatory but either this or the localStreamName should be present to identify the particular stream

# File lib/evostream/event/commands/get_stream_info.rb, line 23
def id(param = 'null')
  "id=#{param}"
end
local_stream_name(param = '') click to toggle source

The name of the stream. This parameter is not mandatory but either this or the id should be present to identify the particular stream

# File lib/evostream/event/commands/get_stream_info.rb, line 29
def local_stream_name(param = '')
  "localStreamName=#{param}"
end