C# Class Chimney.MPD.ChimneyMPDBase

Inheritance: INotifyPropertyChanged
Afficher le fichier Open project: opengd/Chimney

Méthodes publiques

Свойство Type Description
host string
name string
password string
port string
streamSocketListner Windows.Networking.Sockets.StreamSocketListener

Protected Properties

Свойство Type Description
connectionproblem bool
idle bool

Méthodes publiques

Méthode 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

Méthodes protégées

Méthode Description
NotifyPropertyChanged ( [ propertyName = "" ) : void
SendConnectionProblem ( ) : void

Private Methods

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

Method Details

CheckConnection() public méthode

public CheckConnection ( bool silent = true, bool retry = false ) : Task
silent bool
retry bool
Résultat Task

Close() public méthode

public Close ( bool connectionproblem = false ) : Task
connectionproblem bool
Résultat Task

Connect() public méthode

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
Résultat Task

Disconnect() public méthode

public Disconnect ( ) : Task
Résultat Task

Idle() public méthode

public Idle ( string subsystems = "" ) : Task>
subsystems string
Résultat Task>

NoIdle() public méthode

public NoIdle ( ) : System.Threading.Tasks.Task
Résultat System.Threading.Tasks.Task

NotifyPropertyChanged() protected méthode

protected NotifyPropertyChanged ( [ propertyName = "" ) : void
propertyName [
Résultat void

Password() public méthode

public Password ( string password, bool closesocket = true ) : Task
password string
closesocket bool
Résultat Task

Ping() public méthode

public Ping ( bool silent = true, bool retry = false ) : Task
silent bool
retry bool
Résultat Task

RefreshConnection() public méthode

public RefreshConnection ( ) : Task
Résultat Task

Response() public méthode

public Response ( int qId ) : Task
qId int
Résultat Task

Send() public méthode

public Send ( string cmd ) : Task
cmd string
Résultat Task

Send() public méthode

public Send ( string cmd, List args ) : Task
cmd string
args List
Résultat Task

Send() public méthode

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

SendConnectionProblem() protected méthode

protected SendConnectionProblem ( ) : void
Résultat void

TestConnect() public méthode

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
Résultat bool>>.Task

TestPermission() public méthode

public TestPermission ( ) : Status>>.Task
Résultat Status>>.Task

Property Details

connectionproblem protected_oe property

protected bool connectionproblem
Résultat bool

host public_oe property

public string host
Résultat string

idle protected_oe property

protected bool idle
Résultat bool

name public_oe property

public string name
Résultat string

password public_oe property

public string password
Résultat string

port public_oe property

public string port
Résultat string

streamSocketListner public_oe property

public StreamSocketListener,Windows.Networking.Sockets streamSocketListner
Résultat Windows.Networking.Sockets.StreamSocketListener