summaryrefslogtreecommitdiff
path: root/src/stable/protocoltelnet.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/stable/protocoltelnet.cpp')
-rw-r--r--src/stable/protocoltelnet.cpp10
1 files changed, 10 insertions, 0 deletions
diff --git a/src/stable/protocoltelnet.cpp b/src/stable/protocoltelnet.cpp
index f6fbd4b..51e33a8 100644
--- a/src/stable/protocoltelnet.cpp
+++ b/src/stable/protocoltelnet.cpp
@@ -347,6 +347,16 @@ void Bu::ProtocolTelnet::close()
347 pClient->close(); 347 pClient->close();
348} 348}
349 349
350void Bu::ProtocolTelnet::setBuffer( const Bu::String &sNewBuffer )
351{
352 sDataBuf = sNewBuffer;
353}
354
355void Bu::ProtocolTelnet::appendBuffer( const Bu::String &sNewData )
356{
357 sDataBuf += sNewData;
358}
359
350void Bu::ProtocolTelnet::onWill( char cCode ) 360void Bu::ProtocolTelnet::onWill( char cCode )
351{ 361{
352 Bu::MutexLocker l( mWrite ); 362 Bu::MutexLocker l( mWrite );