Class: ModSpox::Messages::Internal::DCCRequest

Inherits:
Object
  • Object
show all
Defined in:
lib/mod_spox/messages/internal/DCCRequest.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(id) ⇒ DCCRequest

Returns a new instance of DCCRequest.



6
7
8
# File 'lib/mod_spox/messages/internal/DCCRequest.rb', line 6

def initialize(id)
    @socket_id = id
end

Instance Attribute Details

#socket_idObject (readonly)

Returns the value of attribute socket_id.



5
6
7
# File 'lib/mod_spox/messages/internal/DCCRequest.rb', line 5

def socket_id
  @socket_id
end