Safe Haskell | None |
---|---|
Language | Haskell98 |
Documentation
newtype AsapoProducerHandle Source #
AsapoProducerHandle (Ptr ()) |
Instances
Storable AsapoProducerHandle Source # | |
Defined in Asapo.Raw.Producer sizeOf :: AsapoProducerHandle -> Int # alignment :: AsapoProducerHandle -> Int # peekElemOff :: Ptr AsapoProducerHandle -> Int -> IO AsapoProducerHandle # pokeElemOff :: Ptr AsapoProducerHandle -> Int -> AsapoProducerHandle -> IO () # peekByteOff :: Ptr b -> Int -> IO AsapoProducerHandle # pokeByteOff :: Ptr b -> Int -> AsapoProducerHandle -> IO () # peek :: Ptr AsapoProducerHandle -> IO AsapoProducerHandle # poke :: Ptr AsapoProducerHandle -> AsapoProducerHandle -> IO () # |
newtype AsapoRequestCallbackPayloadHandle Source #
Instances
newtype AsapoMessageHeaderHandle Source #
Instances
Storable AsapoMessageHeaderHandle Source # | |
Defined in Asapo.Raw.Producer sizeOf :: AsapoMessageHeaderHandle -> Int # alignment :: AsapoMessageHeaderHandle -> Int # peekElemOff :: Ptr AsapoMessageHeaderHandle -> Int -> IO AsapoMessageHeaderHandle # pokeElemOff :: Ptr AsapoMessageHeaderHandle -> Int -> AsapoMessageHeaderHandle -> IO () # peekByteOff :: Ptr b -> Int -> IO AsapoMessageHeaderHandle # pokeByteOff :: Ptr b -> Int -> AsapoMessageHeaderHandle -> IO () # peek :: Ptr AsapoMessageHeaderHandle -> IO AsapoMessageHeaderHandle # poke :: Ptr AsapoMessageHeaderHandle -> AsapoMessageHeaderHandle -> IO () # |
type AsapoRequestCallback = Ptr () -> AsapoRequestCallbackPayloadHandle -> AsapoErrorHandle -> IO () Source #
type AsapoRequestHandlerType = CInt Source #
type AsapoIngestModeFlags = CInt Source #
type AsapoOpcode = CInt Source #
type AsapoMetaIngestOp = CInt Source #
type AsapoLogLevel = CInt Source #
asapo_create_producer :: CString -> CUChar -> AsapoRequestHandlerType -> AsapoSourceCredentialsHandle -> Word64 -> Ptr AsapoErrorHandle -> IO AsapoProducerHandle Source #
asapo_producer_get_version_info :: AsapoProducerHandle -> AsapoStringHandle -> AsapoStringHandle -> Ptr AsapoBool -> Ptr AsapoErrorHandle -> IO CInt Source #
asapo_producer_get_stream_info :: AsapoProducerHandle -> ConstCString -> Word64 -> Ptr AsapoErrorHandle -> IO AsapoStreamInfoHandle Source #
asapo_producer_get_stream_meta :: AsapoProducerHandle -> ConstCString -> Word64 -> Ptr AsapoErrorHandle -> IO AsapoStringHandle Source #
asapo_producer_get_beamtime_meta :: AsapoProducerHandle -> Word64 -> Ptr AsapoErrorHandle -> IO AsapoStringHandle Source #
asapo_producer_delete_stream :: AsapoProducerHandle -> ConstCString -> Word64 -> AsapoBool -> AsapoBool -> Ptr AsapoErrorHandle -> IO CInt Source #
asapo_producer_get_last_stream :: AsapoProducerHandle -> Word64 -> Ptr AsapoErrorHandle -> IO AsapoStreamInfoHandle Source #
asapo_create_message_header :: Word64 -> Word64 -> ConstCString -> ConstCString -> Word64 -> Word64 -> AsapoBool -> IO AsapoMessageHeaderHandle Source #
asapo_producer_send :: AsapoProducerHandle -> AsapoMessageHeaderHandle -> Ptr () -> Word64 -> ConstCString -> FunPtr AsapoRequestCallback -> Ptr AsapoErrorHandle -> IO CInt Source #
asapo_producer_send_file :: AsapoProducerHandle -> AsapoMessageHeaderHandle -> ConstCString -> Word64 -> ConstCString -> FunPtr AsapoRequestCallback -> Ptr AsapoErrorHandle -> IO CInt Source #
asapo_producer_send_stream_finished_flag :: AsapoProducerHandle -> ConstCString -> Word64 -> ConstCString -> FunPtr AsapoRequestCallback -> Ptr AsapoErrorHandle -> IO CInt Source #
asapo_producer_send_beamtime_metadata :: AsapoProducerHandle -> ConstCString -> AsapoMetaIngestOp -> AsapoBool -> FunPtr AsapoRequestCallback -> Ptr AsapoErrorHandle -> IO CInt Source #
asapo_producer_send_stream_metadata :: AsapoProducerHandle -> ConstCString -> AsapoMetaIngestOp -> AsapoBool -> ConstCString -> FunPtr AsapoRequestCallback -> Ptr AsapoErrorHandle -> IO CInt Source #
asapo_request_callback_payload_get_response :: AsapoRequestCallbackPayloadHandle -> IO AsapoStringHandle Source #
asapo_request_callback_payload_get_original_header :: AsapoRequestCallbackPayloadHandle -> IO (ConstPtr AsapoGenericRequestHeader) Source #
asapo_producer_enable_local_log :: AsapoProducerHandle -> AsapoBool -> IO () Source #
asapo_producer_set_credentials :: AsapoProducerHandle -> AsapoSourceCredentialsHandle -> Ptr AsapoErrorHandle -> IO CInt Source #
asapo_producer_set_requests_queue_limits :: AsapoProducerHandle -> Word64 -> Word64 -> IO () Source #
asapo_producer_wait_requests_finished :: AsapoProducerHandle -> Word64 -> Ptr AsapoErrorHandle -> IO CInt Source #
data AsapoGenericRequestHeader Source #
Instances
Storable AsapoGenericRequestHeader Source # | |
Defined in Asapo.Raw.Producer sizeOf :: AsapoGenericRequestHeader -> Int # alignment :: AsapoGenericRequestHeader -> Int # peekElemOff :: Ptr AsapoGenericRequestHeader -> Int -> IO AsapoGenericRequestHeader # pokeElemOff :: Ptr AsapoGenericRequestHeader -> Int -> AsapoGenericRequestHeader -> IO () # peekByteOff :: Ptr b -> Int -> IO AsapoGenericRequestHeader # pokeByteOff :: Ptr b -> Int -> AsapoGenericRequestHeader -> IO () # peek :: Ptr AsapoGenericRequestHeader -> IO AsapoGenericRequestHeader # poke :: Ptr AsapoGenericRequestHeader -> AsapoGenericRequestHeader -> IO () # |