Class: ModSpox::Messages::Internal::Connected
- Inherits:
-
Object
- Object
- ModSpox::Messages::Internal::Connected
- Defined in:
- lib/mod_spox/messages/internal/Connected.rb
Instance Attribute Summary collapse
-
#port ⇒ Object
readonly
port connected to.
-
#server ⇒ Object
readonly
server connected to.
Instance Method Summary collapse
-
#initialize(server, port) ⇒ Connected
constructor
- server
- Server bot is connected to port
-
Port bot connected to Used as notification that the bot has connected to the given server.
Constructor Details
#initialize(server, port) ⇒ Connected
- server
-
Server bot is connected to
- port
-
Port bot connected to
Used as notification that the bot has connected to the given server
13 14 15 16 |
# File 'lib/mod_spox/messages/internal/Connected.rb', line 13 def initialize(server, port) @server = server @port = port end |
Instance Attribute Details
#port ⇒ Object (readonly)
port connected to
8 9 10 |
# File 'lib/mod_spox/messages/internal/Connected.rb', line 8 def port @port end |
#server ⇒ Object (readonly)
server connected to
6 7 8 |
# File 'lib/mod_spox/messages/internal/Connected.rb', line 6 def server @server end |