C# Class DBus.Bus

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

Public Methods

Method Description
Bus ( string address ) : System
GetId ( ) : string
GetUnixUser ( string name ) : ulong
NameHasOwner ( string name ) : bool
Open ( string address ) : Bus
ReleaseName ( string name ) : ReleaseNameReply
RequestName ( string name ) : RequestNameReply
RequestName ( string name, NameFlag flags ) : RequestNameReply
StartServiceByName ( string name ) : StartReply
StartServiceByName ( string name, uint flags ) : StartReply

Protected Methods

Method Description
AddMatch ( string rule ) : void
CheckBusNameExists ( string busName ) : bool
CloseInternal ( ) : void
RemoveMatch ( string rule ) : void

Private Methods

Method Description
Register ( ) : void

Method Details

AddMatch() protected method

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

Bus() public method

public Bus ( string address ) : System
address string
return System

CheckBusNameExists() protected method

protected CheckBusNameExists ( string busName ) : bool
busName string
return bool

CloseInternal() protected method

protected CloseInternal ( ) : void
return void

GetId() public method

public GetId ( ) : string
return string

GetUnixUser() public method

public GetUnixUser ( string name ) : ulong
name string
return ulong

NameHasOwner() public method

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

Open() public static method

public static Open ( string address ) : Bus
address string
return Bus

ReleaseName() public method

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

RemoveMatch() protected method

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

RequestName() public method

public RequestName ( string name ) : RequestNameReply
name string
return RequestNameReply

RequestName() public method

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

StartServiceByName() public method

public StartServiceByName ( string name ) : StartReply
name string
return StartReply

StartServiceByName() public method

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