#include <CTCLListener.h>
Public Methods | |
CTCLListener (int nPort, CTclAuthorizer *pAuth) | |
Construct using port value. | |
virtual | ~CTCLListener () |
Destructor. | |
Protected Methods | |
virtual void | OnConnection (CSocket *pPeer) |
virtual bool | Authenticate (CSocket *pPeer) |
Private Methods | |
CTCLListener (const CTCLListener &rhs) | |
Copy constructor. | |
CTCLListener & | operator= (const CTCLListener &rhs) |
Assignment. | |
int | operator== (const CTCLListener &rhs) const |
Comparison for equality. | |
int | operator!= (const CTCLListener &rhs) const |
Private Attributes | |
CTclAuthorizer * | m_pAuthorizer |
Definition at line 301 of file CTCLListener.h.
|
Construct using port value. Default constructor. This is called when declarations of the form e.g.:
Definition at line 310 of file CTCLListener.cpp. References CReadoutMain::getInstance(), CReadoutMain::getInterpreter(), CInterpreterShell::getInterpreterCore(), CInterpreterCore::getStartup(), and itoa(). |
|
Destructor.
Definition at line 310 of file CTCLListener.h. |
|
Copy constructor.
|
|
Return True if the supplied socket is authorized to connect to this server.
Definition at line 357 of file CTCLListener.cpp. References CTclAuthorizer::Authenticate(), and m_pAuthorizer. Referenced by OnConnection(). |
|
Processes connection requests:
Definition at line 338 of file CTCLListener.cpp. References Authenticate(). |
|
|
|
Assignment.
|
|
Comparison for equality.
|
|
Definition at line 304 of file CTCLListener.h. Referenced by Authenticate(). |