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:
Vadim Zeitlin
2008-11-23 13:21:11 +00:00
parent 5b8cadd2ba
commit 3a6ec3c880
3 changed files with 6 additions and 11 deletions

View File

@@ -179,6 +179,12 @@ public:
virtual void Close() = 0;
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
// named) OnRequest() method
void NotifyOnStateChange(GSocketEvent event);

View File

@@ -60,12 +60,6 @@ public:
GSocketError SetSockOpt(int level, int optname,
const void *optval, int optlen);
void SetInitialSocketBuffers(int recv, int send)
{
m_initialRecvBufferSize = recv;
m_initialSendBufferSize = send;
}
protected:
GSocketError Input_Timeout();
GSocketError Output_Timeout();

View File

@@ -44,11 +44,6 @@ public:
void Notify(bool flag);
void Detected_Read();
void Detected_Write();
void SetInitialSocketBuffers(int recv, int send)
{
m_initialRecvBufferSize = recv;
m_initialSendBufferSize = send;
}
protected:
//enable or disable event callback using gsocket gui callback table