Method | Description | |
---|---|---|
Connect ( ) : void |
Connects to the MPD server who's IPEndPoint was set in the Server property.
|
|
Connect ( |
Connects to a MPD server.
|
|
Disconnect ( ) : void |
Disconnects from the current MPD server.
|
|
Exec ( string command ) : MpdResponse |
Executes a simple command without arguments on the MPD server and returns the response.
|
|
Exec ( string command, string argument ) : MpdResponse |
Executes a MPD command with arguments on the MPD server.
|
|
Idle ( |
Puts the client in idle mode for the given subsystems
|
|
MpcConnection ( ) : System |
Creates a new MpdConnection.
|
|
MpcConnection ( |
Creates a new MpdConnection.
|
Method | Description | |
---|---|---|
CheckConnected ( ) : void | ||
ClearConnectionFields ( ) : void | ||
WriteToken ( string token ) : void | ||
readResponse ( ) : MpdResponse |
public Connect ( |
||
server | The IPEndPoint of the server. | |
return | void |
public Exec ( string command ) : MpdResponse | ||
command | string | The command to execute. |
return | MpdResponse |
public Exec ( string command, string argument ) : MpdResponse | ||
command | string | The command to execute. |
argument | string | The arguments of the command. |
return | MpdResponse |
public Idle ( |
||
subsystems | The subsystems to listen to. | |
return | void |
public MpcConnection ( |
||
server | The IPEndPoint of the MPD server. | |
return | System |