Definition at line 46 of file REvtSocket.h.
◆ REvtSocketSend()
Definition at line 60 of file REvtSocket.cc.
61{
63 m_recbuf = new char[MAXEVTSIZE];
64 if (accept_at_init)
65 m_sock->accept();
66}
◆ ~REvtSocketSend()
Definition at line 68 of file REvtSocket.cc.
69{
70 delete m_sock;
71 delete[] m_recbuf;
72}
◆ recv_buffer()
int recv_buffer |
( |
char * |
buf | ) |
|
Definition at line 93 of file REvtSocket.cc.
94{
95 int stat = m_sock->get(buf, MAXEVTSIZE);
96 return stat;
97}
◆ send()
Definition at line 83 of file REvtSocket.cc.
84{
85 return m_sock->put((
char*)msg->
buffer(), msg->
size());
86}
char * buffer()
Get buffer address.
int size() const
Get size of message including headers.
◆ send_buffer()
int send_buffer |
( |
int |
size, |
|
|
char * |
buf |
|
) |
| |
Definition at line 88 of file REvtSocket.cc.
89{
90 return m_sock->put(buf, nbytes);
91}
◆ sock()
◆ m_recbuf
◆ m_sock
The documentation for this class was generated from the following files: