Class: Jabber::Bytestreams::StreamHostUsed

Class | Jabber::Bytestreams::StreamHostUsed
In: | lib/xmpp4r/bytestreams/iq/bytestreams.rb
Parent: | XMPPElement

<streamhost-used/> element, normally appears as child of IqQueryBytestreams

### Methods

jid jid= new

### Public Class methods

new(jid=nil)

[Source]

         # File lib/xmpp4r/bytestreams/iq/bytestreams.rb, line 156
    156:       def initialize(jid=nil)
    157:         super()
    158:         self.jid = jid
    159:       end

### Public Instance methods

jid()

[Source]

         # File lib/xmpp4r/bytestreams/iq/bytestreams.rb, line 161
    161:       def jid
    162:         (a = attributes['jid']) ? JID.new(a) : nil
    163:       end

jid=(j)

[Source]

         # File lib/xmpp4r/bytestreams/iq/bytestreams.rb, line 165
    165:       def jid=(j)
    166:         attributes['jid'] = (j ? j.to_s : nil)
    167:       end

[Validate]