phasedb_client v0.0.1 PhaseDB.Client.Connection

Implements the websocket_client behaviour and represents an active connection to a phaseDB server.

Summary

Functions

Callback implementation for c::websocket_client.init/1

Callback implementation for c::websocket_client.onconnect/2

Callback implementation for c::websocket_client.ondisconnect/2

Callback implementation for c::websocket_client.websocket_handle/3

Callback implementation for c::websocket_client.websocket_info/3

Callback implementation for c::websocket_client.websocket_terminate/3

Functions

create()
create(uri)
drop(pid)
find()
find(uri)
find_or_create()
find_or_create(uri)
init(list)

Callback implementation for c::websocket_client.init/1.

onconnect(req, state)

Callback implementation for c::websocket_client.onconnect/2.

ondisconnect(arg, state)

Callback implementation for c::websocket_client.ondisconnect/2.

start_link(uri)
websocket_handle(frame, req, state)

Callback implementation for c::websocket_client.websocket_handle/3.

websocket_info(arg, req, state)

Callback implementation for c::websocket_client.websocket_info/3.

websocket_terminate(reason, req, state)

Callback implementation for c::websocket_client.websocket_terminate/3.

xmit(pid, frame)