|
webkit
2cdf99a9e3038c7e01b3c37e8ad903ecbe5eecf1
https://github.com/WebKit/webkit
|
#include <asyncsocket.h>
Public Member Functions | |
| AsyncSocket () | |
| ~AsyncSocket () override | |
| AsyncSocket * | Accept (SocketAddress *paddr) override=0 |
| AsyncSocket () | |
| ~AsyncSocket () override | |
| AsyncSocket * | Accept (SocketAddress *paddr) override=0 |
Public Member Functions inherited from rtc::Socket | |
| virtual | ~Socket () |
| virtual SocketAddress | GetLocalAddress () const =0 |
| virtual SocketAddress | GetRemoteAddress () const =0 |
| virtual int | Bind (const SocketAddress &addr)=0 |
| virtual int | Connect (const SocketAddress &addr)=0 |
| virtual int | Send (const void *pv, size_t cb)=0 |
| virtual int | SendTo (const void *pv, size_t cb, const SocketAddress &addr)=0 |
| virtual int | Recv (void *pv, size_t cb, int64_t *timestamp)=0 |
| virtual int | RecvFrom (void *pv, size_t cb, SocketAddress *paddr, int64_t *timestamp)=0 |
| virtual int | Listen (int backlog)=0 |
| virtual int | Close ()=0 |
| virtual int | GetError () const =0 |
| virtual void | SetError (int error)=0 |
| bool | IsBlocking () const |
| virtual ConnState | GetState () const =0 |
| virtual int | EstimateMTU (uint16_t *mtu)=0 |
| virtual int | GetOption (Option opt, int *value)=0 |
| virtual int | SetOption (Option opt, int value)=0 |
| virtual | ~Socket () |
| virtual SocketAddress | GetLocalAddress () const =0 |
| virtual SocketAddress | GetRemoteAddress () const =0 |
| virtual int | Bind (const SocketAddress &addr)=0 |
| virtual int | Connect (const SocketAddress &addr)=0 |
| virtual int | Send (const void *pv, size_t cb)=0 |
| virtual int | SendTo (const void *pv, size_t cb, const SocketAddress &addr)=0 |
| virtual int | Recv (void *pv, size_t cb, int64_t *timestamp)=0 |
| virtual int | RecvFrom (void *pv, size_t cb, SocketAddress *paddr, int64_t *timestamp)=0 |
| virtual int | Listen (int backlog)=0 |
| virtual int | Close ()=0 |
| virtual int | GetError () const =0 |
| virtual void | SetError (int error)=0 |
| bool | IsBlocking () const |
| virtual ConnState | GetState () const =0 |
| virtual int | EstimateMTU (uint16_t *mtu)=0 |
| virtual int | GetOption (Option opt, int *value)=0 |
| virtual int | SetOption (Option opt, int value)=0 |
Public Attributes | |
| sigslot::signal1< AsyncSocket *, sigslot::multi_threaded_local > | SignalReadEvent |
| sigslot::signal1< AsyncSocket *, sigslot::multi_threaded_local > | SignalWriteEvent |
| sigslot::signal1< AsyncSocket * > | SignalConnectEvent |
| sigslot::signal2< AsyncSocket *, int > | SignalCloseEvent |
Additional Inherited Members | |
Public Types inherited from rtc::Socket | |
| enum | ConnState { CS_CLOSED, CS_CONNECTING, CS_CONNECTED, CS_CLOSED, CS_CONNECTING, CS_CONNECTED } |
| enum | Option { OPT_DONTFRAGMENT, OPT_RCVBUF, OPT_SNDBUF, OPT_NODELAY, OPT_IPV6_V6ONLY, OPT_DSCP, OPT_RTP_SENDTIME_EXTN_ID, OPT_DONTFRAGMENT, OPT_RCVBUF, OPT_SNDBUF, OPT_NODELAY, OPT_IPV6_V6ONLY, OPT_DSCP, OPT_RTP_SENDTIME_EXTN_ID } |
| enum | ConnState { CS_CLOSED, CS_CONNECTING, CS_CONNECTED, CS_CLOSED, CS_CONNECTING, CS_CONNECTED } |
| enum | Option { OPT_DONTFRAGMENT, OPT_RCVBUF, OPT_SNDBUF, OPT_NODELAY, OPT_IPV6_V6ONLY, OPT_DSCP, OPT_RTP_SENDTIME_EXTN_ID, OPT_DONTFRAGMENT, OPT_RCVBUF, OPT_SNDBUF, OPT_NODELAY, OPT_IPV6_V6ONLY, OPT_DSCP, OPT_RTP_SENDTIME_EXTN_ID } |
Protected Member Functions inherited from rtc::Socket | |
| Socket () | |
| Socket () | |
| rtc::AsyncSocket::AsyncSocket | ( | ) |
|
override |
| rtc::AsyncSocket::AsyncSocket | ( | ) |
|
override |
|
overridepure virtual |
Implements rtc::Socket.
Implemented in rtc::VirtualSocket, rtc::VirtualSocket, rtc::NATSocket, rtc::PhysicalSocket, rtc::PhysicalSocket, rtc::FirewallSocket, rtc::AsyncSocketAdapter, and rtc::AsyncSocketAdapter.
|
overridepure virtual |
Implements rtc::Socket.
Implemented in rtc::VirtualSocket, rtc::VirtualSocket, rtc::NATSocket, rtc::PhysicalSocket, rtc::PhysicalSocket, rtc::FirewallSocket, rtc::AsyncSocketAdapter, and rtc::AsyncSocketAdapter.
| sigslot::signal2< AsyncSocket *, int > rtc::AsyncSocket::SignalCloseEvent |
| sigslot::signal1< AsyncSocket * > rtc::AsyncSocket::SignalConnectEvent |
| sigslot::signal1< AsyncSocket *, sigslot::multi_threaded_local > rtc::AsyncSocket::SignalReadEvent |
| sigslot::signal1< AsyncSocket *, sigslot::multi_threaded_local > rtc::AsyncSocket::SignalWriteEvent |
1.8.13