Safe Haskell | None |
---|---|
Language | Haskell98 |
Documentation
newtype AsapoConsumerHandle Source #
AsapoConsumerHandle (Ptr ()) |
Instances
Storable AsapoConsumerHandle Source # | |
Defined in Asapo.Raw.Consumer sizeOf :: AsapoConsumerHandle -> Int # alignment :: AsapoConsumerHandle -> Int # peekElemOff :: Ptr AsapoConsumerHandle -> Int -> IO AsapoConsumerHandle # pokeElemOff :: Ptr AsapoConsumerHandle -> Int -> AsapoConsumerHandle -> IO () # peekByteOff :: Ptr b -> Int -> IO AsapoConsumerHandle # pokeByteOff :: Ptr b -> Int -> AsapoConsumerHandle -> IO () # peek :: Ptr AsapoConsumerHandle -> IO AsapoConsumerHandle # poke :: Ptr AsapoConsumerHandle -> AsapoConsumerHandle -> IO () # |
newtype AsapoMessageMetaHandle Source #
Instances
Storable AsapoMessageMetaHandle Source # | |
Defined in Asapo.Raw.Consumer sizeOf :: AsapoMessageMetaHandle -> Int # alignment :: AsapoMessageMetaHandle -> Int # peekElemOff :: Ptr AsapoMessageMetaHandle -> Int -> IO AsapoMessageMetaHandle # pokeElemOff :: Ptr AsapoMessageMetaHandle -> Int -> AsapoMessageMetaHandle -> IO () # peekByteOff :: Ptr b -> Int -> IO AsapoMessageMetaHandle # pokeByteOff :: Ptr b -> Int -> AsapoMessageMetaHandle -> IO () # peek :: Ptr AsapoMessageMetaHandle -> IO AsapoMessageMetaHandle # poke :: Ptr AsapoMessageMetaHandle -> AsapoMessageMetaHandle -> IO () # |
newtype AsapoMessageMetasHandle Source #
Instances
Storable AsapoMessageMetasHandle Source # | |
Defined in Asapo.Raw.Consumer sizeOf :: AsapoMessageMetasHandle -> Int # alignment :: AsapoMessageMetasHandle -> Int # peekElemOff :: Ptr AsapoMessageMetasHandle -> Int -> IO AsapoMessageMetasHandle # pokeElemOff :: Ptr AsapoMessageMetasHandle -> Int -> AsapoMessageMetasHandle -> IO () # peekByteOff :: Ptr b -> Int -> IO AsapoMessageMetasHandle # pokeByteOff :: Ptr b -> Int -> AsapoMessageMetasHandle -> IO () # peek :: Ptr AsapoMessageMetasHandle -> IO AsapoMessageMetasHandle # poke :: Ptr AsapoMessageMetasHandle -> AsapoMessageMetasHandle -> IO () # |
newtype AsapoIdListHandle Source #
AsapoIdListHandle (Ptr ()) |
Instances
Storable AsapoIdListHandle Source # | |
Defined in Asapo.Raw.Consumer sizeOf :: AsapoIdListHandle -> Int # alignment :: AsapoIdListHandle -> Int # peekElemOff :: Ptr AsapoIdListHandle -> Int -> IO AsapoIdListHandle # pokeElemOff :: Ptr AsapoIdListHandle -> Int -> AsapoIdListHandle -> IO () # peekByteOff :: Ptr b -> Int -> IO AsapoIdListHandle # pokeByteOff :: Ptr b -> Int -> AsapoIdListHandle -> IO () # peek :: Ptr AsapoIdListHandle -> IO AsapoIdListHandle # poke :: Ptr AsapoIdListHandle -> AsapoIdListHandle -> IO () # |
newtype AsapoDataSetHandle Source #
AsapoDataSetHandle (Ptr ()) |
Instances
Storable AsapoDataSetHandle Source # | |
Defined in Asapo.Raw.Consumer sizeOf :: AsapoDataSetHandle -> Int # alignment :: AsapoDataSetHandle -> Int # peekElemOff :: Ptr AsapoDataSetHandle -> Int -> IO AsapoDataSetHandle # pokeElemOff :: Ptr AsapoDataSetHandle -> Int -> AsapoDataSetHandle -> IO () # peekByteOff :: Ptr b -> Int -> IO AsapoDataSetHandle # pokeByteOff :: Ptr b -> Int -> AsapoDataSetHandle -> IO () # peek :: Ptr AsapoDataSetHandle -> IO AsapoDataSetHandle # poke :: Ptr AsapoDataSetHandle -> AsapoDataSetHandle -> IO () # |
newtype AsapoPartialErrorDataHandle Source #
Instances
Storable AsapoPartialErrorDataHandle Source # | |
Defined in Asapo.Raw.Consumer sizeOf :: AsapoPartialErrorDataHandle -> Int # alignment :: AsapoPartialErrorDataHandle -> Int # peekElemOff :: Ptr AsapoPartialErrorDataHandle -> Int -> IO AsapoPartialErrorDataHandle # pokeElemOff :: Ptr AsapoPartialErrorDataHandle -> Int -> AsapoPartialErrorDataHandle -> IO () # peekByteOff :: Ptr b -> Int -> IO AsapoPartialErrorDataHandle # pokeByteOff :: Ptr b -> Int -> AsapoPartialErrorDataHandle -> IO () # peek :: Ptr AsapoPartialErrorDataHandle -> IO AsapoPartialErrorDataHandle # poke :: Ptr AsapoPartialErrorDataHandle -> AsapoPartialErrorDataHandle -> IO () # |
newtype AsapoConsumerErrorDataHandle Source #
Instances
Storable AsapoConsumerErrorDataHandle Source # | |
Defined in Asapo.Raw.Consumer sizeOf :: AsapoConsumerErrorDataHandle -> Int # alignment :: AsapoConsumerErrorDataHandle -> Int # peekElemOff :: Ptr AsapoConsumerErrorDataHandle -> Int -> IO AsapoConsumerErrorDataHandle # pokeElemOff :: Ptr AsapoConsumerErrorDataHandle -> Int -> AsapoConsumerErrorDataHandle -> IO () # peekByteOff :: Ptr b -> Int -> IO AsapoConsumerErrorDataHandle # pokeByteOff :: Ptr b -> Int -> AsapoConsumerErrorDataHandle -> IO () # peek :: Ptr AsapoConsumerErrorDataHandle -> IO AsapoConsumerErrorDataHandle # poke :: Ptr AsapoConsumerErrorDataHandle -> AsapoConsumerErrorDataHandle -> IO () # |
type AsapoConsumerErrorType = CInt Source #
asapo_free_id_list_handle :: AsapoIdListHandle -> IO () Source #
type AsapoStreamFilter = CInt Source #
type AsapoNetworkConnectionType = CInt Source #
asapo_create_consumer :: ConstCString -> ConstCString -> AsapoBool -> AsapoSourceCredentialsHandle -> Ptr AsapoErrorHandle -> IO AsapoConsumerHandle Source #
asapo_consumer_generate_new_group_id :: AsapoConsumerHandle -> Ptr AsapoErrorHandle -> IO AsapoStringHandle Source #
asapo_consumer_set_timeout :: AsapoConsumerHandle -> Word64 -> IO () Source #
asapo_consumer_reset_last_read_marker :: AsapoConsumerHandle -> AsapoStringHandle -> ConstCString -> Ptr AsapoErrorHandle -> IO CInt Source #
asapo_consumer_set_last_read_marker :: AsapoConsumerHandle -> AsapoStringHandle -> Word64 -> ConstCString -> Ptr AsapoErrorHandle -> IO CInt Source #
asapo_consumer_acknowledge :: AsapoConsumerHandle -> AsapoStringHandle -> Word64 -> ConstCString -> Ptr AsapoErrorHandle -> IO CInt Source #
asapo_consumer_negative_acknowledge :: AsapoConsumerHandle -> AsapoStringHandle -> Word64 -> Word64 -> ConstCString -> Ptr AsapoErrorHandle -> IO CInt Source #
asapo_consumer_get_unacknowledged_messages :: AsapoConsumerHandle -> AsapoStringHandle -> Word64 -> Word64 -> ConstCString -> Ptr AsapoErrorHandle -> IO AsapoIdListHandle Source #
asapo_id_list_get_item :: AsapoIdListHandle -> CSize -> IO Word64 Source #
asapo_consumer_get_last_acknowledged_message :: AsapoConsumerHandle -> AsapoStringHandle -> ConstCString -> Ptr AsapoErrorHandle -> IO CLong Source #
asapo_consumer_current_connection_type :: AsapoConsumerHandle -> IO AsapoNetworkConnectionType Source #
asapo_consumer_get_stream_list :: AsapoConsumerHandle -> ConstCString -> AsapoStreamFilter -> Ptr AsapoErrorHandle -> IO AsapoStreamInfosHandle Source #
asapo_consumer_delete_stream :: AsapoConsumerHandle -> ConstCString -> AsapoBool -> AsapoBool -> Ptr AsapoErrorHandle -> IO CInt Source #
asapo_consumer_set_stream_persistent :: AsapoConsumerHandle -> ConstCString -> Ptr AsapoErrorHandle -> IO CInt Source #
asapo_consumer_get_current_size :: AsapoConsumerHandle -> ConstCString -> Ptr AsapoErrorHandle -> IO Int64 Source #
asapo_consumer_get_current_dataset_count :: AsapoConsumerHandle -> ConstCString -> AsapoBool -> Ptr AsapoErrorHandle -> IO Int64 Source #
asapo_consumer_get_beamtime_meta :: AsapoConsumerHandle -> Ptr AsapoErrorHandle -> IO AsapoStringHandle Source #
asapo_consumer_retrieve_data :: AsapoConsumerHandle -> AsapoMessageMetaHandle -> Ptr AsapoMessageDataHandle -> Ptr AsapoErrorHandle -> IO CInt Source #
asapo_consumer_get_next_dataset :: AsapoConsumerHandle -> AsapoStringHandle -> Word64 -> ConstCString -> Ptr AsapoErrorHandle -> IO AsapoDataSetHandle Source #
asapo_consumer_get_last_dataset :: AsapoConsumerHandle -> Word64 -> ConstCString -> Ptr AsapoErrorHandle -> IO AsapoDataSetHandle Source #
asapo_consumer_get_last_dataset_ingroup :: AsapoConsumerHandle -> AsapoStringHandle -> Word64 -> ConstCString -> Ptr AsapoErrorHandle -> IO AsapoDataSetHandle Source #
asapo_consumer_get_by_id :: AsapoConsumerHandle -> Word64 -> Ptr AsapoMessageMetaHandle -> Ptr AsapoMessageDataHandle -> ConstCString -> Ptr AsapoErrorHandle -> IO CInt Source #
asapo_consumer_get_last :: AsapoConsumerHandle -> Ptr AsapoMessageMetaHandle -> Ptr AsapoMessageDataHandle -> ConstCString -> Ptr AsapoErrorHandle -> IO CInt Source #
asapo_consumer_get_last_ingroup :: AsapoConsumerHandle -> AsapoStringHandle -> Ptr AsapoMessageMetaHandle -> Ptr AsapoMessageDataHandle -> ConstCString -> Ptr AsapoErrorHandle -> IO CInt Source #
asapo_consumer_get_next :: AsapoConsumerHandle -> AsapoStringHandle -> Ptr AsapoMessageMetaHandle -> Ptr AsapoMessageDataHandle -> ConstCString -> Ptr AsapoErrorHandle -> IO CInt Source #
asapo_consumer_query_messages :: AsapoConsumerHandle -> ConstCString -> ConstCString -> Ptr AsapoErrorHandle -> IO AsapoMessageMetasHandle Source #
asapo_consumer_set_resend_nacs :: AsapoConsumerHandle -> AsapoBool -> Word64 -> Word64 -> IO () Source #
asapo_message_metas_get_item :: AsapoMessageMetasHandle -> CSize -> IO AsapoMessageMetaHandle Source #
asapo_error_get_payload_from_partial_error :: AsapoErrorHandle -> IO AsapoPartialErrorDataHandle Source #