connection fix

This commit is contained in:
Henrique 2011-07-27 15:13:59 -03:00
parent f34b6b1bab
commit a62785911a
1 changed files with 0 additions and 1 deletions

View File

@ -41,7 +41,6 @@ public:
void connect(const std::string& host, uint16 port, const std::function<void()>& connectCallback); void connect(const std::string& host, uint16 port, const std::function<void()>& connectCallback);
void send(uint8 *buffer, uint16 size); void send(uint8 *buffer, uint16 size);
void recv(uint16 bytes, uint32 timeout, const RecvCallback& callback); void recv(uint16 bytes, uint32 timeout, const RecvCallback& callback);
void recv(const std::string& data, uint32 timeout, const RecvCallback& callback);
void setErrorCallback(const ErrorCallback& errorCallback) { m_errorCallback = errorCallback; } void setErrorCallback(const ErrorCallback& errorCallback) { m_errorCallback = errorCallback; }
void setRecvCallback(const RecvCallback& recvCallback) { m_recvCallback = recvCallback; } void setRecvCallback(const RecvCallback& recvCallback) { m_recvCallback = recvCallback; }