Copyright © 2009-2015 Michael Truog
Version: 1.5.1 Dec 23 2015 15:21:07 ------------------------------------------------------------------------
Behaviours: cloudi_service.
Authors: Michael Truog (mjtruog [at] gmail (dot) com).
agent() = cloudi:agent()
common_result() = {updated, count()} | {updated, count(), rows()} | {selected, rows()} | {error, any()}
count() = non_neg_integer()
module_response(Result) = {{ok, Result}, NewAgent::agent()} | {{error, cloudi:error_reason_sync()}, NewAgent::agent()}
rows() = [tuple()]
service_name() = cloudi:service_name()
timeout_milliseconds() = cloudi:timeout_milliseconds()
binary_to_bytea(B::binary()) -> string()
cloudi_service_handle_info(Request, State, Dispatcher) -> any()
cloudi_service_handle_request(Type, Name, Pattern, RequestInfo, Request, Timeout, Priority, TransId, Pid, State, Dispatcher) -> any()
cloudi_service_init(Args, Prefix, Timeout, Dispatcher) -> any()
cloudi_service_terminate(Reason, Timeout, State) -> any()
equery(Agent::agent(), Name::service_name(), Query::string() | binary(), Parameters::list()) -> module_response(any())
equery(Agent::agent(), Name::service_name(), Query::string() | binary(), Parameters::list(), Timeout::timeout_milliseconds()) -> module_response(any())
squery(Agent::agent(), Name::service_name(), Query::string() | binary()) -> module_response(any())
squery(Agent::agent(), Name::service_name(), Query::string() | binary(), Timeout::timeout_milliseconds()) -> module_response(any())
transaction(Agent::agent(), Name::service_name(), QueryList::[string() | binary()]) -> module_response(ok | {error, any()})
transaction(Agent::agent(), Name::service_name(), QueryList::[string() | binary()], Timeout::timeout_milliseconds()) -> module_response(ok | {error, any()})
Generated by EDoc, Dec 23 2015, 15:21:07.