Many changes to ServerCore
This commit is contained in:
1 parent
6969ef0fbb
commit
d445834af6
83 files changed
+666
-756
No files matched your search
+4
-20
@@ -54,21 +54,6 @@ namespace core {
|
||||
|
||||
void send();
|
||||
|
||||
///
|
||||
/// Use this sendToAll method to output the contents of the out stream
|
||||
/// to all the connections on the server excluding the sender session.
|
||||
///
|
||||
|
||||
void sendToAll();
|
||||
|
||||
///
|
||||
/// Use this sendToAll method to output the contents of the out stream
|
||||
/// to all the connections on the server excluding the sender session
|
||||
/// and the entries identified by the passed in filter object.
|
||||
///
|
||||
|
||||
void sendToAll(SessionFilter filter);
|
||||
|
||||
///
|
||||
/// Use this method to terminate this TCPSession.
|
||||
///
|
||||
@@ -94,8 +79,7 @@ namespace core {
|
||||
/// received. If you need data split by line termination characters then
|
||||
/// override the onLineReceived method instead.
|
||||
///
|
||||
|
||||
virtual void onDataReceived(char *data, int len) override;
|
||||
virtual void onDataReceived(coreutils::ZString data) override;
|
||||
|
||||
///
|
||||
/// Override the onLineReceived method to receive a string of characters that
|
||||
@@ -104,7 +88,7 @@ namespace core {
|
||||
/// this method explicitly using the class and member name.
|
||||
///
|
||||
|
||||
virtual void onLineReceived(std::string line);
|
||||
virtual void onLineReceived(coreutils::ZString line);
|
||||
|
||||
///
|
||||
/// Override the onBlockReceived method to receive a string of characters that
|
||||
@@ -113,7 +97,7 @@ namespace core {
|
||||
/// calls this method explicitly using the class and member name.
|
||||
///
|
||||
|
||||
virtual void onBlockReceived(std::string block);
|
||||
virtual void onBlockReceived(coreutils::ZString block);
|
||||
|
||||
///
|
||||
/// This method is called from within the protocol method when protocol is called
|
||||
@@ -133,7 +117,7 @@ namespace core {
|
||||
/// data through the protocol method: LINE or BLOCK.
|
||||
///
|
||||
|
||||
virtual void protocol(std::string data);
|
||||
virtual void protocol(coreutils::ZString data);
|
||||
|
||||
///
|
||||
/// Use setBlockSize to set the amount of data that should be read at once from the
|
||||
|
||||
Reference in new issue
Block a user