Public Types | Public Member Functions | Protected Attributes

gnash::RTMPMsg Class Reference

#include <rtmp_msg.h>

List of all members.

Public Types

enum  rtmp_status_e {
  APP_GC, APP_RESOURCE_LOWMEMORY, APP_SCRIPT_ERROR, APP_SCRIPT_WARNING,
  APP_SHUTDOWN, NC_CALL_BADVERSION, NC_CALL_FAILED, NC_CONNECT_APPSHUTDOWN,
  NC_CONNECT_CLOSED, NC_CONNECT_FAILED, NC_CONNECT_INVALID_APPLICATION, NC_CONNECT_REJECTED,
  NC_CONNECT_SUCCESS, NS_CLEAR_FAILED, NS_CLEAR_SUCCESS, NS_DATA_START,
  NS_FAILED, NS_INVALID_ARGUMENT, NS_PAUSE_NOTIFY, NS_PLAY_COMPLETE,
  NS_PLAY_FAILED, NS_PLAY_FILE_STRUCTURE_INVALID, NS_PLAY_INSUFFICIENT_BW, NS_PLAY_NO_SUPPORTED_TRACK_FOUND,
  NS_PLAY_PUBLISHNOTIFY, NS_PLAY_RESET, NS_PLAY_START, NS_PLAY_STOP,
  NS_PLAY_STREAMNOTFOUND, NS_PLAY_SWITCH, NS_PLAY_UNPUBLISHNOTIFY, NS_PUBLISH_BADNAME,
  NS_PUBLISH_START, NS_RECORD_FAILED, NS_RECORD_NOACCESS, NS_RECORD_START,
  NS_RECORD_STOP, NS_SEEK_FAILED, NS_SEEK_NOTIFY, NS_UNPAUSE_NOTIFY,
  NS_UNPUBLISHED_SUCCESS, SO_CREATION_FAILED, SO_NO_READ_ACCESS, SO_NO_WRITE_ACCESS,
  SO_PERSISTENCE_MISMATCH, NS_CREATE_STREAM, NS_DELETE_STREAM
}
enum  rtmp_source_e { FROM_CLIENT, FROM_SERVER }

Public Member Functions

 RTMPMsg ()
 ~RTMPMsg ()
void addObject (boost::shared_ptr< cygnal::Element > el)
size_t size ()
std::vector< boost::shared_ptr
< cygnal::Element > > 
getElements ()
void setMethodName (const std::string &name)
std::string & getMethodName ()
void setTransactionID (double num)
double getTransactionID ()
rtmp_status_e checkStatus (boost::shared_ptr< cygnal::Element > el)
void setStatus (rtmp_status_e st)
rtmp_status_e getStatus ()
void setChannel (boost::uint8_t num)
boost::uint8_t getChannel ()
boost::shared_ptr
< cygnal::Element
operator[] (size_t x)
boost::shared_ptr
< cygnal::Element
at (size_t x)
DSOEXPORT boost::shared_ptr
< cygnal::Element
findProperty (const std::string &name)
 Find the named property for this Object.
DSOEXPORT void dump ()

Protected Attributes

rtmp_source_e _routing
rtmp_status_e _status
std::string _method
double _transid
std::vector< boost::shared_ptr
< cygnal::Element > > 
_amfobjs
boost::uint8_t _channel

Member Enumeration Documentation

