Inetd.h File Reference

#include <map>
#include "Service.h"
#include "TcpServer.h"
#include "Core.h"
#include "S11nInetdItem.h"
#include "Registry.h"

Include dependency graph for Inetd.h:

This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

class  Inetd

Variables

static const char *const MSG_INETD_UNKNOWN_SERVER = "Unknown server."
static const char *const MSG_INETD_SERVICE_INSTANCE_STARTED = "Instance of service '%s' started for user '%s' from host '%s'."
static const char *const MSG_INETD_AUTHORIZATION_FAILED = "Authorization failed."
static const char *const MSG_INETD_LOGIN = "Login: "
static const char *const MSG_INETD_PASSWORD = "Password: "
static const char *const NAME_INETD = "inetd"
static const char *const MAN_INETD
static const char *const MAN_INETD_SERVICES


Variable Documentation

const char* const MAN_INETD [static]

Initial value:

 "\
Service <service>inetd</service> is inspired by <keyword>Unix</keyword> inetd daemon. \
So, it performs the same function. It uses <registry>inetd.services</registry> registry \
entry to obtain the list of services to be started. This registry entry contains pairs of \
service name and correspondent <keyword>TCP</keyword> port. When incoming connection appears \
on that port <service>inetd</service> starts the correspondent service. It passes <keyword>TCP</keyword> \
session as a parameter to started service.\
"

Definition at line 26 of file Inetd.h.

Referenced by Inetd::MANUAL().

const char* const MAN_INETD_SERVICES [static]

Initial value:

 "\
<registry>vector<InetdItem> init.services()</registry>\n\n\
Contains service name and correspondent <keyword>TCP</keyword> port, login and password, \
allowed and denied IP network addresses (last four are optional). When incoming connection appears \
on that port <service>inetd</service> authenticates the user and in case of success starts \
the correspondent service. It passes <keyword>TCP</keyword> \
session as a parameter to started service.\
"

Definition at line 37 of file Inetd.h.

const char* const MSG_INETD_AUTHORIZATION_FAILED = "Authorization failed." [static]

Definition at line 21 of file Inetd.h.

Referenced by Inetd::authorize().

const char* const MSG_INETD_LOGIN = "Login: " [static]

Definition at line 22 of file Inetd.h.

Referenced by Inetd::authorize().

const char* const MSG_INETD_PASSWORD = "Password: " [static]

Definition at line 23 of file Inetd.h.

Referenced by Inetd::authorize().

const char* const MSG_INETD_SERVICE_INSTANCE_STARTED = "Instance of service '%s' started for user '%s' from host '%s'." [static]

Definition at line 20 of file Inetd.h.

const char* const MSG_INETD_UNKNOWN_SERVER = "Unknown server." [static]

Definition at line 19 of file Inetd.h.

const char* const NAME_INETD = "inetd" [static]

Definition at line 25 of file Inetd.h.

Referenced by Inetd::NAME().


Generated on Thu Sep 6 20:11:49 2007 for Pylon Application Platform by  doxygen 1.5.1