| Class | Jabber::Bytestreams::StreamHost |
| In: |
lib/xmpp4r/bytestreams/iq/bytestreams.rb
|
| Parent: | REXML::Element |
<streamhost/> element, normally appear as children of IqQueryBytestreams
Initialize a <streamhost/> element
| jid: | [JID] |
| host: | [String] Hostname or IP address |
| port: | [Fixnum] Port number |
# File lib/xmpp4r/bytestreams/iq/bytestreams.rb, line 101
101: def initialize(jid=nil, host=nil, port=nil)
102: super('streamhost')
103: self.jid = jid
104: self.host = host
105: self.port = port
106: end