Updated code
This commit is contained in:
1 parent
20d5c99517
commit
43489e5b3a
26 files changed
+33
-27
No files matched your search
@@ -31,7 +31,7 @@ namespace core {
|
||||
/// receiving the EPOLLOUT event then the buffer is written to the socket output.
|
||||
///
|
||||
|
||||
class Socket : public core::Object {
|
||||
class Socket {
|
||||
|
||||
public:
|
||||
|
||||
@@ -151,14 +151,14 @@ namespace core {
|
||||
///
|
||||
///
|
||||
|
||||
virtual void onDataReceived(coreutils::ZString data);
|
||||
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(coreutils::ZString buffer);
|
||||
virtual void receiveData(coreutils::ZString &buffer);
|
||||
|
||||
private:
|
||||
|
||||
|
||||
Reference in new issue
Block a user