Class: Msf::Ui::Web::Comm::Channel

Inherits:
Object
  • Object
show all
Defined in:
lib/msf/ui/web/comm.rb

Direct Known Subclasses

SessionChannel

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize ⇒ Channel

Returns a new instance of Channel.



9
10
11
# File 'lib/msf/ui/web/comm.rb', line 9

def initialize
  @id = Comm.next_channel_id
end

Instance Attribute Details

#id ⇒ Object

Returns the value of attribute id.



17
18
19
# File 'lib/msf/ui/web/comm.rb', line 17

def id
  @id
end

Instance Method Details

#read ⇒ Object



13
14
15
# File 'lib/msf/ui/web/comm.rb', line 13

def read
  nil
end