#include <echo.h>
Public Member Functions | |
| EchoTest () | |
| ~EchoTest () | |
| std::vector< boost::shared_ptr < cygnal::Element > > | parseEchoRequest (cygnal::Buffer &buf) |
| std::vector< boost::shared_ptr < cygnal::Element > > | parseEchoRequest (boost::uint8_t *buf, size_t size) |
| boost::shared_ptr< cygnal::Buffer > | formatEchoResponse (double num, cygnal::Element &el) |
| boost::shared_ptr< cygnal::Buffer > | formatEchoResponse (double num, cygnal::Buffer &data) |
| boost::shared_ptr< cygnal::Buffer > | formatEchoResponse (double num, boost::uint8_t *data, size_t size) |
| boost::shared_ptr< cygnal::Buffer > | getResponse () |
| void | setResponse (boost::shared_ptr< cygnal::Buffer > &x) |
| void | setNetConnection (gnash::RTMPMsg *msg) |
| void | setNetConnection (boost::shared_ptr< gnash::RTMPMsg > msg) |
| boost::shared_ptr< gnash::RTMPMsg > | getNetConnection () |
| EchoTest::EchoTest | ( | ) |
| EchoTest::~EchoTest | ( | ) |
| boost::shared_ptr< cygnal::Buffer > EchoTest::formatEchoResponse | ( | double | num, | |
| cygnal::Element & | el | |||
| ) |
Reimplemented from cygnal::RTMPServer.
References data, cygnal::Element::dump(), cygnal::AMF::encodeElement(), and cygnal::Element::getName().
Referenced by cygnal::echo_write_func(), formatEchoResponse(), and main().
| boost::shared_ptr< cygnal::Buffer > EchoTest::formatEchoResponse | ( | double | num, | |
| cygnal::Buffer & | data | |||
| ) |
Reimplemented from cygnal::RTMPServer.
References cygnal::Buffer::allocated(), formatEchoResponse(), and cygnal::Buffer::reference().
| boost::shared_ptr< cygnal::Buffer > EchoTest::formatEchoResponse | ( | double | num, | |
| boost::uint8_t * | data, | |||
| size_t | size | |||
| ) |
Reimplemented from cygnal::RTMPServer.
References cygnal::Element::encode(), cygnal::Element::makeNull(), cygnal::Element::makeNumber(), and cygnal::Element::makeString().
| boost::shared_ptr<gnash::RTMPMsg> cygnal::EchoTest::getNetConnection | ( | ) | [inline] |
Reimplemented from cygnal::RTMPServer.
| boost::shared_ptr<cygnal::Buffer> cygnal::EchoTest::getResponse | ( | ) | [inline] |
Referenced by cygnal::echo_read_func(), and cygnal::echo_write_func().
| vector< boost::shared_ptr< cygnal::Element > > EchoTest::parseEchoRequest | ( | boost::uint8_t * | buf, | |
| size_t | size | |||
| ) |
Reimplemented from cygnal::RTMPServer.
References cygnal::AMF::extractAMF(), and cygnal::AMF::totalsize().
| std::vector<boost::shared_ptr<cygnal::Element > > cygnal::EchoTest::parseEchoRequest | ( | cygnal::Buffer & | buf | ) | [inline] |
Reimplemented from cygnal::RTMPServer.
References parseEchoRequest(), cygnal::Buffer::reference(), and cygnal::Buffer::size().
Referenced by cygnal::echo_write_func(), main(), and parseEchoRequest().
| void cygnal::EchoTest::setNetConnection | ( | gnash::RTMPMsg * | msg | ) | [inline] |
Reimplemented from cygnal::RTMPServer.
Referenced by echo_init_func().
| void cygnal::EchoTest::setNetConnection | ( | boost::shared_ptr< gnash::RTMPMsg > | msg | ) | [inline] |
Reimplemented from cygnal::RTMPServer.
| void cygnal::EchoTest::setResponse | ( | boost::shared_ptr< cygnal::Buffer > & | x | ) | [inline] |
Referenced by cygnal::echo_write_func().
1.7.1