Sample Redis contract.
. __Behaviours:__ [`ubf_plugin_stateless`](ubf_plugin_stateless.md).description/0 | |
handlerEvent/1 | |
handlerRpc/1 | rpc handler . |
handlerStart/1 | start handler . |
handlerStop/3 | stop handler . |
info/0 | |
keepalive/0 | |
moduleRestart/1 | restart module . |
moduleStart/1 | start module . |
description() -> any()
handlerEvent(Event) -> any()
handlerRpc(Event::any()) -> Reply::any()
rpc handler
handlerStart(Args::[any()]) -> {accept, Reply::any(), StateName::atom(), StateData::term()} | {reject, Reason::any()}
start handler
handlerStop(Pid::pid(), Reason::any(), StateData::term()) -> none()
stop handler
info() -> any()
keepalive() -> any()
moduleRestart(Args) -> any()
restart module
moduleStart(Args) -> any()
start module