C# Class Chimney.MPD.ChimneyMPDBase

Inheritance: INotifyPropertyChanged
Show file Open project: opengd/Chimney

Public Properties

Property Type Description
host string
name string
password string
port string
streamSocketListner Windows.Networking.Sockets.StreamSocketListener

Protected Properties

Property Type Description
connectionproblem bool
idle bool

Public Methods

Method Description
CheckConnection ( bool silent = true, bool retry = false ) : Task
Close ( bool connectionproblem = false ) : Task
Connect ( string host, string port, string password = null, bool silent = false, int timeout ) : Task
Disconnect ( ) : Task
Idle ( string subsystems = "" ) : Task>
NoIdle ( ) : System.Threading.Tasks.Task
Password ( string password, bool closesocket = true ) : Task
Ping ( bool silent = true, bool retry = false ) : Task
RefreshConnection ( ) : Task
Response ( int qId ) : Task
Send ( string cmd ) : Task
Send ( string cmd, List args ) : Task
Send ( string cmd, List args, List quoted_args, bool reversarguments = false ) : Task
TestConnect ( string host, string port, string password = null, bool silent = false, int timeout ) : bool>>.Task
TestPermission ( ) : Status>>.Task

Protected Methods

Method Description
NotifyPropertyChanged ( [ propertyName = "" ) : void
SendConnectionProblem ( ) : void

Private Methods

Method Description
RunQueue ( ) : System.Threading.Tasks.Task
Send ( string send, bool silent, bool retry, bool wait ) : Task

Method Details

CheckConnection() public method

public CheckConnection ( bool silent = true, bool retry = false ) : Task
silent bool
retry bool
return Task

Close() public method

public Close ( bool connectionproblem = false ) : Task
connectionproblem bool
return Task

Connect() public method

public Connect ( string host, string port, string password = null, bool silent = false, int timeout ) : Task
host string
port string
password string
silent bool
timeout int
return Task

Disconnect() public method

public Disconnect ( ) : Task
return Task

Idle() public method

public Idle ( string subsystems = "" ) : Task>
subsystems string
return Task>

NoIdle() public method

public NoIdle ( ) : System.Threading.Tasks.Task
return System.Threading.Tasks.Task

NotifyPropertyChanged() protected method

protected NotifyPropertyChanged ( [ propertyName = "" ) : void
propertyName [
return void

Password() public method

public Password ( string password, bool closesocket = true ) : Task
password string
closesocket bool
return Task

Ping() public method

public Ping ( bool silent = true, bool retry = false ) : Task
silent bool
retry bool
return Task

RefreshConnection() public method

public RefreshConnection ( ) : Task
return Task

Response() public method

public Response ( int qId ) : Task
qId int
return Task

Send() public method

public Send ( string cmd ) : Task
cmd string
return Task

Send() public method

public Send ( string cmd, List args ) : Task
cmd string
args List
return Task

Send() public method

public Send ( string cmd, List args, List quoted_args, bool reversarguments = false ) : Task
cmd string
args List
quoted_args List
reversarguments bool
return Task

SendConnectionProblem() protected method

protected SendConnectionProblem ( ) : void
return void

TestConnect() public method

public TestConnect ( string host, string port, string password = null, bool silent = false, int timeout ) : bool>>.Task
host string
port string
password string
silent bool
timeout int
return bool>>.Task

TestPermission() public method

public TestPermission ( ) : Status>>.Task
return Status>>.Task

Property Details

connectionproblem protected property

protected bool connectionproblem
return bool

host public property

public string host
return string

idle protected property

protected bool idle
return bool

name public property

public string name
return string

password public property

public string password
return string

port public property

public string port
return string

streamSocketListner public property

public StreamSocketListener,Windows.Networking.Sockets streamSocketListner
return Windows.Networking.Sockets.StreamSocketListener