mirror of
https://github.com/ossrs/srs.git
synced 2025-02-15 04:42:04 +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.
|
||||
*/
|
||||
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.
|
||||
friend class SrsPublishRecvThread;
|
||||
|
|
|
@ -81,7 +81,7 @@ public:
|
|||
/**
|
||||
* 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:
|
||||
ISrsProtocolReader();
|
||||
|
@ -109,7 +109,7 @@ public:
|
|||
/**
|
||||
* 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:
|
||||
ISrsProtocolWriter();
|
||||
|
@ -130,7 +130,7 @@ public:
|
|||
/**
|
||||
* the reader and writer.
|
||||
*/
|
||||
class ISrsProtocolReaderWriter : public virtual ISrsProtocolReader, public virtual ISrsProtocolWriter
|
||||
class ISrsProtocolReaderWriter : virtual public ISrsProtocolReader, virtual public ISrsProtocolWriter
|
||||
{
|
||||
public:
|
||||
ISrsProtocolReaderWriter();
|
||||
|
|
|
@ -157,12 +157,12 @@ public:
|
|||
* SrsKbps* kbps = ...;
|
||||
* kbps->set_io(in, out);
|
||||
* // 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 = ...;
|
||||
* user->set_io(kbps, kbps);
|
||||
* 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:
|
||||
SrsKbpsSlice is;
|
||||
|
|
Loading…
Reference in a new issue