GObject.Object
 Gio.DBusServer
                Gio.DBusServer
		   
| Import line: | Gio = imports.gi.Gio; | 
| GIR File: | Gio-2.0.gir | 
| C documentation: | GDBusServer | 
| Class : | DBusServer | 
| Implements: | Gio.Initable | 
| Extends: | GObject.Object | 
| Properties | Defined By | |
|---|---|---|
| 
				active : gboolean 
                 read only  
                     
			 Whether the server is currently active. Whether the server is currently active. | Gio.DBusServer | |
| 
				address : String 
                   
                     
			 The D-Bus address to listen on. The D-Bus address to listen on. | Gio.DBusServer | |
| 
				authentication_observer : Gio.DBusAuthObserver 
                   
                     
			 A GDBusAuthObserver object to assist in the authentication process or NULL. A GDBusAuthObserver object to assist in the authentication process or NULL. | Gio.DBusServer | |
| 
				client_address : String 
                 read only  
                     
			 The D-Bus address that clients can use. The D-Bus address that clients can use. | Gio.DBusServer | |
| 
				flags : Gio.DBusServerFlags 
                   
                     
			 Flags from the GDBusServerFlags enumeration. Flags from the GDBusServerFlags enumeration. | Gio.DBusServer | |
| 
				guid : String 
                   
                     
			 The guid of the server. The guid of the server. | Gio.DBusServer | |
| Method / Constructor | Defined By | |
|---|---|---|
| 
			new  Gio.DBusServer
				
				 (Object properties) 
			
				
			
		 Create a new Gio.DBusServer 
			
			
			
				Create a new Gio.DBusServer
			
			
				 
 | ||
| 
			new  Gio.DBusServer.sync
				
				 (String address, DBusServerFlags flags, String guid, DBusAuthObserver observer, Cancellable cancellable) 
			
				
					 : 
					Gio.DBusServer
					
				
			
		 Create a new Gio.DBusServer 
			
			
			
				Create a new Gio.DBusServer
			
			
				 
 
 | ||
| 
			get_client_address
				
				 () 
			
				
					 : 
					String
					
				
			
		 Gets a D-Bus address string that can be used by clients to connect to server. 
			
				Gets a D-Bus address string that can be used by clients to connect to server. by server. 
 | Gio.DBusServer | |
| 
			get_flags
				
				 () 
			
				
					 : 
					Gio.DBusServerFlags
					
				
			
		 Gets the flags for server. 
			
				Gets the flags for server.
		    
				
			
			
			
			
			
			 
			
			
				 
 | Gio.DBusServer | |
| 
			get_guid
				
				 () 
			
				
					 : 
					String
					
				
			
		 Gets the GUID for server. 
			
				Gets the GUID for server.
		    
				
			
			
			
			
			
			 
			
			
				 
 | Gio.DBusServer | |
| 
			init
				
				 (Cancellable cancellable) 
			
				
					 : 
					gboolean
					
				
			
		 Initializes the object implementing the interface. 
			
				Initializes the object implementing the interface. This must be done before any real use of the object after initial construction. Implementations may also support cancellation. If cancellable is not NULL, then initialization can be cancelled by triggering the cancellable object from another thread. If the operation was cancelled, the error G_IO_ERROR_CANCELLED will be returned. If cancellable is not NULL and the object doesn't support cancellable initialization the error G_IO_ERROR_NOT_SUPPORTED will be returned. If this function is not called, or returns with an error then all operations on the object should fail, generally returning the error G_IO_ERROR_NOT_INITIALIZED. Implementations of this method must be idempotent, i.e. multiple calls to this function with the same argument should return the same results. Only the first call initializes the object, further calls return the result of the first call. This is so that its safe to implement the singleton pattern in the GObject constructor function. return FALSE and set error appropriately if present. 
 
 | Gio.Initable | |
| 
			is_active
				
				 () 
			
				
					 : 
					gboolean
					
				
			
		 Gets whether server is active. 
			
				Gets whether server is active.
		    
				
			
			
			
			
			
			 
			
			
				 
 | Gio.DBusServer | |
| 
			start
				
				 () 
			
				
					 : 
					none
					
				
			
		 Starts server. 
			
				Starts server.
		    
				
			
			
			
			
			
			 
			
			
				 
 | Gio.DBusServer | |
| 
			stop
				
				 () 
			
				
					 : 
					none
					
				
			
		 Stops server. 
			
				Stops server.
		    
				
			
			
			
			
			
			 
			
			
				 
 | Gio.DBusServer | |
| Event | Defined By | |
|---|---|---|
| Emitted when a new authenticated connection has been made.
		   
		 
		    
			Emitted when a new authenticated connection has been made. Use g_dbus_connection_get_peer_credentials() to figure out what identity (if any), was authenticated. If you want to accept the connection, take a reference to the connection call g_dbus_connection_close() and give up your reference. Note that the other peer may disconnect at any time - a typical thing to do when accepting a connection is to listen to the GDBusConnection::closed signal. If GDBusServer:flags contains G_DBUS_SERVER_FLAGS_RUN_IN_THREAD then the signal is emitted in a new thread dedicated to the connection. Otherwise the signal is emitted in the linkend="g-main-context-push-thread-default">thread-default main loop of the thread that server was constructed in. You are guaranteed that signal handlers for this signal runs before incoming messages on connection are processed. This means that it's suitable to call g_dbus_connection_register_object() or similar from the signal handler. run. 
 
 | Gio.DBusServer | |