Class: ModSpox::Messages::Internal::EstablishConnection
- Inherits:
-
Object
- Object
- ModSpox::Messages::Internal::EstablishConnection
- Defined in:
- lib/mod_spox/messages/internal/EstablishConnection.rb
Instance Attribute Summary collapse
-
#password ⇒ Object
readonly
password for connection to server.
-
#port ⇒ Object
readonly
port to connect to.
-
#server ⇒ Object
readonly
server to connect to.
Instance Method Summary collapse
-
#initialize(server = nil, port = nil, password = nil) ⇒ EstablishConnection
constructor
- server
- Server to connect to port
- Port to connect to password
-
password to connect.
Constructor Details
#initialize(server = nil, port = nil, password = nil) ⇒ EstablishConnection
- server
-
Server to connect to
- port
-
Port to connect to
- password
-
password to connect
14 15 16 17 18 |
# File 'lib/mod_spox/messages/internal/EstablishConnection.rb', line 14 def initialize(server=nil, port=nil, password=nil) @server = server @port = port @password = password end |
Instance Attribute Details
#password ⇒ Object (readonly)
password for connection to server
10 11 12 |
# File 'lib/mod_spox/messages/internal/EstablishConnection.rb', line 10 def password @password end |
#port ⇒ Object (readonly)
port to connect to
8 9 10 |
# File 'lib/mod_spox/messages/internal/EstablishConnection.rb', line 8 def port @port end |
#server ⇒ Object (readonly)
server to connect to
6 7 8 |
# File 'lib/mod_spox/messages/internal/EstablishConnection.rb', line 6 def server @server end |