monky-2.2.1.0: A system state collecting library and application

Maintainerongy
Stabilitytesting
PortabilityLinux
Safe HaskellNone
LanguageHaskell2010

Monky.Examples.MPD

Description

 

Synopsis

Documentation

data MPDHandle Source #

The handle for this example

getMPDHandle Source #

Arguments

:: String

The host to connect to

-> String

The port to connect to

-> IO MPDHandle 

Get an MPDHandle (server has to be running when this is executed)

getMPDHandleF Source #

Arguments

:: String

The host to connect to

-> String

The port to connect to

-> ConvertFun

The function to extract the text

-> IO MPDHandle 

Get the MPDHandle with a custom conversion function. You will need to import MPD to get the definitions into scope