don't duplicate SetInitialSocketBuffers()
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@56937 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
@@ -179,6 +179,12 @@ public:
|
|||||||
virtual void Close() = 0;
|
virtual void Close() = 0;
|
||||||
virtual void Shutdown();
|
virtual void Shutdown();
|
||||||
|
|
||||||
|
void SetInitialSocketBuffers(int recv, int send)
|
||||||
|
{
|
||||||
|
m_initialRecvBufferSize = recv;
|
||||||
|
m_initialSendBufferSize = send;
|
||||||
|
}
|
||||||
|
|
||||||
// notify m_wxsocket about the given socket event by calling its (inaptly
|
// notify m_wxsocket about the given socket event by calling its (inaptly
|
||||||
// named) OnRequest() method
|
// named) OnRequest() method
|
||||||
void NotifyOnStateChange(GSocketEvent event);
|
void NotifyOnStateChange(GSocketEvent event);
|
||||||
|
@@ -60,12 +60,6 @@ public:
|
|||||||
GSocketError SetSockOpt(int level, int optname,
|
GSocketError SetSockOpt(int level, int optname,
|
||||||
const void *optval, int optlen);
|
const void *optval, int optlen);
|
||||||
|
|
||||||
void SetInitialSocketBuffers(int recv, int send)
|
|
||||||
{
|
|
||||||
m_initialRecvBufferSize = recv;
|
|
||||||
m_initialSendBufferSize = send;
|
|
||||||
}
|
|
||||||
|
|
||||||
protected:
|
protected:
|
||||||
GSocketError Input_Timeout();
|
GSocketError Input_Timeout();
|
||||||
GSocketError Output_Timeout();
|
GSocketError Output_Timeout();
|
||||||
|
@@ -44,11 +44,6 @@ public:
|
|||||||
void Notify(bool flag);
|
void Notify(bool flag);
|
||||||
void Detected_Read();
|
void Detected_Read();
|
||||||
void Detected_Write();
|
void Detected_Write();
|
||||||
void SetInitialSocketBuffers(int recv, int send)
|
|
||||||
{
|
|
||||||
m_initialRecvBufferSize = recv;
|
|
||||||
m_initialSendBufferSize = send;
|
|
||||||
}
|
|
||||||
|
|
||||||
protected:
|
protected:
|
||||||
//enable or disable event callback using gsocket gui callback table
|
//enable or disable event callback using gsocket gui callback table
|
||||||
|
Reference in New Issue
Block a user