ThousandIsland.Handlers.Timer (Thousand Island v0.3.2) View Source

A sample Handler implementation which sends the time out every second, until the remote end sends any data.

Link to this section Summary

Functions

Returns a specification to start this module under a supervisor.

Callback implementation for GenServer.init/1.

Link to this section Functions

Returns a specification to start this module under a supervisor.

See Supervisor.

Link to this function

handle_close(socket, state)

View Source

Callback implementation for ThousandIsland.Handler.handle_close/2.

Link to this function

handle_error(error, socket, state)

View Source

Callback implementation for ThousandIsland.Handler.handle_error/3.

Callback implementation for GenServer.init/1.