C# Class DBus.ServerBus

Inheritance: org.freedesktop.DBus.IBus
Show file Open project: brookpatten/dbus-sharp Class Usage Examples

Public Properties

Property Type Description
Path ObjectPath
allowActivation bool
busType string
svcPath string

Private Properties

Property Type Description
BusNameIsValid bool
CreateUniqueName string
HandleMessage void
RaiseNameSignal void
StartProcess void
StartProcessNamed bool
ValidateBusName string

Public Methods

Method Description
AddConnection ( DBus.Connection conn ) : void
AddMatch ( string rule ) : void
GetConnectionSELinuxSecurityContext ( string connection_name ) : byte[]
GetConnectionUnixProcessID ( string connection_name ) : uint
GetConnectionUnixUser ( string name ) : uint
GetId ( ) : string
GetNameOwner ( string name ) : string
Hello ( ) : string
ListActivatableNames ( ) : string[]
ListNames ( ) : string[]
ListQueuedOwners ( string name ) : string[]
NameHasOwner ( string name ) : bool
ReleaseName ( string name ) : ReleaseNameReply
ReloadConfig ( ) : void
RemoveConnection ( DBus.Connection conn ) : void
RemoveMatch ( string rule ) : void
RequestName ( string name, NameFlag flags ) : RequestNameReply
ScanServices ( ) : void
StartServiceByName ( string name, uint flags ) : StartReply
UpdateActivationEnvironment ( string>.IDictionary environment ) : void

Private Methods

Method Description
BusNameIsValid ( string name, string &nameError ) : bool
CreateUniqueName ( ) : string
HandleMessage ( DBus.Message msg ) : void
RaiseNameSignal ( string memberSuffix, string name ) : void
StartProcess ( string fname ) : void
StartProcessNamed ( string name ) : bool
ValidateBusName ( string name ) : string

Method Details

AddConnection() public method

public AddConnection ( DBus.Connection conn ) : void
conn DBus.Connection
return void

AddMatch() public method

public AddMatch ( string rule ) : void
rule string
return void

GetConnectionSELinuxSecurityContext() public method

public GetConnectionSELinuxSecurityContext ( string connection_name ) : byte[]
connection_name string
return byte[]

GetConnectionUnixProcessID() public method

public GetConnectionUnixProcessID ( string connection_name ) : uint
connection_name string
return uint

GetConnectionUnixUser() public method

public GetConnectionUnixUser ( string name ) : uint
name string
return uint

GetId() public method

public GetId ( ) : string
return string

GetNameOwner() public method

public GetNameOwner ( string name ) : string
name string
return string

Hello() public method

public Hello ( ) : string
return string

ListActivatableNames() public method

public ListActivatableNames ( ) : string[]
return string[]

ListNames() public method

public ListNames ( ) : string[]
return string[]

ListQueuedOwners() public method

public ListQueuedOwners ( string name ) : string[]
name string
return string[]

NameHasOwner() public method

public NameHasOwner ( string name ) : bool
name string
return bool

ReleaseName() public method

public ReleaseName ( string name ) : ReleaseNameReply
name string
return ReleaseNameReply

ReloadConfig() public method

public ReloadConfig ( ) : void
return void

RemoveConnection() public method

public RemoveConnection ( DBus.Connection conn ) : void
conn DBus.Connection
return void

RemoveMatch() public method

public RemoveMatch ( string rule ) : void
rule string
return void

RequestName() public method

public RequestName ( string name, NameFlag flags ) : RequestNameReply
name string
flags NameFlag
return RequestNameReply

ScanServices() public method

public ScanServices ( ) : void
return void

StartServiceByName() public method

public StartServiceByName ( string name, uint flags ) : StartReply
name string
flags uint
return StartReply

UpdateActivationEnvironment() public method

public UpdateActivationEnvironment ( string>.IDictionary environment ) : void
environment string>.IDictionary
return void

Property Details

Path public static property

public static ObjectPath Path
return ObjectPath

allowActivation public property

public bool allowActivation
return bool

busType public property

public string busType
return string

svcPath public property

public string svcPath
return string