C# Class Avahi.Client

Inheritance: IDisposable
Mostra file Open project: RidgeRun/eval-sdk-imx6-hummingboard Class Usage Examples

Private Properties

Property Type Description
OnClientCallback void
OnPollCallback int
PollLoop void
ThrowError void
avahi_client_errno int
avahi_client_free void
avahi_client_get_domain_name System.IntPtr
avahi_client_get_host_name System.IntPtr
avahi_client_get_host_name_fqdn System.IntPtr
avahi_client_get_local_service_cookie uint
avahi_client_get_state ClientState
avahi_client_get_version_string System.IntPtr
avahi_client_new System.IntPtr
avahi_service_name_join int
avahi_service_name_split int
avahi_simple_poll_free void
avahi_simple_poll_get System.IntPtr
avahi_simple_poll_loop int
avahi_simple_poll_new System.IntPtr
avahi_simple_poll_quit void
avahi_simple_poll_set_func void
poll int

Public Methods

Method Description
Client ( ) : System
Client ( ClientFlags flags ) : System
Dispose ( ) : void
JoinServiceName ( string name, string type, string domain ) : string
SplitServiceName ( string service, string &name, string &type, string &domain ) : void

Private Methods

Method Description
OnClientCallback ( IntPtr client, ClientState state, IntPtr userData ) : void
OnPollCallback ( IntPtr ufds, uint nfds, int timeout ) : int
PollLoop ( ) : void
ThrowError ( ) : void
avahi_client_errno ( IntPtr handle ) : int
avahi_client_free ( IntPtr handle ) : void
avahi_client_get_domain_name ( IntPtr handle ) : IntPtr
avahi_client_get_host_name ( IntPtr handle ) : IntPtr
avahi_client_get_host_name_fqdn ( IntPtr handle ) : IntPtr
avahi_client_get_local_service_cookie ( IntPtr client ) : uint
avahi_client_get_state ( IntPtr handle ) : ClientState
avahi_client_get_version_string ( IntPtr handle ) : IntPtr
avahi_client_new ( IntPtr poll, ClientFlags flags, ClientCallback handler, IntPtr userData, int &error ) : IntPtr
avahi_service_name_join ( IntPtr buf, int len, byte name, byte type, byte domain ) : int
avahi_service_name_split ( byte service, IntPtr name, int name_len, IntPtr type, int type_len, IntPtr domain, int domain_len ) : int
avahi_simple_poll_free ( IntPtr spoll ) : void
avahi_simple_poll_get ( IntPtr spoll ) : IntPtr
avahi_simple_poll_loop ( IntPtr spoll ) : int
avahi_simple_poll_new ( ) : IntPtr
avahi_simple_poll_quit ( IntPtr spoll ) : void
avahi_simple_poll_set_func ( IntPtr spoll, PollCallback cb ) : void
poll ( IntPtr ufds, uint nfds, int timeout ) : int

Method Details

Client() public method

public Client ( ) : System
return System

Client() public method

public Client ( ClientFlags flags ) : System
flags ClientFlags
return System

Dispose() public method

public Dispose ( ) : void
return void

JoinServiceName() public static method

public static JoinServiceName ( string name, string type, string domain ) : string
name string
type string
domain string
return string

SplitServiceName() public static method

public static SplitServiceName ( string service, string &name, string &type, string &domain ) : void
service string
name string
type string
domain string
return void