TwiceAsNice  2019-02-18
Public Types | Public Member Functions | Protected Member Functions | Protected Attributes | List of all members
Nice::ChatLine Class Reference


Line oriented communication class for serialized data streams, like tcp connections, More...

#include <Line.h>

Inheritance diagram for Nice::ChatLine:
Inheritance graph
Collaboration diagram for Nice::ChatLine:
Collaboration graph

Public Types

enum  { CONNECTION_TIMEOUT = -7777 }
 
enum  { CONNECTION_TIMEOUT = -7777 }
 
- Public Types inherited from Nice::ChatCore
enum  ChatVERBOSE {
  ChatVERBOSE = 0x1, ChatCOLOR = 0x2, ChatTIME = 0x4, ChatECHO = 0x8,
  ChatVERBOSE = 0x1, ChatCOLOR = 0x2, ChatTIME = 0x4, ChatECHO = 0x8
}
 
enum  ChatVERBOSE {
  ChatVERBOSE = 0x1, ChatCOLOR = 0x2, ChatTIME = 0x4, ChatECHO = 0x8,
  ChatVERBOSE = 0x1, ChatCOLOR = 0x2, ChatTIME = 0x4, ChatECHO = 0x8
}
 

Public Member Functions

 ChatLine ()
 constructor More...
 
 ChatLine (const char *_device)
 constructor with devicename tcp://HOSTNAME:PORT or tty:/dev/ttyX:BAUD. More...
 
 ChatLine (int _fd)
 constructor with file descriptor More...
 
virtual ~ChatLine ()
 destructor More...
 
virtual int sendline (const std::string &_line)
 send line _line More...
 
virtual int recvline (std::string &_line)
 recv line _line More...
 
int dumpdata ()
 dump data in buffers More...
 
virtual int tryReadlines (const int _max=-1)
 check if you can savly read a line. More...
 
int chat (int _num, const char *_cmd=NULL)
 send line _cmd and wait for _num lines. More...
 
virtual int chat (const char *_rsp, int _max, const char *_cmd=NULL)
 send line _cmd and recv lines until a line _rsp is received or _max lines received. More...
 
virtual int chat (const char *_rsp, const char *_cmd=NULL)
 send line _cmd and recv lines until a line _rsp is received. More...
 
int mprintf (int _num, const char *_cmd=NULL,...)
 send line _cmd with params (like printf) and wait for _num lines. More...
 
int printf (const char *_rsp_fmtstr, const char *_cmd_fmtstr=NULL,...)
 send line _cmd with params (like printf) and recv lines until a line _rsp is received. More...
 
virtual int nprintf (int _max, const char *_rsp_fmtstr, const char *_cmd_fmtstr=NULL,...)
 send line _cmd with params (like printf) and recv lines until a line _rsp is received or _max lines received. More...
 
std::string operator[] (int _num)
 return recvd line number _num More...
 
std::size_t size ()
 return number of recvd lines More...
 
Nice::SeqString srbuffer ()
 
void setLineEnd (const char *_end)
 set the end of a rcvd- and sentline. More...
 
void setLineEndSend (const char *_end)
 the string _end is sent after every raw line. More...
 
void setLineEndRecv (const char *_end)
 characters from the string _end are used to detect the end of the line. More...
 
void setMinLine (int _min_line)
 
 ChatLine ()
 constructor More...
 
 ChatLine (const char *_device)
 constructor with devicename tcp://HOSTNAME:PORT or tty:/dev/ttyX:BAUD. More...
 
 ChatLine (int _fd)
 constructor with file descriptor More...
 
virtual ~ChatLine ()
 destructor More...
 
virtual int sendline (const std::string &_line)
 send line _line More...
 
virtual int recvline (std::string &_line)
 recv line _line More...
 
int dumpdata ()
 dump data in buffers More...
 
virtual int tryReadlines (const int _max=-1)
 check if you can savly read a line. More...
 
int chat (int _num, const char *_cmd=NULL)
 send line _cmd and wait for _num lines. More...
 
virtual int chat (const char *_rsp, int _max, const char *_cmd=NULL)
 send line _cmd and recv lines until a line _rsp is received or _max lines received. More...
 
virtual int chat (const char *_rsp, const char *_cmd=NULL)
 send line _cmd and recv lines until a line _rsp is received. More...
 
int mprintf (int _num, const char *_cmd=NULL,...)
 send line _cmd with params (like printf) and wait for _num lines. More...
 
