#include <tcpapp.h>
Collaboration diagram for CBuf:

Definition at line 55 of file tcpapp.h.
Public Member Functions | |
| int | bytes () |
| CBuf (AppData *c, int nbytes) | |
| AppData * | data () |
| int | size () |
| ~CBuf () | |
Protected Attributes | |
| AppData * | data_ |
| int | nbytes_ |
| CBuf * | next_ |
| int | size_ |
Friends | |
| class | CBufList |
|
||||||||||||
|
Definition at line 57 of file tcpapp.cc. References data_, nbytes_, next_, AppData::size(), and size_. 00058 { 00059 nbytes_ = nbytes; 00060 size_ = c->size(); 00061 if (size_ > 0) 00062 data_ = c; 00063 else 00064 data_ = NULL; 00065 next_ = NULL; 00066 }
Here is the call graph for this function: ![]() |
|
|
Definition at line 58 of file tcpapp.h. References data_.
|
|
|
Definition at line 64 of file tcpapp.h. References nbytes_. Referenced by TcpApp::recv(). 00064 { return nbytes_; }
|
|
|
Definition at line 62 of file tcpapp.h. References data_. Referenced by TcpApp::recv(). 00062 { return data_; }
|
|
|
Definition at line 63 of file tcpapp.h. References size_. Referenced by TcpApp::recv(). 00063 { return size_; }
|
|
|
|
|
|
|
|
|
|
|
|
Definition at line 76 of file tcpapp.h. Referenced by CBuf(), CBufList::detach(), CBufList::insert(), and CBufList::~CBufList(). |
|
|
|
1.4.6