diff --git a/html/CommandList_8h_source.html b/html/CommandList_8h_source.html index 98510bb..39abef4 100644 --- a/html/CommandList_8h_source.html +++ b/html/CommandList_8h_source.html @@ -109,7 +109,7 @@ $(function() {
Protected Member Functions | |
virtual void | onRegistered () override |
+virtual void | onRegistered () override |
Called after the socket has been registered with epoll processing. | |
virtual void | onDataReceived (char *data, int len) override |
virtual void | protocol (std::string data) |
void | setMode (core::Mode mode, int size=0) |
void | setBlockSize (int size=0) |
![]() | |
void | setBufferSize (int length) | shutDown = false< |
TCPSession defines the nature of the interaction with the client and stores persistent data for a defined session. TCPSession objects are not sockets but instead provide a communications control mechanism. Protocol conversations are provided through extensions from this object.
-
TCPSession defines the nature of the interaction with the client and stores persistent data for a defined session. TCPSession objects are not sockets but instead provide a communications control mechanism. Protocol conversations are provided through extensions from this object.
Override the onLineReceived method to receive a string of characters that represents a single line of data terminated by a LF or CRLF. If onDataReceived was overriden this method will not be called unless the onDataReceived calls this method explicitly using the class and member name.
-
-
|
- -overrideprotectedvirtual | -
Set this value to control the next read event coming from this socket.
- -Reimplemented from core::Socket.
- -Reimplemented in core::TLSSession.
-The output method is called by a socket session (BMASession) and will output the detail information for the client socket. When extending BMATCPSocket or BMASession you can override the method to add attributes to the list.
+The output method is called by a socket session (TCPSession) and will output the detail information for the client socket. When extending BMATCPSocket or BMASession you can override the method to add attributes to the list.
Reimplemented from core::TCPSocket.
@@ -507,8 +478,8 @@ boolvoid core::TCPSession::setMode | +void core::TCPSession::setBlockSize | ( | -core::Mode | -mode, | -|
- | int | -size = 0 |
- |||
size = 0 | ) | - | ) | -
Use the setMode method to set the receiving mode for the data on this socket. Data can be received in LINE mode, which will receive data from the socket one line at a time, or BLOCK mode where a certain specified data block is received before calling the onBlockReceived method.
+Use setBlockSize to set the amount of data that should be read at once from the session data buffer. If this value is set to 0 then the data will be retrieved
The output method is called by a socket session (BMASession) and will output the detail information for the client socket. When extending BMATCPSocket or BMASession you can override the method to add attributes to the list.
+The output method is called by a socket session (TCPSession) and will output the detail information for the client socket. When extending BMATCPSocket or BMASession you can override the method to add attributes to the list.
Reimplemented in core::TLSSession, and core::TCPSession.
diff --git a/html/classcore_1_1TLSSession-members.html b/html/classcore_1_1TLSSession-members.html index 84c5894..2ab9414 100644 --- a/html/classcore_1_1TLSSession-members.html +++ b/html/classcore_1_1TLSSession-members.html @@ -99,11 +99,11 @@ $(function() {Reimplemented from core::Socket.
- - - -
-
|
- -protectedvirtual | -
Set this value to control the next read event coming from this socket.
- -Reimplemented from core::TCPSession.
-