Pixie.Client

Source

Summary

deliver(client_id, messages)

Deliver some messages to the client in question

dequeue(client_id)

Explicitly tell the client to check for new messages in the backend mailbox

get_meta(client_id)

Retrieve metadata about a client

handle_call(msg, arg2, state)

Get create a process for the transport we're using, also dequeue any messages waiting for us in the backend

handle_cast(msg, state)

Dequeue messages to the transport if possible

ping(client_id)

Explicitly ping the client to stop it from timing out

set_meta(client_id, metadata)

Store arbitrary metadata about a client

set_transport(client_id, transport_name)

Set the active transport to the connected client

start_link(id)
transport(client_id)

Retrieve the active transport

Functions

deliver(client_id, messages)

Deliver some messages to the client in question.

Source
dequeue(client_id)

Explicitly tell the client to check for new messages in the backend mailbox.

Source
get_meta(client_id)

Retrieve metadata about a client

Source
handle_call(msg, arg2, state)

Get create a process for the transport we're using, also dequeue any messages waiting for us in the backend.

Source
handle_cast(msg, state)

Dequeue messages to the transport if possible.

Source
ping(client_id)

Explicitly ping the client to stop it from timing out.

Source
set_meta(client_id, metadata)

Store arbitrary metadata about a client

Source
set_transport(client_id, transport_name)

Set the active transport to the connected client.

Source
start_link(id)
Source
transport(client_id)

Retrieve the active transport.

Source