diff options
author | kballou <kballou@devnulllabs.io> | 2017-11-24 09:39:16 -0700 |
---|---|---|
committer | kballou <kballou@devnulllabs.io> | 2017-11-24 09:54:20 -0700 |
commit | cc67e8e9c1de34bcb2f1f2b84d96aca253b2ae08 (patch) | |
tree | d7b6aa561d9b8d8e3c5e061586e43022d3259306 /lib/octonetcat/supervisor.ex | |
parent | aef21fff8e18e33da0b08e274c0c7d216bc10241 (diff) | |
download | octonetcat-6ff44f1528ba96fbf932266270243ca128307a1b.tar.gz octonetcat-6ff44f1528ba96fbf932266270243ca128307a1b.tar.xz |
Add echo server0.2.0
Modify `acceptor` to pass over the connection to a task echo server.
Diffstat (limited to 'lib/octonetcat/supervisor.ex')
-rw-r--r-- | lib/octonetcat/supervisor.ex | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/lib/octonetcat/supervisor.ex b/lib/octonetcat/supervisor.ex index 01029cd..50a5f66 100644 --- a/lib/octonetcat/supervisor.ex +++ b/lib/octonetcat/supervisor.ex @@ -11,6 +11,7 @@ defmodule Octonetcat.Supervisor do def init(_) do children = [ + supervisor(Task.Supervisor, [[name: Octonetcat.TaskSupervisor]]), worker(Task, [Octonetcat.Accepter, :accept, []]) ] |