Class: Jabber::Bytestreams::SOCKS5BytestreamsServerStreamHost
- Inherits:
-
StreamHost
- Object
- REXML::Element
- XMPPElement
- StreamHost
- Jabber::Bytestreams::SOCKS5BytestreamsServerStreamHost
- Defined in:
- lib/vendor/xmpp4r/lib/xmpp4r/bytestreams/helper/socks5bytestreams/server.rb
Overview
A subclass of StreamHost which possesses a server attribute, to let SOCKS5BytestreamsInitiator know this is the local SOCKS5BytestreamsServer
Instance Attribute Summary collapse
-
#server ⇒ Object
readonly
Returns the value of attribute server.
Instance Method Summary collapse
-
#initialize(server, jid = nil, host = nil, port = nil) ⇒ SOCKS5BytestreamsServerStreamHost
constructor
A new instance of SOCKS5BytestreamsServerStreamHost.
Methods inherited from StreamHost
#host, #host=, #jid, #jid=, #port, #port=, #zeroconf, #zeroconf=
Methods inherited from XMPPElement
class_for_name_xmlns, #clone, force_xmlns, force_xmlns?, import, name_xmlns, name_xmlns_for_class, #parent=, #set_xml_lang, #typed_add, #xml_lang, #xml_lang=
Methods inherited from REXML::Element
#==, #delete_elements, #first_element, #first_element_text, #import, import, #replace_element_text, #typed_add
Constructor Details
#initialize(server, jid = nil, host = nil, port = nil) ⇒ SOCKS5BytestreamsServerStreamHost
Returns a new instance of SOCKS5BytestreamsServerStreamHost.
131 132 133 134 |
# File 'lib/vendor/xmpp4r/lib/xmpp4r/bytestreams/helper/socks5bytestreams/server.rb', line 131 def initialize(server, jid=nil, host=nil, port=nil) super(jid, host, port) @server = server end |
Instance Attribute Details
#server ⇒ Object (readonly)
Returns the value of attribute server.
130 131 132 |
# File 'lib/vendor/xmpp4r/lib/xmpp4r/bytestreams/helper/socks5bytestreams/server.rb', line 130 def server @server end |