int printf (const char *_rsp_fmtstr, const char *_cmd_fmtstr=NULL,...)
 send line _cmd with params (like printf) and recv lines until a line _rsp is received. More...
 
virtual int nprintf (int _max, const char *_rsp_fmtstr, const char *_cmd_fmtstr=NULL,...)
 send line _cmd with params (like printf) and recv lines until a line _rsp is received or _max lines received. More...
 
std::string operator[] (int _num)
 return recvd line number _num More...
 
std::size_t size ()
 return number of recvd lines More...
 
Nice::SeqString srbuffer ()
 
void setLineEnd (const char *_end)
 set the end of a rcvd- and sentline. More...
 
void setLineEndSend (const char *_end)
 the string _end is sent after every raw line. More...
 
void setLineEndRecv (const char *_end)
 characters from the string _end are used to detect the end of the line. More...
 
void setMinLine (int _min_line)
 
- Public Member Functions inherited from Nice::ChatCore
 ChatCore ()
 constructor More...
 
 ChatCore (const char *_device)
 constructor with devicename tcp://HOSTNAME:PORT or tty:/dev/ttyX:BAUD. More...
 
 ChatCore (int _fd)
 constructor with file descriptor More...
 
virtual ~ChatCore ()
 destructor More...
 
virtual int open ()
 
virtual int open (const char *_device)
 open device with name tcp://HOSTNAME:PORT or tty:/dev/ttyX:BAUD. More...
 
virtual int open (int _fd)
 open device with file descriptor More...
 
virtual int close ()
 closedevice More...
 
virtual bool isConnected () const
 check if its connected More...
 
virtual int wait (Nice::Time _time)
 wait _time sec for data, returns earlier as soon as data has arrived. More...
 
virtual int openListenSocket (int _port)
 open a listen socket. More...
 
virtual int tryAccept (ChatCore &_newConnection)
 try accepting for X secs. X is set by member setTimeout More...
 
void setTimeout (Nice::Time _t)
 set read timeout in seconds, -1 = wait forever. More...
 
Nice::Time timeout ()
 
void setVerbose (int _v)
 set verbosity parameters More...
 
void setName (std::string _name)
 
std::string name ()
 
 ChatCore ()
 constructor More...
 
 ChatCore (const char *_device)
 constructor with devicename tcp://HOSTNAME:PORT or tty:/dev/ttyX:BAUD. More...
 
 ChatCore (int _fd)
 constructor with file descriptor More...
 
virtual ~ChatCore ()
 destructor More...
 
virtual int open ()
 
virtual int open (const char *_device)
 open device with name tcp://HOSTNAME:PORT or tty:/dev/ttyX:BAUD. More...
 
virtual int open (int _fd)
 open device with file descriptor More...
 
virtual int close ()
 closedevice More...
 
virtual bool isConnected () const
 check if its connected More...
 
virtual int wait (Nice::Time _time)
 wait _time sec for data, returns earlier as soon as data has arrived. More...
 
virtual int openListenSocket (int _port)
 open a listen socket. More...
 
virtual int tryAccept (ChatCore &_newConnection)
 try accepting for X secs. X is set by member setTimeout More...
 
void setTimeout (Nice::Time _t)
 set read timeout in seconds, -1 = wait forever. More...
 
Nice::Time timeout ()
 
void setVerbose (int _v)
 set verbosity parameters More...
 
void setName (std::string _name)
 
std::string name ()
 

Protected Member Functions

virtual void setStdSettings ()
 
virtual void timeoutAktion (const std::string &)
 
virtual int getc (char *_ch)
 
virtual void setStdSettings ()
 
virtual void timeoutAktion (const std::string &)
 
virtual int getc (char *_ch)
 
- Protected Member Functions inherited from Nice::ChatCore
int openTCP (std::string &_host, uint16_t _port)
 
int openTTY (std::string &_device, int _baud, int _numbits, std::string _parity)
 
int openTCP (std::string &_host, uint16_t _port)
 
int openTTY (std::string &_device, int _baud, int _numbits, std::string _parity)
 

Protected Attributes

Nice::SeqString m_srbuffer
 
char m_lineEndSend [7]
 
char m_lineEndRecv [7]
 
unsigned int m_minLine
 
char m_readBlockBuffer [1025]
 
std::string m_readBuffer
 
std::string m_lineBuffer
 
- Protected Attributes inherited from Nice::ChatCore
std::string m_device_name
 
