Many changes to ServerCore
This commit is contained in:
1 parent
6969ef0fbb
commit
d445834af6
83 files changed
+666
-756
No files matched your search
@@ -3,6 +3,7 @@
|
||||
|
||||
#include "includes"
|
||||
#include "Object.h"
|
||||
#include "ZString.h"
|
||||
|
||||
namespace core {
|
||||
|
||||
@@ -146,14 +147,18 @@ namespace core {
|
||||
|
||||
virtual void onDataReceived(std::string data); ///< Called when data is received from the socket.
|
||||
|
||||
virtual void onDataReceived(char *buffer, int len);
|
||||
///
|
||||
///
|
||||
///
|
||||
|
||||
virtual void onDataReceived(coreutils::ZString data);
|
||||
|
||||
///
|
||||
/// receiveData will read the data from the socket and place it in the socket buffer.
|
||||
/// TLS layer overrides this to be able to read from SSL.
|
||||
///
|
||||
|
||||
virtual void receiveData(char *buffer, int bufferLength);
|
||||
virtual void receiveData(coreutils::ZString buffer);
|
||||
|
||||
private:
|
||||
|
||||
|
||||
Reference in new issue
Block a user