7 #include "TCPSession.h" 
   35       volatile long long eventId = 0;
 
  117       void resetSocket(
Socket *socket);
 
  123       std::vector<Thread> threads;
 
  124       volatile bool terminateThreads;
 
  125       void enableSocket(
Socket *socket);
 
  126       void disableSocket(
Socket *socket);
 
bool stop()
Stop and shut down the BMAEPoll processing.
Definition: EPoll.cpp:46
int getDescriptor()
Return the descriptor for the ePoll socket.
Definition: EPoll.cpp:80
int processCommand(coreutils::ZString &request, TCPSession &session) override
Output the threads array to the console.
Definition: EPoll.cpp:84
EPoll()
Definition: EPoll.cpp:9
bool isStopping()
Returns a true if the stop command has been requested.
Definition: EPoll.cpp:66
void eventReceived(struct epoll_event event)
Dispatch event to appropriate socket.
bool registerSocket(Socket *socket)
Register a BMASocket for monitoring by BMAEPoll.
Definition: EPoll.cpp:70
bool unregisterSocket(Socket *socket)
Unregister a BMASocket from monitoring by BMAEPoll.
Definition: EPoll.cpp:75
~EPoll()
Definition: EPoll.cpp:18
bool start(int numberOfThreads, int maxSockets)
Start the BMAEPoll processing.
Definition: EPoll.cpp:20
int maxSockets
The maximum number of socket allowed.
Definition: EPoll.h:100
Definition: TCPSession.h:24