-module(svp_cmd_parser).
-behaviour(gen_server).
-export([start_link/0, init/1, handle_call/3, handle_cast/2]).

start_link() -> gen_server:start_link({local,?MODULE}, ?MODULE, {}, []).
init(Args) -> {ok, []}.
handle_call(hello, From, Log) -> 
	svp_hello_server ! hello,
	{reply,From,[{hello,From}|Log]}.
handle_cast(hello, Log) ->
	svp_hello_server ! hello,
	{noreply,[{hello,annonymous}|Log]}.