int m_fd
 
Nice::Time m_timeout
 
int verbose_
 
bool m_persistent
 
std::string m_name
 

Detailed Description


Line oriented communication class for serialized data streams, like tcp connections,

Author
Florian Briegel
Version
11.02.04
Date
2012-08-10 11:04:58 AM serial lines (tty), ...

Connection to a serial driven is done through a tcp connection (tcp://HOSTNAME:PORT) or a tty device (tty:/dev/ttyX:BAUD).

Blockbuilding of the streamd data to lines is done by enddelimiters.

The class can be uses for server and client applications.

Here is small example connecting to a serial device(tty or tcp):

#include <Nice/Log.h>
#include <Nice/Chat.h>

if (argc < 2) F_RETURN(-1, "Please give a adress: tcp://HOST:PORT or tty:/dev/TTY:BAUDRATE,DATA");

int main (int argc, char *argv[])
{
   ChatLine myDevice;

   try
   {
      myDevice.open(argv[1]);

      myDevice.chat("1 21 0 *", "1 21 0 mpia");
      myDevice.chat("1 21 1 *", "1 22 0 mpia");

   }

   catch(const Nice::ChatException & e)
   {
      E_LOG(e);
   }

   return 0;
}

Here is small example for a tcp server waiting for connections and only accepting one client.

#include <Nice/Log.h>
#include <Nice/Chat.h>

int main (int argc, char *argv[])
{
   ChatLine myListenDevice;
   ChatLine myDevice;
   int rc;

   try
   {
      while(1)
      {
        // open listen port.
        myListenDevice.openListenSocket(4711);

        // set timeout to listen forever.
        myListenDevice.setTimeout(-1);

        D_LOG("Waiting for connection");
        myListenDevice.tryAccept(myDevice);

        // close listen port.
        myListenDevice.close();

        // connected!
        myDevice.setVerbose(SRDATA_VERBOSE | SRDATA_COLOR);
        do
        {
          rc = srdata_chat(1, NULL);
          srdata_printf(0, "echo %s", multi_buffer[0]);
        }
        while(rc > 0);
        myDevice.close();
      }
   }

   catch(const Nice::ChatException & e)
   {
      E_LOG(e);
   }

   return 0;
}
Todo:
Some c++ style parameter for chat call
Author
Florian Briegel
Version
11.02.04
Date
2012-08-10 11:04:58 AM serial lines (tty), ...

Connection to a serial driven is done through a tcp connection (tcp://HOSTNAME:PORT) or a tty device (tty:/dev/ttyX:BAUD).

Blockbuilding of the streamd data to lines is done by enddelimiters.

The class can be uses for server and client applications.

Here is small example connecting to a serial device(tty or tcp):

#include <Nice/Log.h>
#include <Nice/Chat.h>

if (argc < 2) F_RETURN(-1, "Please give a adress: tcp://HOST:PORT or tty:/dev/TTY:BAUDRATE,DATA");

int main (int argc, char *argv[])
{
   ChatLine myDevice;

   try
   {
      myDevice.open(argv[1]);

      myDevice.chat("1 21 0 *", "1 21 0 mpia");
      myDevice.chat("1 21 1 *", "1 22 0 mpia");

   }

   catch(const Nice::ChatException & e)
   {
      E_LOG(e);
   }

   return 0;
}

Here is small example for a tcp server waiting for connections and only accepting one client.

#include <Nice/Log.h>
#include <Nice/Chat.h>

int main (int argc, char *argv[])
{
   ChatLine myListenDevice;
   ChatLine myDevice;
   int rc;

   try
   {
      while(1)
      {
        // open listen port.
        myListenDevice.openListenSocket(4711);

        // set timeout to listen forever.
        myListenDevice.setTimeout(-1);

        D_LOG("Waiting for connection");
        myListenDevice.tryAccept(myDevice);

        // close listen port.
        myListenDevice.close();

        // connected!
        myDevice.setVerbose(SRDATA_VERBOSE | SRDATA_COLOR);
        do
        {
          rc = srdata_chat(1, NULL);
          srdata_printf(0, "echo %s", multi_buffer[0]);
        }
        while(rc > 0);
        myDevice.close();
      }
   }

   catch(const Nice::ChatException & e)
   {
      E_LOG(e);
   }

   return 0;
}
Todo:
Some c++ style parameter for chat call

Member Enumeration Documentation

◆ anonymous enum

anonymous enum
Enumerator
CONNECTION_TIMEOUT 

◆ anonymous enum

anonymous enum
Enumerator
CONNECTION_TIMEOUT 

Constructor & Destructor Documentation

◆ ChatLine() [1/6]

Nice::ChatLine::ChatLine ( )

constructor

◆ ChatLine() [2/6]

Nice::ChatLine::ChatLine ( const char *  _device)

constructor with devicename tcp://HOSTNAME:PORT or tty:/dev/ttyX:BAUD.

◆ ChatLine() [3/6]

Nice::ChatLine::ChatLine ( int  _fd)

constructor with file descriptor

◆ ~ChatLine() [1/2]

Nice::ChatLine::~ChatLine ( )
virtual

destructor

◆ ChatLine() [4/6]

Nice::ChatLine::ChatLine ( )

constructor

◆ ChatLine() [5/6]

Nice::ChatLine::ChatLine ( const char *  _device)

constructor with devicename tcp://HOSTNAME:PORT or tty:/dev/ttyX:BAUD.

◆ ChatLine() [6/6]

Nice::ChatLine::ChatLine ( int  _fd)

constructor with file descriptor

◆ ~ChatLine() [2/2]

virtual Nice::ChatLine::~ChatLine ( )
virtual

destructor

Member Function Documentation

◆ chat() [1/6]

int Nice::ChatLine::chat ( int  _num,
const char *  _cmd = NULL 
)

send line _cmd and wait for _num lines.

◆ chat() [2/6]

int Nice::ChatLine::chat ( int  _num,
const char *  _cmd = NULL 
)

send line _cmd and wait for _num lines.

◆ chat() [3/6]

int Nice::ChatLine::chat ( const char *  _rsp,
int  _max,
const char *  _cmd = NULL 
)
virtual

send line _cmd and recv lines until a line _rsp is received or _max lines received.

For the recv end pattern:

 ?         Matches any single character.
 *         Matches any sequence of zero or more characters.
 [chars]   Matches any single character in chars.
           If chars contains a sequence of  the  form
           a-b then any character between a and b (inclusive) will match.
 \x        Matches the character x.
 {a,b,...} Matches any of the strings a, b, etc.


 Example:
    "*Q"              # wait for a line with Q at the end.
    "{good,bad}"      # wait for a line that is good or bad.

Reimplemented in Basda::ChatLineMockCore, and Basda::ChatLineMockCore.

◆ chat() [4/6]

virtual int Nice::ChatLine::chat ( const char *  _rsp,
int  _max,
const char *  _cmd = NULL 
)
virtual

send line _cmd and recv lines until a line _rsp is received or _max lines received.

For the recv end pattern:

 ?         Matches any single character.
 *         Matches any sequence of zero or more characters.
 [chars]   Matches any single character in chars.
           If chars contains a sequence of  the  form
           a-b then any character between a and b (inclusive) will match.
 \x        Matches the character x.
 {a,b,...} Matches any of the strings a, b, etc.


 Example:
    "*Q"              # wait for a line with Q at the end.
    "{good,bad}"      # wait for a line that is good or bad.

Reimplemented in Basda::ChatLineMockCore, and Basda::ChatLineMockCore.

◆ chat() [5/6]

virtual int Nice::ChatLine::chat ( const char *  _rsp,
const char *  _cmd = NULL 
)
virtual

send line _cmd and recv lines until a line _rsp is received.

For the recv end pattern:

 ?         Matches any single character.
 *         Matches any sequence of zero or more characters.
 [chars]   Matches any single character in chars.
           If chars contains a sequence of  the  form
           a-b then any character between a and b (inclusive) will match.
 \x        Matches the character x.
 {a,b,...} Matches any of the strings a, b, etc.


 Example:
    "*Q"              # wait for a line with Q at the end.
    "{good,bad}"      # wait for a line that is good or bad.

Reimplemented in Basda::ChatLineMockCore, and Basda::ChatLineMockCore.

◆ chat() [6/6]

int Nice::ChatLine::chat ( const char *  _rsp,
const char *  _cmd = NULL 
)
virtual

send line _cmd and recv lines until a line _rsp is received.

For the recv end pattern:

 ?         Matches any single character.
 *         Matches any sequence of zero or more characters.
 [chars]   Matches any single character in chars.
           If chars contains a sequence of  the  form
           a-b then any character between a and b (inclusive) will match.
 \x        Matches the character x.
 {a,b,...} Matches any of the strings a, b, etc.


 Example:
    "*Q"              # wait for a line with Q at the end.
    "{good,bad}"      # wait for a line that is good or bad.

Reimplemented in Basda::ChatLineMockCore, and Basda::ChatLineMockCore.

◆ dumpdata() [1/2]

int Nice::ChatLine::dumpdata ( )

dump data in buffers

◆ dumpdata() [2/2]

int Nice::ChatLine::dumpdata ( )

dump data in buffers

◆ getc() [1/2]

int Nice::ChatLine::getc ( char *  _ch)
protectedvirtual

Reimplemented in Basda::PdvChat, Basda::PdvChat, and Basda::PdvChat.

◆ getc() [2/2]

virtual int Nice::ChatLine::getc ( char *  _ch)
protectedvirtual

Reimplemented in Basda::PdvChat, Basda::PdvChat, and Basda::PdvChat.

◆ mprintf() [1/2]

int Nice::ChatLine::mprintf ( int  _num,
const char *  _cmd = NULL,
  ... 
)

send line _cmd with params (like printf) and wait for _num lines.

◆ mprintf() [2/2]

int Nice::ChatLine::mprintf ( int  _num,
const char *  _cmd = NULL,
  ... 
)

send line _cmd with params (like printf) and wait for _num lines.

◆ nprintf() [1/2]

int Nice::ChatLine::nprintf ( int  _max,
const char *  _rsp_fmtstr,
const char *  _cmd_fmtstr = NULL,
  ... 
)
virtual

send line _cmd with params (like printf) and recv lines until a line _rsp is received or _max lines received.

For the recv end pattern:

 ?         Matches any single character.
 *         Matches any sequence of zero or more characters.
 [chars]   Matches any single character in chars.
           If chars contains a sequence of  the  form
           a-b then any character between a and b (inclusive) will match.
 \x        Matches the character x.
 {a,b,...} Matches any of the strings a, b, etc.


 Example:
    "*Q"              # wait for a line with Q at the end.
    "{good,bad}"      # wait for a line that is good or bad.

Reimplemented in Basda::ChatLineMockCore, and Basda::ChatLineMockCore.

◆ nprintf() [2/2]

virtual int Nice::ChatLine::nprintf ( int  _max,
const char *  _rsp_fmtstr,
const char *  _cmd_fmtstr = NULL,
  ... 
)
virtual

send line _cmd with params (like printf) and recv lines until a line _rsp is received or _max lines received.

For the recv end pattern:

 ?         Matches any single character.
 *         Matches any sequence of zero or more characters.
 [chars]   Matches any single character in chars.
           If chars contains a sequence of  the  form
           a-b then any character between a and b (inclusive) will match.
 \x        Matches the character x.
 {a,b,...} Matches any of the strings a, b, etc.


 Example:
    "*Q"              # wait for a line with Q at the end.
    "{good,bad}"      # wait for a line that is good or bad.

Reimplemented in Basda::ChatLineMockCore, and Basda::ChatLineMockCore.

◆ operator[]() [1/2]

std::string Nice::ChatLine::operator[] ( int  _num)

return recvd line number _num

◆ operator[]() [2/2]

std::string Nice::ChatLine::operator[] ( int  _num)

return recvd line number _num

◆ printf() [1/2]

int Nice::ChatLine::printf ( const char *  _rsp_fmtstr,
const char *  _cmd_fmtstr = NULL,
  ... 
)

send line _cmd with params (like printf) and recv lines until a line _rsp is received.

For the recv end pattern:

 ?         Matches any single character.
 *         Matches any sequence of zero or more characters.
 [chars]   Matches any single character in chars.
           If chars contains a sequence of  the  form
           a-b then any character between a and b (inclusive) will match.
 \x        Matches the character x.
 {a,b,...} Matches any of the strings a, b, etc.


 Example:
    "*Q"              # wait for a line with Q at the end.
    "{good,bad}"      # wait for a line that is good or bad.

◆ printf() [2/2]

int Nice::ChatLine::printf ( const char *  _rsp_fmtstr,
const char *  _cmd_fmtstr = NULL,
  ... 
)

send line _cmd with params (like printf) and recv lines until a line _rsp is received.

For the recv end pattern:

 ?         Matches any single character.
 *         Matches any sequence of zero or more characters.
 [chars]   Matches any single character in chars.
           If chars contains a sequence of  the  form
           a-b then any character between a and b (inclusive) will match.
 \x        Matches the character x.
 {a,b,...} Matches any of the strings a, b, etc.


 Example:
    "*Q"              # wait for a line with Q at the end.
    "{good,bad}"      # wait for a line that is good or bad.

◆ recvline() [1/2]

virtual int Nice::ChatLine::recvline ( std::string &  _line)
virtual

recv line _line

◆ recvline() [2/2]

int Nice::ChatLine::recvline ( std::string &  _line)
virtual

recv line _line

◆ sendline() [1/2]

int Nice::ChatLine::sendline ( const std::string &  _line)
virtual

send line _line

Reimplemented in Basda::PdvChat, Basda::PdvChat, and Basda::PdvChat.

◆ sendline() [2/2]

virtual int Nice::ChatLine::sendline ( const std::string &  _line)
virtual

send line _line

Reimplemented in Basda::PdvChat, Basda::PdvChat, and Basda::PdvChat.

◆ setLineEnd() [1/2]

void Nice::ChatLine::setLineEnd ( const char *  _end)
inline

set the end of a rcvd- and sentline.

◆ setLineEnd() [2/2]

void Nice::ChatLine::setLineEnd ( const char *  _end)
inline

set the end of a rcvd- and sentline.

◆ setLineEndRecv() [1/2]

void Nice::ChatLine::setLineEndRecv ( const char *  _end)
inline

characters from the string _end are used to detect the end of the line.

◆ setLineEndRecv() [2/2]

void Nice::ChatLine::setLineEndRecv ( const char *  _end)
inline

characters from the string _end are used to detect the end of the line.

◆ setLineEndSend() [1/2]

void Nice::ChatLine::setLineEndSend ( const char *  _end)
inline

the string _end is sent after every raw line.

◆ setLineEndSend() [2/2]

void Nice::ChatLine::setLineEndSend ( const char *  _end)
inline

the string _end is sent after every raw line.

◆ setMinLine() [1/2]

void Nice::ChatLine::setMinLine ( int  _min_line)
inline

◆ setMinLine() [2/2]

void Nice::ChatLine::setMinLine ( int  _min_line)
inline

◆ setStdSettings() [1/2]

virtual void Nice::ChatLine::setStdSettings ( )
protectedvirtual

Reimplemented from Nice::ChatCore.

◆ setStdSettings() [2/2]

void Nice::ChatLine::setStdSettings ( )
protectedvirtual

Reimplemented from Nice::ChatCore.

◆ size() [1/2]

std::size_t Nice::ChatLine::size ( void  )
inline

return number of recvd lines

◆ size() [2/2]

std::size_t Nice::ChatLine::size ( )
inline

return number of recvd lines

◆ srbuffer() [1/2]

Nice::SeqString Nice::ChatLine::srbuffer ( )
inline

◆ srbuffer() [2/2]

Nice::SeqString Nice::ChatLine::srbuffer ( )
inline

◆ timeoutAktion() [1/2]

virtual void Nice::ChatLine::timeoutAktion ( const std::string &  )
protectedvirtual

Implements Nice::ChatCore.

◆ timeoutAktion() [2/2]

void Nice::ChatLine::timeoutAktion ( const std::string &  msg)
protectedvirtual

Implements Nice::ChatCore.

◆ tryReadlines() [1/2]

int Nice::ChatLine::tryReadlines ( const int  _max = -1)
virtual

check if you can savly read a line.

Reimplemented in Basda::ChatLineMockCore, and Basda::ChatLineMockCore.

◆ tryReadlines() [2/2]

virtual int Nice::ChatLine::tryReadlines ( const int  _max = -1)
virtual

check if you can savly read a line.

Reimplemented in Basda::ChatLineMockCore, and Basda::ChatLineMockCore.

Member Data Documentation

◆ m_lineBuffer

std::string Nice::ChatLine::m_lineBuffer
protected

◆ m_lineEndRecv

char Nice::ChatLine::m_lineEndRecv
protected

◆ m_lineEndSend

char Nice::ChatLine::m_lineEndSend
protected

◆ m_minLine

unsigned int Nice::ChatLine::m_minLine
protected

◆ m_readBlockBuffer

char Nice::ChatLine::m_readBlockBuffer
protected

◆ m_readBuffer

std::string Nice::ChatLine::m_readBuffer
protected

◆ m_srbuffer

Nice::SeqString Nice::ChatLine::m_srbuffer
protected

The documentation for this class was generated from the following files: