simplexmq-6.5.0.8: SimpleXMQ message broker
Safe HaskellNone
LanguageHaskell2010

Simplex.FileTransfer.Server

Documentation

type M a = ReaderT XFTPEnv IO a Source #

data XFTPTransportRequest Source #

Constructors

XFTPTransportRequest 

Fields

xftpServer :: XFTPServerConfig -> TMVar Bool -> M () Source #

data ServerFile Source #

Constructors

ServerFile 

Fields

deleteOrBlockServerFile_ :: FileRec -> (FileServerStats -> IORef Int) -> (FileStore -> STM (Either XFTPErrorType ())) -> M (Either XFTPErrorType ()) Source #

randomId :: Int -> M ByteString Source #

withFileLog :: (StoreLog 'WriteMode -> IO a) -> M () Source #

incFileStat :: (FileServerStats -> IORef Int) -> M () Source #