Enumerator:
FROM_CLIENT 
FROM_SERVER 
Enumerator:
APP_GC 
APP_RESOURCE_LOWMEMORY 
APP_SCRIPT_ERROR 
APP_SCRIPT_WARNING 
APP_SHUTDOWN 
NC_CALL_BADVERSION 
NC_CALL_FAILED 
NC_CONNECT_APPSHUTDOWN 
NC_CONNECT_CLOSED 
NC_CONNECT_FAILED 
NC_CONNECT_INVALID_APPLICATION 
NC_CONNECT_REJECTED 
NC_CONNECT_SUCCESS 
NS_CLEAR_FAILED 
NS_CLEAR_SUCCESS 
NS_DATA_START 
NS_FAILED 
NS_INVALID_ARGUMENT 
NS_PAUSE_NOTIFY 
NS_PLAY_COMPLETE 
NS_PLAY_FAILED 
NS_PLAY_FILE_STRUCTURE_INVALID 
NS_PLAY_INSUFFICIENT_BW 
NS_PLAY_NO_SUPPORTED_TRACK_FOUND 
NS_PLAY_PUBLISHNOTIFY 
NS_PLAY_RESET 
NS_PLAY_START 
NS_PLAY_STOP 
NS_PLAY_STREAMNOTFOUND 
NS_PLAY_SWITCH 
NS_PLAY_UNPUBLISHNOTIFY 
NS_PUBLISH_BADNAME 
NS_PUBLISH_START 
NS_RECORD_FAILED 
NS_RECORD_NOACCESS 
NS_RECORD_START 
NS_RECORD_STOP 
NS_SEEK_FAILED 
NS_SEEK_NOTIFY 
NS_UNPAUSE_NOTIFY 
NS_UNPUBLISHED_SUCCESS 
SO_CREATION_FAILED 
SO_NO_READ_ACCESS 
SO_NO_WRITE_ACCESS 
SO_PERSISTENCE_MISMATCH 
NS_CREATE_STREAM 
NS_DELETE_STREAM 

Constructor & Destructor Documentation

gnash::RTMPMsg::RTMPMsg (  ) 
gnash::RTMPMsg::~RTMPMsg (  ) 

Member Function Documentation

void gnash::RTMPMsg::addObject ( boost::shared_ptr< cygnal::Element el  )  [inline]

References _amfobjs.

boost::shared_ptr<cygnal::Element> gnash::RTMPMsg::at ( size_t  x  )  [inline]

References _amfobjs.

rtmp_status_e gnash::RTMPMsg::checkStatus ( boost::shared_ptr< cygnal::Element el  ) 
void gnash::RTMPMsg::dump (  ) 

References _amfobjs, _method, and _transid.

boost::shared_ptr< cygnal::Element > gnash::RTMPMsg::findProperty ( const std::string &  name  ) 

Find the named property for this Object.

Parameters:
name An ASCII string that is the name of the property to search for.
Returns:
A smart pointer to the Element for this property.

References _amfobjs.

boost::uint8_t gnash::RTMPMsg::getChannel (  )  [inline]

References _channel.

std::vector<boost::shared_ptr<cygnal::Element> > gnash::RTMPMsg::getElements (  )  [inline]

References _amfobjs.

std::string& gnash::RTMPMsg::getMethodName (  )  [inline]

References _method.

rtmp_status_e gnash::RTMPMsg::getStatus (  )  [inline]

References _status.

double gnash::RTMPMsg::getTransactionID (  )  [inline]

References _transid.

boost::shared_ptr< cygnal::Element > gnash::RTMPMsg::operator[] ( size_t  x  ) 

References _amfobjs.

void gnash::RTMPMsg::setChannel ( boost::uint8_t  num  )  [inline]

References _channel.

void gnash::RTMPMsg::setMethodName ( const std::string &  name  )  [inline]

References _method.

void gnash::RTMPMsg::setStatus ( rtmp_status_e  st  )  [inline]

References _status.

void gnash::RTMPMsg::setTransactionID ( double  num  )  [inline]

References _transid.

size_t gnash::RTMPMsg::size (  )  [inline]

References _amfobjs.


Member Data Documentation

std::vector<boost::shared_ptr<cygnal::Element> > gnash::RTMPMsg::_amfobjs [protected]
boost::uint8_t gnash::RTMPMsg::_channel [protected]

Referenced by getChannel(), and setChannel().

std::string gnash::RTMPMsg::_method [protected]

Referenced by dump(), getMethodName(), and setMethodName().

Referenced by getStatus(), and setStatus().

double gnash::RTMPMsg::_transid [protected]

The documentation for this class was generated from the following files: