Linux and UNIX Man Pages

Linux & Unix Commands - Search Man Pages

shevek_server_connection(3) [debian man page]

shevek::server< client, serverdata >::connection(3)	     Library Functions Manual	       shevek::server< client, serverdata >::connection(3)

NAME
shevek::server< client, serverdata >::connection - Base of the client class which is implemented by the calling program. SYNOPSIS
#include <server.hh> Inherits shevek::refbase. Public Member Functions void continue_reading () This is called after in->unread (), to resume accepting data from this connection. ~connection () Destructor. Public Attributes Glib::RefPtr< shevek::fd > in The input socket. The client can stop reading from this connection by calling in->unread (). Glib::RefPtr< shevek::fd > out The output socket. This is used to send data to the connection. Protected Member Functions connection () The client class can construct this object with its create function. Glib::RefPtr< server< client, serverdata > > get_server ()" Access to the server object which hosts this client. void disconnect () This can be called by the client object to close this connection. Friends class server< client, serverdata > Detailed Description template<typename client, typename serverdata>struct shevek::server< client, serverdata >::connection Base of the client class which is implemented by the calling program. A client object is created for every connection which is accepted. This class handles server administration and provides access to members from the client class. Author Generated automatically by Doxygen for libshevek from the source code. libshevek Fri May 11 2012 shevek::server< client, serverdata >::connection(3)

Check Out this Related Man Page

shevek::avahi(3)					     Library Functions Manual						  shevek::avahi(3)

NAME
shevek::avahi - Serve and browse the local network using avahi. SYNOPSIS
#include <avahi.hh> Inherits shevek::refbase. Classes class browser Class for browsing other hosts. Public Member Functions void publish (Glib::ustring const &protocol, int port) Publish a service on a port. Glib::RefPtr< browser > create_browser (Glib::ustring const &protocol) Create a browser and populate it with a list of available hosts for the requested protocol. ~avahi () Unpublish all ports and free all structures associated with the object. Static Public Member Functions static Glib::RefPtr< avahi > create (Glib::ustring const &name=Glib::ustring()) Create an avahi object for serving and/or browsing. Detailed Description Serve and browse the local network using avahi. Easy to use interface for serving and browsing avahi-supporting hosts. Note that it is not as configurable as using libavahi directly. Member Function Documentation Glib::RefPtr< avahi::browser > shevek::avahi::create_browser (Glib::ustring const &protocol) [inline] Create a browser and populate it with a list of available hosts for the requested protocol. The browser must not contain a leading underscore, and must not contain the protocol specification. The actual requested port is _NAME._tcp. It is not possible to browse udp with this class. void shevek::avahi::publish (Glib::ustring const &protocol, intport) Publish a service on a port. The protocol is the name of the protocol, without leading underscore and without protocol specification. The published port is _NAME._tcp. It is not possible to publish over udp with this class. Note that you must separately set up a server to listen on the port. Author Generated automatically by Doxygen for libshevek from the source code. libshevek Fri May 11 2012 shevek::avahi(3)
Man Page