diff --git a/TerminalSession.h b/TerminalSession.h index ada8b21..2bb94ea 100644 --- a/TerminalSession.h +++ b/TerminalSession.h @@ -24,44 +24,44 @@ namespace core { static const int BG_MAGENTA = 45; static const int BG_CYAN = 46; static const int BG_WHITE = 47; - + static const char esc = 0x1b; - + class TerminalSession : public TCPSession { - - public: + + public: TerminalSession(EPoll &ePoll, TCPServer &server); ~TerminalSession(); - + int getLines(); /// /// Clear the display. /// - + void clear(); - + /// /// Clear the display from the cursor to the end of line. /// - + void clearEOL(); - + /// /// Set the location of the cursor on the display. /// - + void setCursorLocation(int x, int y); void setColor(int color); void setBackColor(int color); void saveCursor(); void restoreCursor(); void NextLine(int lines); - void PreviousLine(int lines); + void PreviousLine(int lines); void scrollArea(int start, int end); - + }; - + } #endif diff --git a/Thread.cpp b/Thread.cpp index 4464439..241e2d5 100644 --- a/Thread.cpp +++ b/Thread.cpp @@ -66,5 +66,5 @@ namespace core { } coreutils::Log(coreutils::LOG_DEBUG_1) << "Thread ending with thread id " << threadId << "."; } - + } diff --git a/html/CommandList_8h_source.html b/html/CommandList_8h_source.html index cbc3b9b..0b045f8 100644 --- a/html/CommandList_8h_source.html +++ b/html/CommandList_8h_source.html @@ -79,7 +79,7 @@ $(function() {
- + @@ -102,24 +102,25 @@ $(function() { - + - - - - - - + + + + + + +
+ My Project
+
+ |
+
+ My Project
+
+ |
+
This is the complete list of members for core::Command, including all inherited members.
check(coreutils::ZString &request) | core::Command | virtual |
getName() (defined in core::Command) | core::Command | |
output(std::stringstream &out) | core::Command | virtual |
processCommand(coreutils::ZString &request, TCPSession &session) | core::Command | virtual |
setName(std::string name) | core::Command |
Public Member Functions | |
virtual bool | check (coreutils::ZString &request) |
virtual int | processCommand (coreutils::ZString &request, TCPSession &session) |
virtual void | output (std::stringstream &out) |
void | setName (std::string name) |
-std::string | getName () |
Use the Command object in combination with a CommandList object to maintain a list of functions that can be invoked as a result of processing a request.
-
|
- -virtual | -
Implement check method to provide a special check rule upon the request to see if the command should be processed.
-The default rule is to verify that the first token in the request string matches the name given on the registration of the command to the CommandList. This can be overridden by implementing the check() method to perform the test and return the condition of the command.
-request | The request passed to the parser to check the rule. |
Reimplemented in core::TCPServer, core::EPoll, and core::CommandList.
- - - - -void core::Command::setName | -( | -std::string | -name | ) | -- |
Set the name of this command used in default rule checking during request parsing. NOTE: You do not need to call this under normal conditions as adding a Command to a CommandList using the add() method contains a parameter to pass the name of the Command.
-name | Specify the name of this command for default parsing. |
Reimplemented in core::TCPServer, core::EPoll, core::SubscriptionManager, and core::CommandList.
This is the complete list of members for core::CommandList, including all inherited members.
add(Command &command, std::string name="") | core::CommandList | |
check(coreutils::ZString &request) | core::Command | virtual |
clearGrab(TCPSession &session) (defined in core::CommandList) | core::CommandList | |
CommandList(std::string delimiter="") (defined in core::CommandList) | core::CommandList | |
commands | core::CommandList | protected |
delimiter (defined in core::CommandList) | core::CommandList | protected |
getName() (defined in core::Command) | core::Command | |
grabInput(TCPSession &session, Command &command) | core::CommandList | |
output(std::stringstream &out) | core::Command | virtual |
processCommand(coreutils::ZString &request, TCPSession &session) | core::CommandList | virtual |
processRequest(coreutils::ZString &request, TCPSession &session) | core::CommandList | |
remove(Command &command) | core::CommandList | |
setName(std::string name) | core::Command | |
clearGrab(TCPSession &session) (defined in core::CommandList) | core::CommandList | |
CommandList(std::string delimiter="", int depth=0) (defined in core::CommandList) | core::CommandList | |
commands | core::CommandList | protected |
delimiter (defined in core::CommandList) | core::CommandList | protected |
depth (defined in core::CommandList) | core::CommandList | protected |
grabInput(TCPSession &session, Command &command) | core::CommandList | |
output(std::stringstream &out) | core::Command | virtual |
processCommand(coreutils::ZString &request, TCPSession &session) | core::CommandList | virtual |
processRequest(coreutils::ZString &request, TCPSession &session) | core::CommandList | |
remove(Command &command) | core::CommandList |
Public Member Functions | |
- | CommandList (std::string delimiter="") |
+ | CommandList (std::string delimiter="", int depth=0) |
void | add (Command &command, std::string name="") |
void | remove (Command &command) | clearGrab ( | int | processCommand (coreutils::ZString &request, TCPSession &session) |
![]() | |
virtual bool | check (coreutils::ZString &request) |
virtual void | output (std::stringstream &out) |
void | setName (std::string name) |
-std::string | getName () |
Protected Attributes | |
std::vector< Command * > | commands |
std::map< std::string, Command * > | commands |
std::string | delimiter |
+int | depth |
Use this method to apply a parsed ZString to the command set and execute the matching parameter. The selected command will return a true on a call to check(). If there is a handler that has a grab on the process handler then control is given to the process handler holding the grab on the input.
+Use this method to apply a parsed ZString to the command set and execute the matching parameter. The selected command will return a true on a call to check(). If there is a handler that has a grab on the process handler then control is given to the process handler holding the grab on the input.
std::vector<Command *> core::CommandList::commands | +std::map<std::string, Command *> core::CommandList::commands |
This is the complete list of members for core::ConsoleServer, including all inherited members.
blackList | core::TCPServer | |
check(coreutils::ZString &request) | core::Command | virtual |
commands | core::TCPServer | |
connect(IPAddress &address) (defined in core::TCPSocket) | core::TCPSocket | |
ConsoleServer(EPoll &ePoll, IPAddress address) (defined in core::ConsoleServer) | core::ConsoleServer | |
ePoll (defined in core::Socket) | core::Socket | protected |
eventReceived(struct epoll_event event) | core::Socket | |
getBufferSize() (defined in core::Socket) | core::Socket | protected |
getDescriptor() | core::Socket | |
getName() (defined in core::Command) | core::Command | |
commands | core::TCPServer | |
connect(IPAddress &address) (defined in core::TCPSocket) | core::TCPSocket | |
ConsoleServer(EPoll &ePoll, IPAddress address) (defined in core::ConsoleServer) | core::ConsoleServer | |
ePoll (defined in core::Socket) | core::Socket | protected |
eventReceived(struct epoll_event event) | core::Socket | |
getBufferSize() (defined in core::Socket) | core::Socket | protected |
getDescriptor() | core::Socket | |
getSocketAccept(EPoll &ePoll) override | core::ConsoleServer | virtual |
ipAddress (defined in core::TCPSocket) | core::TCPSocket | |
logSend(std::string out) override (defined in core::ConsoleServer) | core::ConsoleServer | |
sessions | core::TCPServer | |
setBufferSize(int length) (defined in core::Socket) | core::Socket | protected |
setDescriptor(int descriptor) | core::Socket | |
setName(std::string name) | core::Command | |
shutdown(std::string text="unknown") | core::Socket | |
shutDown (defined in core::Socket) | core::Socket | protected |
Socket(EPoll &ePoll, std::string text="") | core::Socket | |
TCPServer(EPoll &ePoll, IPAddress address, std::string delimiter=" ", std::string text="") | core::TCPServer | |
shutdown(std::string text="unknown") | core::Socket | |
shutDown (defined in core::Socket) | core::Socket | protected |
Socket(EPoll &ePoll, std::string text="") | core::Socket | |
subscriptions | core::TCPServer | |
TCPServer(EPoll &ePoll, IPAddress address, std::string delimiter=" ", int depth=10, std::string text="") | core::TCPServer | |
TCPSocket(EPoll &ePoll) (defined in core::TCPSocket) | core::TCPSocket | |
TCPSocket(EPoll &ePoll, std::string text) (defined in core::TCPSocket) | core::TCPSocket | |
whiteList | core::TCPServer | |
write(std::string data) | core::Socket | |
write(char *buffer, int length) (defined in core::Socket) | core::Socket | |
~Socket() | core::Socket | |
~TCPServer() | core::TCPServer | |
~TCPSocket() (defined in core::TCPSocket) | core::TCPSocket | |
~Socket() | core::Socket | virtual |
~TCPServer() | core::TCPServer | virtual |
~TCPSocket() (defined in core::TCPSocket) | core::TCPSocket | virtual |
logSend (std::str | |
TCPSession * | getSocketAccept (EPoll &ePoll) override |
![]() | |
TCPServer (EPoll &ePoll, IPAddress address, std::string delimiter=" ", std::string text="") | |
~TCPServer () | |
TCPServer (EPoll &ePoll, IPAddress address, std::string delimiter=" ", int depth=10, std::string text="") | |
virtual | ~TCPServer () |
virtual void | sessionErrorHandler (std::string errorString, std::stringstream &out) | connect ( | ![]() |
Socket (EPoll &ePoll, std::string text="") | |
~Socket () | |
virtual | ~Socket () |
void | shutdown (std::string text="unknown") |
onUnregister<
bool | needsToWrite () | | ![]() virtual bool | check (coreutils::ZString &request) | | void | setName (std::string name) | |
-std::string | getName () | | |
Additional Inherited Members | ||
IPAddressList * | whiteList | |
SubscriptionManager | subscriptions | |
![]() | ||
IPAddress | ipAddress | |
write(char *buffer, int length) (defined in core::Socket) | core::Socket | |
writeLog(std::string data) (defined in core::ConsoleSession) | core::ConsoleSession | |
~ConsoleSession() (defined in core::ConsoleSession) | core::ConsoleSession | |
~Socket() | core::Socket | |
~TCPSession() (defined in core::TCPSession) | core::TCPSession | |
~TCPSocket() (defined in core::TCPSocket) | core::TCPSocket | |
~Socket() | core::Socket | virtual |
~TCPSession() (defined in core::TCPSession) | core::TCPSession | virtual |
~TCPSocket() (defined in core::TCPSocket) | core::TCPSocket | virtual |
~TerminalSession() (defined in core::TerminalSession) | core::TerminalSession |
connect ( | ![]() |
|
Socket (EPoll &ePoll, std::string text="") | ||
~Socket () | ||
virtual | ~Socket () | |
void | shutdown (std::string text="unknown") | |
check(coreutils::ZString &request) | core::Command | virtual |
EPoll() | core::EPoll | |
eventReceived(struct epoll_event event) | core::EPoll | |
getDescriptor() | core::EPoll | |
getName() (defined in core::Command) | core::Command | |
EPoll() | core::EPoll | |
eventReceived(struct epoll_event event) | core::EPoll | |
getDescriptor() | core::EPoll | |
isStopping() | core::EPoll | |
maxSockets | core::EPoll | |
output(std::stringstream &out) | core::Command | virtual |
processCommand(coreutils::ZString &request, TCPSession &session) override | core::EPoll | virtual |
registerSocket(Socket *socket) | core::EPoll | |
resetSocket(Socket *socket) (defined in core::EPoll) | core::EPoll | |
setName(std::string name) | core::Command | |
start(int numberOfThreads, int maxSockets) | core::EPoll | |
stop() | core::EPoll | |
unregisterSocket(Socket *socket) | core::EPoll | |
~EPoll() | core::EPoll | |
start(int numberOfThreads, int maxSockets) | core::EPoll | |
stop() | core::EPoll | |
unregisterSocket(Socket *socket) | core::EPoll | |
~EPoll() | core::EPoll |
Public Attributes | ||
Socket(EPoll &ePoll, std::string text="") | core::Socket | |
write(std::string data) | core::Socket | |
write(char *buffer, int length) (defined in core::Socket) | core::Socket | |
~Socket() | core::Socket | |
~Socket() | core::Socket | virtual |
|
+ +virtual | +
Destructor
diff --git a/html/classcore_1_1Subscription-members.html b/html/classcore_1_1Subscription-members.html new file mode 100644 index 0000000..31ad4b8 --- /dev/null +++ b/html/classcore_1_1Subscription-members.html @@ -0,0 +1,94 @@ + + + + + + + +
+ My Project
+
+ |
+
This is the complete list of members for core::Subscription, including all inherited members.
+event(std::stringstream &out) (defined in core::Subscription) | core::Subscription | |
id (defined in core::Subscription) | core::Subscription | |
onSubscribe(TCPSession &session) (defined in core::Subscription) | core::Subscription | virtual |
owner (defined in core::Subscription) | core::Subscription | |
process(coreutils::ZString &request, std::stringstream &out) (defined in core::Subscription) | core::Subscription | virtual |
subscribe(TCPSession &session) (defined in core::Subscription) | core::Subscription | |
subscribers (defined in core::Subscription) | core::Subscription | |
Subscription(std::string id) (defined in core::Subscription) | core::Subscription | |
Subscription(std::string id, TCPSession &session) (defined in core::Subscription) | core::Subscription | |
unsubscribe(TCPSession &session) (defined in core::Subscription) | core::Subscription | |
~Subscription() (defined in core::Subscription) | core::Subscription | virtual |
+ My Project
+
+ |
+
+Public Member Functions | |
+ | Subscription (std::string id) |
+ | Subscription (std::string id, TCPSession &session) |
+int | subscribe (TCPSession &session) |
+int | unsubscribe (TCPSession &session) |
+virtual int | process (coreutils::ZString &request, std::stringstream &out) |
+virtual int | onSubscribe (TCPSession &session) |
+int | event (std::stringstream &out) |
+Public Attributes | |
+std::string | id |
+TCPSession * | owner |
+std::vector< TCPSession * > | subscribers |
+ My Project
+
+ |
+
This is the complete list of members for core::SubscriptionManager, including all inherited members.
+add(Subscription &subscription) (defined in core::SubscriptionManager) | core::SubscriptionManager | |
output(std::stringstream &out) | core::Command | virtual |
processCommand(coreutils::ZString &request, TCPSession &session) override | core::SubscriptionManager | virtual |
removeSessionSubscriptions(TCPSession &session) (defined in core::SubscriptionManager) | core::SubscriptionManager | |
SubscriptionManager() (defined in core::SubscriptionManager) | core::SubscriptionManager |
+ My Project
+
+ |
+
+Public Member Functions | |
+int | add (Subscription &subscription) |
+int | removeSessionSubscriptions (TCPSession &session) |
int | processCommand (coreutils::ZString &request, TCPSession &session) override |
![]() | |
virtual void | output (std::stringstream &out) |
+
|
+ +overridevirtual | +
This method is used to implement the functionality of the requested command. This pure virtual function must be implemented in your inheriting object.
+request | The request that was entered by the user to invoke this command. |
session | Specify the requesting session so that the execution of the command process can return its output to the session. |
Reimplemented from core::Command.
+ +This is the complete list of members for core::TCPServer, including all inherited members.
blackList | core::TCPServer | |
check(coreutils::ZString &request) | core::Command | virtual |
commands | core::TCPServer | |
connect(IPAddress &address) (defined in core::TCPSocket) | core::TCPSocket | |
ePoll (defined in core::Socket) | core::Socket | protected |
eventReceived(struct epoll_event event) | core::Socket | |
getBufferSize() (defined in core::Socket) | core::Socket | protected |
getDescriptor() | core::Socket | |
getName() (defined in core::Command) | core::Command | |
commands | core::TCPServer | |
connect(IPAddress &address) (defined in core::TCPSocket) | core::TCPSocket | |
ePoll (defined in core::Socket) | core::Socket | protected |
eventReceived(struct epoll_event event) | core::Socket | |
getBufferSize() (defined in core::Socket) | core::Socket | protected |
getDescriptor() | core::Socket | |
getSocketAccept(EPoll &epoll) | core::TCPServer | virtual |
ipAddress (defined in core::TCPSocket) | core::TCPSocket | |
needsToWrite() (defined in core::Socket) | core::Socket | |
sessions | core::TCPServer | |
setBufferSize(int length) (defined in core::Socket) | core::Socket | protected |
setDescriptor(int descriptor) | core::Socket | |
setName(std::string name) | core::Command | |
shutdown(std::string text="unknown") | core::Socket | |
shutDown (defined in core::Socket) | core::Socket | protected |
Socket(EPoll &ePoll, std::string text="") | core::Socket | |
TCPServer(EPoll &ePoll, IPAddress address, std::string delimiter=" ", std::string text="") | core::TCPServer | |
shutdown(std::string text="unknown") | core::Socket | |
shutDown (defined in core::Socket) | core::Socket | protected |
Socket(EPoll &ePoll, std::string text="") | core::Socket | |
subscriptions | core::TCPServer | |
TCPServer(EPoll &ePoll, IPAddress address, std::string delimiter=" ", int depth=10, std::string text="") | core::TCPServer | |
TCPSocket(EPoll &ePoll) (defined in core::TCPSocket) | core::TCPSocket | |
TCPSocket(EPoll &ePoll, std::string text) (defined in core::TCPSocket) | core::TCPSocket | |
whiteList | core::TCPServer | |
write(std::string data) | core::Socket | |
write(char *buffer, int length) (defined in core::Socket) | core::Socket | |
~Socket() | core::Socket | |
~TCPServer() | core::TCPServer | |
~TCPSocket() (defined in core::TCPSocket) | core::TCPSocket | |
~Socket() | core::Socket | virtual |
~TCPServer() | core::TCPServer | virtual |
~TCPSocket() (defined in core::TCPSocket) | core::TCPSocket | virtual |
Public Member Functions | |
TCPServer (EPoll &ePoll, IPAddress address, std::string delimiter=" ", std::string text="") | |
~TCPServer () | |
TCPServer (EPoll &ePoll, IPAddress address, std::string delimiter=" ", int depth=10, std::string text="") | |
virtual | ~TCPServer () |
virtual void | sessionErrorHandler (std::string errorString, std::stringstream &out) | connect ( | ![]() |
Socket (EPoll &ePoll, std::string text="") | |
~Socket () | |
virtual | ~Socket () |
void | shutdown (std::string text="unknown") |
onUnregister<
bool | needsToWrite () | | ![]() virtual bool | check (coreutils::ZString &request) | | void | setName (std::string name) | |
-std::string | getName () | | |
Public Attributes | |||||||||
IPAddressList * | whiteList | ||||||||
SubscriptionManager | subscriptions | ||||||||
![]() | |||||||||
IPAddress | ipAddress | shutDown = false<
A list of connections is maintained in a vector object. This object extends the BMACommand object as well so it can be added to a Console object and process commands to display status information. Constructor & Destructor Documentation- -◆ TCPServer()+ +◆ TCPServer()
@@ -270,6 +265,12 @@ bool | shutDown = false< | std::string | delimiter = " " , |
+ ||||
+ | + | int | +depth = 10 , |
+ ||||||
@@ -301,6 +302,9 @@ bool | shutDown = false<
+
The destructor for this object. @@ -533,6 +542,21 @@ bool | shutDown = false<
The list of sessions that are currently open and being maintained by this object. +◆ subscriptions+ +
+
diff --git a/html/classcore_1_1TCPServer__coll__graph.map b/html/classcore_1_1TCPServer__coll__graph.map
index f96034e..f93eb15 100644
--- a/html/classcore_1_1TCPServer__coll__graph.map
+++ b/html/classcore_1_1TCPServer__coll__graph.map
@@ -1,11 +1,12 @@
diff --git a/html/classcore_1_1TCPServer__coll__graph.md5 b/html/classcore_1_1TCPServer__coll__graph.md5
index 3019894..b51a249 100644
--- a/html/classcore_1_1TCPServer__coll__graph.md5
+++ b/html/classcore_1_1TCPServer__coll__graph.md5
@@ -1 +1 @@
-071460a33423e1446188071c080f7835
\ No newline at end of file
+59c54a3073d61eb2d5c2494d0d4f3693
\ No newline at end of file
diff --git a/html/classcore_1_1TCPServer__coll__graph.png b/html/classcore_1_1TCPServer__coll__graph.png
index 5ce5b2c..1f1a120 100644
Binary files a/html/classcore_1_1TCPServer__coll__graph.png and b/html/classcore_1_1TCPServer__coll__graph.png differ
diff --git a/html/classcore_1_1TCPSession-members.html b/html/classcore_1_1TCPSession-members.html
index c812043..d749e42 100644
--- a/html/classcore_1_1TCPSession-members.html
+++ b/html/classcore_1_1TCPSession-members.html
@@ -108,9 +108,9 @@ $(function() {
+
+
The Subscription Manager tracks all subscriptions on the server. + | |||||||
terminate() | core::TCPSession | ||||||||
write(std::string data) | core::Socket | ||||||||
write(char *buffer, int length) (defined in core::Socket) | core::Socket | ||||||||
~Socket() | core::Socket | ||||||||
~TCPSession() (defined in core::TCPSession) | core::TCPSession | ||||||||
~TCPSocket() (defined in core::TCPSocket) | core::TCPSocket | ||||||||
~Socket() | core::Socket | virtual | |||||||
~TCPSession() (defined in core::TCPSession) | core::TCPSession | virtual | |||||||
~TCPSocket() (defined in core::TCPSocket) | core::TCPSocket | virtual |
connect ( | ![]() |
|
Socket (EPoll &ePoll, std::string text="") | ||
~Socket () | ||
virtual | ~Socket () | |
void | shutdown (std::string text="unknown") | |
TCPSocket(EPoll &ePoll, std::string text) (defined in core::TCPSocket) | core::TCPSocket | |
write(std::string data) | core::Socket | |
write(char *buffer, int length) (defined in core::Socket) | core::Socket | |
~Socket() | core::Socket | |
~TCPSocket() (defined in core::TCPSocket) | core::TCPSocket | |
~Socket() | core::Socket | virtual |
~TCPSocket() (defined in core::TCPSocket) | core::TCPSocket | virtual |
This is the complete list of members for core::TLSServer, including all inherited members.
blackList | core::TCPServer | |
check(coreutils::ZString &request) | core::Command | virtual |
commands | core::TCPServer | |
connect(IPAddress &address) (defined in core::TCPSocket) | core::TCPSocket | |
ctx (defined in core::TLSServer) | core::TLSServer | |
ePoll (defined in core::Socket) | core::Socket | protected |
eventReceived(struct epoll_event event) | core::Socket | |
getBufferSize() (defined in core::Socket) | core::Socket | protected |
getDescriptor() | core::Socket | |
getName() (defined in core::Command) | core::Command | |
commands | core::TCPServer | |
connect(IPAddress &address) (defined in core::TCPSocket) | core::TCPSocket | |
ctx (defined in core::TLSServer) | core::TLSServer | |
ePoll (defined in core::Socket) | core::Socket | protected |
eventReceived(struct epoll_event event) | core::Socket | |
getBufferSize() (defined in core::Socket) | core::Socket | protected |
getDescriptor() | core::Socket | |
getSocketAccept() (defined in core::TLSServer) | core::TLSServer | |
core::TCPServer::getSocketAccept(EPoll &epoll) | core::TCPServer | virtual |
ipAddress (defined in core::TCPSocket) | core::TCPSocket | |
sessions | core::TCPServer | |
setBufferSize(int length) (defined in core::Socket) | core::Socket | protected |
setDescriptor(int descriptor) | core::Socket | |
setName(std::string name) | core::Command | |
shutdown(std::string text="unknown") | core::Socket | |
shutDown (defined in core::Socket) | core::Socket | protected |
Socket(EPoll &ePoll, std::string text="") | core::Socket | |
TCPServer(EPoll &ePoll, IPAddress address, std::string delimiter=" ", std::string text="") | core::TCPServer | |
shutdown(std::string text="unknown") | core::Socket | |
shutDown (defined in core::Socket) | core::Socket | protected |
Socket(EPoll &ePoll, std::string text="") | core::Socket | |
subscriptions | core::TCPServer | |
TCPServer(EPoll &ePoll, IPAddress address, std::string delimiter=" ", int depth=10, std::string text="") | core::TCPServer | |
TCPSocket(EPoll &ePoll) (defined in core::TCPSocket) | core::TCPSocket | |
TCPSocket(EPoll &ePoll, std::string text) (defined in core::TCPSocket) | core::TCPSocket | |
TLSServer(EPoll &ePoll, IPAddress address) | core::TLSServer | |
whiteList | core::TCPServer | |
write(std::string data) | core::Socket | |
write(char *buffer, int length) (defined in core::Socket) | core::Socket | |
~Socket() | core::Socket | |
~TCPServer() | core::TCPServer | |
~TCPSocket() (defined in core::TCPSocket) | core::TCPSocket | |
~Socket() | core::Socket | virtual |
~TCPServer() | core::TCPServer | virtual |
~TCPSocket() (defined in core::TCPSocket) | core::TCPSocket | virtual |
~TLSServer() | core::TLSServer |
getSocketAccept () | |
![]() | |
TCPServer (EPoll &ePoll, IPAddress address, std::string delimiter=" ", std::string text="") | |
~TCPServer () | |
TCPServer (EPoll &ePoll, IPAddress address, std::string delimiter=" ", int depth=10, std::string text="") | |
virtual | ~TCPServer () |
virtual void | sessionErrorHandler (std::string errorString, std::stringstream &out) | connect ( | ![]() |
Socket (EPoll &ePoll, std::string text="") | |
~Socket () | |
virtual | ~Socket () |
void | shutdown (std::string text="unknown") |
onUnregister<
bool | needsToWrite () | | ![]() virtual bool | check (coreutils::ZString &request) | | void | setName (std::string name) | |
-std::string | getName () | | |
Public Attributes | ctx | |
IPAddressList * | whiteList | |
SubscriptionManager | subscriptions | |
![]() | ||
IPAddress | ipAddress | |
TLSSession(EPoll &ePoll, TCPServer &server) (defined in core::TLSSession) | core::TLSSession | |
write(std::string data) | core::Socket | |
write(char *buffer, int length) (defined in core::Socket) | core::Socket | |
~Socket() | core::Socket | |
~TCPSession() (defined in core::TCPSession) | core::TCPSession | |
~TCPSocket() (defined in core::TCPSocket) | core::TCPSocket | |
~Socket() | core::Socket | virtual |
~TCPSession() (defined in core::TCPSession) | core::TCPSession | virtual |
~TCPSocket() (defined in core::TCPSocket) | core::TCPSocket | virtual |
~TLSSession() (defined in core::TLSSession) | core::TLSSession |
connect ( | ![]() |
|
Socket (EPoll &ePoll, std::string text="") | ||
~Socket () | ||
virtual | ~Socket () | |
void | shutdown (std::string text="unknown") | |
terminate() | core::TCPSession | |
write(std::string data) | core::Socket | |
write(char *buffer, int length) (defined in core::Socket) | core::Socket | |
~Socket() | core::Socket | |
~TCPSession() (defined in core::TCPSession) | core::TCPSession | |
~TCPSocket() (defined in core::TCPSocket) | core::TCPSocket | |
~Socket() | core::Socket | virtual |
~TCPSession() (defined in core::TCPSession) | core::TCPSession | virtual |
~TCPSocket() (defined in core::TCPSocket) | core::TCPSocket | virtual |
~TerminalSession() (defined in core::TerminalSession) | core::TerminalSession |
connect ( | ![]() |
|
Socket (EPoll &ePoll, std::string text="") | ||
~Socket () | ||
virtual | ~Socket () | |
void | shutdown (std::string text="unknown") | |
check(coreutils::ZString &request) | core::Command | virtual |
ePoll (defined in core::Socket) | core::Socket | protected |
eventReceived(struct epoll_event event) | core::Socket | |
getBufferSize() (defined in core::Socket) | core::Socket | protected |
getDescriptor() | core::Socket | |
getName() (defined in core::Command) | core::Command | |
ePoll (defined in core::Socket) | core::Socket | protected |
eventReceived(struct epoll_event event) | core::Socket | |
getBufferSize() (defined in core::Socket) | core::Socket | protected |
getDescriptor() | core::Socket | |
needsToWrite() (defined in core::Socket) | core::Socket | |
onDataReceived(std::string data) override | core::UDPServerSocket | protectedvirtual |
onDataReceived(coreutils::ZString &data) (defined in core::Socket) | core::Socket | protectedvirtual |
sessions (defined in core::UDPServerSocket) | core::UDPServerSocket | protected |
setBufferSize(int length) (defined in core::Socket) | core::Socket | protected |
setDescriptor(int descriptor) | core::Socket | |
setName(std::string name) | core::Command | |
shutDown (defined in core::Socket) | core::Socket | protected |
shutdown(std::string text="unknown") | core::Socket | |
Socket(EPoll &ePoll, std::string text="") | core::Socket | |
UDPServerSocket(EPoll &ePoll, std::string url, short int port, std::string commandName) (defined in core::UDPServerSocket) | core::UDPServerSocket | |
UDPSocket(EPoll &ePoll) (defined in core::UDPSocket) | core::UDPSocket | |
write(std::string data) | core::Socket | |
write(char *buffer, int length) (defined in core::Socket) | core::Socket | |
~Socket() | core::Socket | |
~UDPServerSocket() (defined in core::UDPServerSocket) | core::UDPServerSocket | |
~UDPSocket() (defined in core::UDPSocket) | core::UDPSocket | |
shutDown (defined in core::Socket) | core::Socket | protected |
Socket(EPoll &ePoll, std::string text="") | core::Socket | |
UDPServerSocket(EPoll &ePoll, std::string url, short int port, std::string commandName) (defined in core::UDPServerSocket) | core::UDPServerSocket | |
UDPSocket(EPoll &ePoll) (defined in core::UDPSocket) | core::UDPSocket | |
write(std::string data) | core::Socket | |
write(char *buffer, int length) (defined in core::Socket) | core::Socket | |
~Socket() | core::Socket | virtual |
~UDPServerSocket() (defined in core::UDPServerSocket) | core::UDPServerSocket | |
~UDPSocket() (defined in core::UDPSocket) | core::UDPSocket |
Protected Member Functions | ||
UDPSocket(EPoll &ePoll) (defined in core::UDPSocket) | core::UDPSocket | |
write(std::string data) | core::Socket | |
write(char *buffer, int length) (defined in core::Socket) | core::Socket | |
~Socket() | core::Socket | |
~Socket() | core::Socket | virtual |
~UDPSocket() (defined in core::UDPSocket) | core::UDPSocket |
s |
u |
t |
o |
e |
t |
u |