Fixed missing function.

This commit is contained in:
Vincent Richard 2009-12-01 13:23:26 +00:00
parent 5d82825687
commit bff027cfa0
2 changed files with 8 additions and 0 deletions

View File

@ -51,6 +51,12 @@ bool testSocket::isConnected() const
} }
testSocket::size_type testSocket::getBlockSize() const
{
return 16384;
}
void testSocket::receive(vmime::string& buffer) void testSocket::receive(vmime::string& buffer)
{ {
buffer = m_inBuffer; buffer = m_inBuffer;

View File

@ -216,6 +216,8 @@ public:
int receiveRaw(char* buffer, const int count); int receiveRaw(char* buffer, const int count);
void sendRaw(const char* buffer, const int count); void sendRaw(const char* buffer, const int count);
size_type getBlockSize() const;
/** Send data to client. /** Send data to client.
* *
* @buffer data to send * @buffer data to send