Extreme.RequestManager (extreme v1.0.1) View Source

Link to this section Summary

Functions

Returns a specification to start this module under a supervisor.

Send IdentifyClient message to EventStore. Called when connection is established.

Processes server message as soon as it is completely received via tcp. This function is run in connection process.

Sends message as a response to pending request or as a push on subscription. correlation_id is used to find pending request/subscription.

Link to this section Functions

Returns a specification to start this module under a supervisor.

See Supervisor.

Link to this function

connect_to_persistent_subscription(base_name, subscriber, stream, group, allowed_in_flight_messages)

View Source
Link to this function

execute(base_name, message, correlation_id, timeout \\ 5000)

View Source
Link to this function

identify_client(connection_name, base_name)

View Source

Send IdentifyClient message to EventStore. Called when connection is established.

Link to this function

kill_all_subscriptions(base_name)

View Source
Link to this function

ping(base_name, correlation_id)

View Source
Link to this function

process_server_message(base_name, message)

View Source

Processes server message as soon as it is completely received via tcp. This function is run in connection process.

Link to this function

read_and_stay_subscribed(base_name, subscriber, params)

View Source
Link to this function

respond_with_server_message(base_name, correlation_id, response)

View Source

Sends message as a response to pending request or as a push on subscription. correlation_id is used to find pending request/subscription.

Link to this function

send_heartbeat_response(base_name, correlation_id)

View Source
Link to this function

start_link(base_name, configuration)

View Source
Link to this function

subscribe_to(base_name, stream, subscriber, resolve_link_tos, ack_timeout)

View Source