mirror of
https://github.com/ossrs/srs.git
synced 2025-03-09 15:49:59 +00:00
Change public virtual to virtual public
This commit is contained in:
parent
5d959661e7
commit
6e75993e7f
3 changed files with 6 additions and 6 deletions
|
@ -92,7 +92,7 @@ public:
|
||||||
/**
|
/**
|
||||||
* the client provides the main logic control for RTMP clients.
|
* the client provides the main logic control for RTMP clients.
|
||||||
*/
|
*/
|
||||||
class SrsRtmpConn : public virtual SrsConnection, public virtual ISrsReloadHandler
|
class SrsRtmpConn : virtual public SrsConnection, virtual public ISrsReloadHandler
|
||||||
{
|
{
|
||||||
// for the thread to directly access any field of connection.
|
// for the thread to directly access any field of connection.
|
||||||
friend class SrsPublishRecvThread;
|
friend class SrsPublishRecvThread;
|
||||||
|
|
|
@ -81,7 +81,7 @@ public:
|
||||||
/**
|
/**
|
||||||
* the reader for the protocol to read from whatever channel.
|
* the reader for the protocol to read from whatever channel.
|
||||||
*/
|
*/
|
||||||
class ISrsProtocolReader : public virtual ISrsReader, public virtual ISrsProtocolStatistic
|
class ISrsProtocolReader : virtual public ISrsReader, virtual public ISrsProtocolStatistic
|
||||||
{
|
{
|
||||||
public:
|
public:
|
||||||
ISrsProtocolReader();
|
ISrsProtocolReader();
|
||||||
|
@ -109,7 +109,7 @@ public:
|
||||||
/**
|
/**
|
||||||
* the writer for the protocol to write to whatever channel.
|
* the writer for the protocol to write to whatever channel.
|
||||||
*/
|
*/
|
||||||
class ISrsProtocolWriter : public virtual ISrsWriter, public virtual ISrsProtocolStatistic
|
class ISrsProtocolWriter : virtual public ISrsWriter, virtual public ISrsProtocolStatistic
|
||||||
{
|
{
|
||||||
public:
|
public:
|
||||||
ISrsProtocolWriter();
|
ISrsProtocolWriter();
|
||||||
|
@ -130,7 +130,7 @@ public:
|
||||||
/**
|
/**
|
||||||
* the reader and writer.
|
* the reader and writer.
|
||||||
*/
|
*/
|
||||||
class ISrsProtocolReaderWriter : public virtual ISrsProtocolReader, public virtual ISrsProtocolWriter
|
class ISrsProtocolReaderWriter : virtual public ISrsProtocolReader, virtual public ISrsProtocolWriter
|
||||||
{
|
{
|
||||||
public:
|
public:
|
||||||
ISrsProtocolReaderWriter();
|
ISrsProtocolReaderWriter();
|
||||||
|
|
|
@ -157,12 +157,12 @@ public:
|
||||||
* SrsKbps* kbps = ...;
|
* SrsKbps* kbps = ...;
|
||||||
* kbps->set_io(in, out);
|
* kbps->set_io(in, out);
|
||||||
* // both kbps->get_recv_bytes() and kbps->get_send_bytes() are available.
|
* // both kbps->get_recv_bytes() and kbps->get_send_bytes() are available.
|
||||||
* // we can use the kbps as the data source of another kbps:
|
* // we can use the kbps as the data source of another kbps:
|
||||||
* SrsKbps* user = ...;
|
* SrsKbps* user = ...;
|
||||||
* user->set_io(kbps, kbps);
|
* user->set_io(kbps, kbps);
|
||||||
* the server never know how many bytes already send/recv, for the connection maybe closed.
|
* the server never know how many bytes already send/recv, for the connection maybe closed.
|
||||||
*/
|
*/
|
||||||
class SrsKbps : public virtual ISrsProtocolStatistic, public virtual IKbpsDelta
|
class SrsKbps : virtual public ISrsProtocolStatistic, virtual public IKbpsDelta
|
||||||
{
|
{
|
||||||
private:
|
private:
|
||||||
SrsKbpsSlice is;
|
SrsKbpsSlice is;
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue