Linux and UNIX Man Pages

Linux & Unix Commands - Search Man Pages

shevek_avahi_browser(3) [debian man page]

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

NAME
shevek::avahi::browser - Class for browsing other hosts. SYNOPSIS
#include <avahi.hh> Inherits shevek::refbase. Classes struct details Details about a discovered service. These are internally created and may be examined by the application. struct owner Information about a discovered server. Public Types typedef std::set< details > details_list Container class for a list of details. typedef std::map < Glib::ustring, owner > list" Container class for a list of owners. Public Member Functions list const & get_list () Access the list of owners. sigc::signal1< void, Glib::ustring const & > signal_changed ()" Signal to be notified when the list changes. ~browser () The destructor cleans everything up. Static Public Member Functions static Glib::RefPtr< browser > create (Glib::ustring const &protocol) Create a browser class without an existing avahi object. Don't use this if you have an avahi object; use avahi::create_browser instead. static list get_list_block (Glib::ustring const &protocol, Glib::ustring const &name=Glib::ustring()) Synchronously get a list of owners. When using this, the servers are not monitored, so you will not be notified of any changes. Friends class avahi Detailed Description Class for browsing other hosts. Author Generated automatically by Doxygen for libshevek from the source code. libshevek Fri May 11 2012 shevek::avahi::browser(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