My Project
Public Member Functions | List of all members
core::SubscriptionManager Class Reference
Inheritance diagram for core::SubscriptionManager:
Inheritance graph
[legend]
Collaboration diagram for core::SubscriptionManager:
Collaboration graph
[legend]

Public Member Functions

int add (Subscription &subscription)
 
int addHandler (std::string name, SubscriptionHandler *handler)
 
int removeSessionSubscriptions (TCPSession &session)
 
int processCommand (coreutils::ZString &request, TCPSession &session) override
 
- Public Member Functions inherited from core::Command
virtual void output (std::stringstream &out)
 

Member Function Documentation

◆ processCommand()

int core::SubscriptionManager::processCommand ( coreutils::ZString &  request,
TCPSession session 
)
overridevirtual

This method is used to implement the functionality of the requested command. This pure virtual function must be implemented in your inheriting object.

Parameters
requestThe request that was entered by the user to invoke this command.
sessionSpecify the requesting session so that the execution of the command process can return its output to the session.
Returns
Returns 0 if execution of the command was successful. Otherwise returns a non-zero value indicating an error condition.

Reimplemented from core::Command.


The documentation for this class was generated from the following files: