Yatapp v0.1.2 Yatapp.SocketClient View Source
Connects to Yata socket server and translation channel.
Link to this section Summary
Functions
Invoked to handle a synchronous call
Invoked after the server closes a channel
Connects to channel and initialize an ets table
Invoked after the client has been disconnected from the server
Invoked to handle an Erlang message
Invoked if the server has refused a topic join request
Invoked after the client has successfully joined a topic
Invoked when a message from the server arrives
Invoked when the server replies to a message sent by the client
Connects to external websocket server
Starts a socket client
Link to this section Functions
Invoked to handle a synchronous call.
Callback implementation for Phoenix.Channels.GenSocketClient.handle_call/4
.
Invoked after the server closes a channel.
Callback implementation for Phoenix.Channels.GenSocketClient.handle_channel_closed/4
.
Connects to channel and initialize an ets table.
Invoked after the client has been disconnected from the server.
Callback implementation for Phoenix.Channels.GenSocketClient.handle_disconnected/2
.
Invoked to handle an Erlang message.
Callback implementation for Phoenix.Channels.GenSocketClient.handle_info/3
.
Invoked if the server has refused a topic join request.
Callback implementation for Phoenix.Channels.GenSocketClient.handle_join_error/4
.
Invoked after the client has successfully joined a topic.
Callback implementation for Phoenix.Channels.GenSocketClient.handle_joined/4
.
Invoked when a message from the server arrives.
Callback implementation for Phoenix.Channels.GenSocketClient.handle_message/5
.
Invoked when the server replies to a message sent by the client.
Callback implementation for Phoenix.Channels.GenSocketClient.handle_reply/5
.
Connects to external websocket server.
Starts a socket client.