mirror of
https://github.com/inspircd/inspircd.git
synced 2025-03-10 02:59:01 -04:00
Remove some duplication, everything calls the SE equivilant anyway.
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@10525 e03df62e-2008-0410-955e-edbf42e46eb7
This commit is contained in:
parent
b7b0f54047
commit
138f71ed13
@ -246,7 +246,7 @@ class CoreExport BufferedSocket : public EventHandler
|
||||
* other end of the socket.
|
||||
*
|
||||
* Further write events will not be triggered
|
||||
* unless you call WantWrite().
|
||||
* unless you call SocketEngine::WantWrite().
|
||||
*
|
||||
* The default behaviour of this method is to
|
||||
* flush the write buffer, respecting the IO
|
||||
@ -306,13 +306,6 @@ class CoreExport BufferedSocket : public EventHandler
|
||||
*/
|
||||
void SetState(BufferedSocketState s);
|
||||
|
||||
/**
|
||||
* Call this to receive the next write event
|
||||
* that comes along for this fd to the OnWriteReady
|
||||
* method.
|
||||
*/
|
||||
void WantWrite();
|
||||
|
||||
/**
|
||||
* Returns the current socket state.
|
||||
*/
|
||||
|
@ -91,11 +91,6 @@ BufferedSocket::BufferedSocket(InspIRCd* SI, const std::string &ipaddr, int apor
|
||||
}
|
||||
}
|
||||
|
||||
void BufferedSocket::WantWrite()
|
||||
{
|
||||
this->Instance->SE->WantWrite(this);
|
||||
}
|
||||
|
||||
void BufferedSocket::SetQueues()
|
||||
{
|
||||
// attempt to increase socket sendq and recvq as high as its possible
|
||||
|
Loading…
x
Reference in New Issue
Block a user