#include <shibsp/remoting/impl/SocketListener.h>
Inheritance diagram for shibsp::SocketListener:

Public Types | |
| typedef int | ShibSocket |
Public Member Functions | |
| SocketListener (const xercesc::DOMElement *e) | |
| OFF | |
| DDF | send (const DDF &in) |
| Send a remoted message and return the response. | |
| bool | init (bool force) |
| OutOfProcess servers can implement server-side initialization that should occur before daemonization. | |
| bool | run (bool *shutdown) |
| OutOfProcess servers can implement server-side transport handling by calling the run method and supplying a flag to monitor for shutdown. | |
| void | term () |
| OutOfProcess servers can implement server-side termination/cleanup. | |
| virtual bool | create (ShibSocket &s) const =0 |
| virtual bool | connect (ShibSocket &s) const =0 |
| virtual bool | bind (ShibSocket &s, bool force=false) const =0 |
| virtual bool | accept (ShibSocket &listener, ShibSocket &s) const =0 |
| virtual bool | close (ShibSocket &s) const =0 |
| virtual int | send (ShibSocket &s, const char *buf, int len) const =0 |
| virtual int | recv (ShibSocket &s, char *buf, int buflen) const =0 |
Public Attributes | |
| bool | m_catchAll |
Protected Member Functions | |
| bool | log_error () const |
Protected Attributes | |
| xmltooling::logging::Category * | log |
Friends | |
| class | ServerThread |
|
|
OutOfProcess servers can implement server-side initialization that should occur before daemonization. The parameter applies to implementations that can detect and remove the results of ungraceful shutdowns of previous executions and continue successfully. File-based sockets are the most common example.
Reimplemented from shibsp::ListenerService. |
|
|
OutOfProcess servers can implement server-side transport handling by calling the run method and supplying a flag to monitor for shutdown.
Implements shibsp::ListenerService. |
|
|
Send a remoted message and return the response.
Implements shibsp::ListenerService. |
1.3.9.1