diff options
Diffstat (limited to 'net/udp/udp_client_socket.h')
-rw-r--r-- | net/udp/udp_client_socket.h | 20 |
1 files changed, 11 insertions, 9 deletions
diff --git a/net/udp/udp_client_socket.h b/net/udp/udp_client_socket.h index 7aa4a7f..cf37a736 100644 --- a/net/udp/udp_client_socket.h +++ b/net/udp/udp_client_socket.h @@ -25,15 +25,17 @@ class NET_EXPORT_PRIVATE UDPClientSocket : public DatagramClientSocket { virtual ~UDPClientSocket(); // Implement DatagramClientSocket: - virtual int Connect(const IPEndPoint& address); - virtual int Read(IOBuffer* buf, int buf_len, OldCompletionCallback* callback); - virtual int Write(IOBuffer* buf, int buf_len, OldCompletionCallback* callback); - virtual void Close(); - virtual int GetPeerAddress(IPEndPoint* address) const; - virtual int GetLocalAddress(IPEndPoint* address) const; - virtual bool SetReceiveBufferSize(int32 size); - virtual bool SetSendBufferSize(int32 size); - virtual const BoundNetLog& NetLog() const; + virtual int Connect(const IPEndPoint& address) OVERRIDE; + virtual int Read(IOBuffer* buf, int buf_len, + OldCompletionCallback* callback) OVERRIDE; + virtual int Write(IOBuffer* buf, int buf_len, + OldCompletionCallback* callback) OVERRIDE; + virtual void Close() OVERRIDE; + virtual int GetPeerAddress(IPEndPoint* address) const OVERRIDE; + virtual int GetLocalAddress(IPEndPoint* address) const OVERRIDE; + virtual bool SetReceiveBufferSize(int32 size) OVERRIDE; + virtual bool SetSendBufferSize(int32 size) OVERRIDE; + virtual const BoundNetLog& NetLog() const OVERRIDE; private: UDPSocket socket_; |