Safe Haskell | None |
---|
Documentation
Factory | |
|
initialize :: (ByteString -> ByteString) -> Int -> Int -> ByteString -> CTime -> FactorySource
initializeIO :: (ByteString -> ByteString) -> Int -> Int -> ByteString -> CTime -> IO FactorySource
authenticate :: Serialize b => Factory -> b -> ByteStringSource
authenticateBS :: Factory -> (b -> ByteString) -> b -> ByteStringSource
validUntil :: Factory -> EpochTimeSource
shouldRefresh :: Factory -> EpochTime -> BoolSource
getNext :: Factory -> (Factory, ByteString)Source
getMessages :: Int -> Factory -> (Factory, [ByteString])Source
getMessagesIO :: IORef Factory -> Int -> IO [ByteString]Source