Added IPAddressList capability and whitelist/blacklist capability.

This commit is contained in:
barant committed 2019-07-27 17:23:23 -07:00
1 parent 2b9749c4b2
commit 5e5e626d28
9 files changed
+111 -24

No files matched your search

+4 -2
View File
@@ -37,6 +37,10 @@ namespace core {
Socket(EPoll &ePoll);
~Socket();
///
void shutdown();
void setDescriptor(int descriptor); ///<Set the descriptor for the socket.
int getDescriptor(); ///< Get the descriptor for the socket.
@@ -122,8 +126,6 @@ namespace core {
///
virtual void onDataReceived(std::string data) = 0; ///< Called when data is received from the socket.
void shutdown();
///
/// receiveData will read the data from the socket and place it in the socket buffer.