webkit  2cdf99a9e3038c7e01b3c37e8ad903ecbe5eecf1
https://github.com/WebKit/webkit
Public Member Functions | List of all members
webrtc::test::MockUdpSocketWrapper Class Reference
Inheritance diagram for webrtc::test::MockUdpSocketWrapper:
webrtc::test::UdpSocketWrapper

Public Member Functions

 MOCK_METHOD2 (SetCallback, bool(CallbackObj, IncomingSocketCallback))
 
 MOCK_METHOD1 (Bind, bool(const SocketAddress &))
 
 MOCK_METHOD0 (ValidHandle, bool())
 
 MOCK_METHOD4 (SetSockopt, bool(int32_t, int32_t, const int8_t *, int32_t))
 
 MOCK_METHOD1 (SetTOS, int32_t(int32_t))
 
 MOCK_METHOD3 (SendTo, int32_t(const int8_t *, size_t, const SocketAddress &))
 
 MOCK_METHOD8 (SetQos, bool(int32_t, int32_t, int32_t, int32_t, int32_t, int32_t, const SocketAddress &, int32_t))
 
- Public Member Functions inherited from webrtc::test::UdpSocketWrapper
virtual bool SetCallback (CallbackObj obj, IncomingSocketCallback cb)=0
 
virtual bool Bind (const SocketAddress &name)=0
 
virtual bool StartReceiving ()
 
virtual bool StartReceiving (const uint32_t)
 
virtual bool StopReceiving ()
 
virtual bool ValidHandle ()=0
 
virtual bool SetSockopt (int32_t level, int32_t optname, const int8_t *optval, int32_t optlen)=0
 
virtual int32_t SetTOS (const int32_t serviceType)=0
 
virtual int32_t SetPCP (const int32_t)
 
virtual int32_t SendTo (const int8_t *buf, size_t len, const SocketAddress &to)=0
 
virtual void SetEventToNull ()
 
virtual void CloseBlocking ()
 
virtual bool SetQos (int32_t serviceType, int32_t tokenRate, int32_t bucketSize, int32_t peekBandwith, int32_t minPolicedSize, int32_t maxSduSize, const SocketAddress &stRemName, int32_t overrideDSCP=0)=0
 
virtual uint32_t ReceiveBuffers ()
 
virtual bool SetCallback (CallbackObj obj, IncomingSocketCallback cb)=0
 
virtual bool Bind (const SocketAddress &name)=0
 
virtual bool StartReceiving ()
 
virtual bool StartReceiving (const uint32_t)
 
virtual bool StopReceiving ()
 
virtual bool ValidHandle ()=0
 
virtual bool SetSockopt (int32_t level, int32_t optname, const int8_t *optval, int32_t optlen)=0
 
virtual int32_t SetTOS (const int32_t serviceType)=0
 
virtual int32_t SetPCP (const int32_t)
 
virtual int32_t SendTo (const int8_t *buf, size_t len, const SocketAddress &to)=0
 
virtual void SetEventToNull ()
 
virtual void CloseBlocking ()
 
virtual bool SetQos (int32_t serviceType, int32_t tokenRate, int32_t bucketSize, int32_t peekBandwith, int32_t minPolicedSize, int32_t maxSduSize, const SocketAddress &stRemName, int32_t overrideDSCP=0)=0
 
virtual uint32_t ReceiveBuffers ()
 

Additional Inherited Members

- Static Public Member Functions inherited from webrtc::test::UdpSocketWrapper
static UdpSocketWrapperCreateSocket (const int32_t id, UdpSocketManager *mgr, CallbackObj obj, IncomingSocketCallback cb, bool ipV6Enable=false, bool disableGQOS=false)
 
static UdpSocketWrapperCreateSocket (const int32_t id, UdpSocketManager *mgr, CallbackObj obj, IncomingSocketCallback cb, bool ipV6Enable=false, bool disableGQOS=false)
 
- Protected Member Functions inherited from webrtc::test::UdpSocketWrapper
 UdpSocketWrapper ()
 
virtual ~UdpSocketWrapper ()
 
 UdpSocketWrapper ()
 
virtual ~UdpSocketWrapper ()
 
- Protected Attributes inherited from webrtc::test::UdpSocketWrapper
bool _wantsIncoming
 
EventWrapper_deleteEvent
 

Member Function Documentation

◆ MOCK_METHOD0()

webrtc::test::MockUdpSocketWrapper::MOCK_METHOD0 ( ValidHandle  ,
bool()   
)

◆ MOCK_METHOD1() [1/2]

webrtc::test::MockUdpSocketWrapper::MOCK_METHOD1 ( Bind  ,
bool(const SocketAddress &)   
)

◆ MOCK_METHOD1() [2/2]

webrtc::test::MockUdpSocketWrapper::MOCK_METHOD1 ( SetTOS  ,
int32_t(int32_t  
)

◆ MOCK_METHOD2()

webrtc::test::MockUdpSocketWrapper::MOCK_METHOD2 ( SetCallback  ,
bool(CallbackObj, IncomingSocketCallback  
)

◆ MOCK_METHOD3()

webrtc::test::MockUdpSocketWrapper::MOCK_METHOD3 ( SendTo  ,
int32_t(const int8_t *, size_t, const SocketAddress &)   
)

◆ MOCK_METHOD4()

webrtc::test::MockUdpSocketWrapper::MOCK_METHOD4 ( SetSockopt  ,
bool(int32_t, int32_t, const int8_t *, int32_t  
)

◆ MOCK_METHOD8()

webrtc::test::MockUdpSocketWrapper::MOCK_METHOD8 ( SetQos  ,
bool(int32_t, int32_t, int32_t, int32_t, int32_t, int32_t, const SocketAddress &, int32_t  
)

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