Copyright © 2020 Marc Worrell
Behaviours: gen_server.
Authors: Marc Worrell (marc@worrell.nl).
| code_change/3 | |
| delete_ticket/2 | Delete a stored context record. |
| exchange_ticket/2 | Exchange a ticket for a stored context record. |
| handle_call/3 | |
| handle_cast/2 | |
| handle_info/2 | |
| init/1 | |
| new_ticket/1 | Return a new ticket id for out of band MQTT calls. |
| start_link/1 | Starts the MQTT ticket server server. |
| terminate/2 |
code_change(OldVersion, State, Extra) -> any()
delete_ticket(Ticket::binary(), Context::z:context()) -> ok | {error, term()}
Delete a stored context record.
exchange_ticket(Ticket::binary(), Context::z:context()) -> {ok, z:context()} | {error, term()}
Exchange a ticket for a stored context record.
handle_call(Msg, From, State) -> any()
handle_cast(Msg, State) -> any()
handle_info(Msg, State) -> any()
init(X1) -> any()
new_ticket(Context::z:context()) -> {ok, binary()} | {error, term()}
Return a new ticket id for out of band MQTT calls.
start_link(Site) -> any()
Starts the MQTT ticket server server
terminate(Reason, State) -> any()
Generated by EDoc