Skip to content
Browse files

added client module

  • Loading branch information...
1 parent 1d8e041 commit 75d6885c6af0f05b20f11173e178de12b509e84d @patrickdet patrickdet committed Oct 11, 2012
Showing with 20 additions and 0 deletions.
  1. +20 −0 src/client.erl
View
20 src/client.erl
@@ -0,0 +1,20 @@
+-module(client).
+-import(werkzeug, [get_config_value/2,logging/2,timeMilliSecond/0,delete_last/1]).
+
+-compile([export_all]).
+
+start(ServerPID) ->
+ ClientPID = spawn(fun() -> loop(redakteur, ServerPID) end),
+ ClientPID.
+
+redakteur() ->
+ ok.
+
+
+leser() ->
+ ok.
+
+loop(ClientType, ServerPID) ->
+ ServerPID ! {foo},
+ erlang:sleep(5000),
+ loop(ClientType, ServerPID).

0 comments on commit 75d6885

Please sign in to comment.
Something went wrong with that request. Please try again.