#include <BMACommandSession.h>
|
void | protocol (char *data, int length) override |
|
virtual void | onConnected () |
| Called when socket is open and ready to communicate. More...
|
|
virtual void | onDataReceived (char *data, int length) |
| Called when data is received from the socket. More...
|
|
void | setBufferSize (int length) |
|
|
string | command |
|
struct sockaddr_in | client_addr |
|
socklen_t | client_addr_len |
|
class { |
} | bufferSize |
|
string | name |
|
string | tag |
|
BMAEPoll & | ePoll |
|
bool | shutDown = false |
|
BMACommandSession
Extends the session parameters for this BMATCPSocket derived object. Extend the protocol() method in order to define the behavior and protocol interaction for this socket.
◆ output()
void BMACommandSession::output |
( |
stringstream & |
out | ) |
|
|
virtual |
The output method is called by a socket session (BMASession) and will output the detail information for the client socket. When extending BMATCPSocket or BMASession you can override the method to add attributes to the list.
Reimplemented from BMASession.
The documentation for this class was generated from the following files:
- /home/barant/Documents/Development/BMASockets/BMACommandSession.h
- /home/barant/Documents/Development/BMASockets/BMACommandSession.cpp