Classes | Public Types | Public Member Functions

Swift::Bytestreams Class Reference

Inheritance diagram for Swift::Bytestreams:
Collaboration diagram for Swift::Bytestreams:

List of all members.


struct  StreamHost

Public Types

typedef boost::shared_ptr
< Bytestreams

Public Member Functions

 Bytestreams ()
const std::string & getStreamID () const
void setStreamID (const std::string &id)
const boost::optional< JID > & getUsedStreamHost () const
void setUsedStreamHost (const JID &host)
const std::vector< StreamHost > & getStreamHosts () const
void addStreamHost (const StreamHost &streamHost)

Detailed Description

Definition at line 18 of file Bytestreams.h.

Member Typedef Documentation

typedef boost::shared_ptr<Bytestreams> Swift::Bytestreams::ref

Reimplemented from Swift::Payload.

Definition at line 20 of file Bytestreams.h.

Constructor & Destructor Documentation

Swift::Bytestreams::Bytestreams (  )  [inline]

Definition at line 30 of file Bytestreams.h.

Member Function Documentation

void Swift::Bytestreams::addStreamHost ( const StreamHost streamHost  )  [inline]

Definition at line 52 of file Bytestreams.h.

const std::vector<StreamHost>& Swift::Bytestreams::getStreamHosts (  )  const [inline]

Definition at line 48 of file Bytestreams.h.

const std::string& Swift::Bytestreams::getStreamID (  )  const [inline]

Definition at line 32 of file Bytestreams.h.

const boost::optional<JID>& Swift::Bytestreams::getUsedStreamHost (  )  const [inline]

Definition at line 40 of file Bytestreams.h.

void Swift::Bytestreams::setStreamID ( const std::string &  id  )  [inline]

Definition at line 36 of file Bytestreams.h.

void Swift::Bytestreams::setUsedStreamHost ( const JID host  )  [inline]

Definition at line 44 of file Bytestreams.h.