simplexmq-6.5.0.8: SimpleXMQ message broker
Safe HaskellNone
LanguageHaskell2010

Simplex.FileTransfer.Server.Store

Documentation

data FileRec Source #

Constructors

FileRec 

Fields

data FileRecipient Source #

Instances

Instances details
Show FileRecipient Source # 
Instance details

Defined in Simplex.FileTransfer.Server.Store

Methods

showsPrec :: Int -> FileRecipient -> ShowS

show :: FileRecipient -> String

showList :: [FileRecipient] -> ShowS

StrEncoding FileRecipient Source # 
Instance details

Defined in Simplex.FileTransfer.Server.Store

Methods

strEncode :: FileRecipient -> ByteString Source #

strDecode :: ByteString -> Either String FileRecipient Source #

strP :: Parser FileRecipient Source #

setFilePath :: FileStore -> SenderId -> FilePath -> STM (Either XFTPErrorType ()) Source #

blockFile :: FileStore -> SenderId -> BlockingInfo -> Bool -> STM (Either XFTPErrorType ()) Source #

expiredFilePath :: FileStore -> XFTPFileId -> Int64 -> STM (Maybe (Maybe FilePath)) Source #