changed not_implemented to a function
This commit is contained in:
parent
63170fd0de
commit
62be1f04cc
3 changed files with 18 additions and 14 deletions
|
@ -12,21 +12,25 @@
|
|||
%% an argument for storage and later usage. Creates a unique player token
|
||||
%% identifying the player.
|
||||
%% @spec start_link(Socket::socket()) -> ok
|
||||
start_link(Socket) -> not_implemented.
|
||||
start_link(Socket) ->
|
||||
not_implemented().
|
||||
|
||||
|
||||
%% @doc Handles incoming messages from the GGS and forwards them through the player
|
||||
%% socket to the player.
|
||||
%% @spec notify(Player::Pid(), From::Pid(),
|
||||
%% {Command::String(), Message::string()}) -> ok
|
||||
notify(Player, From, Message) -> not_implemented.
|
||||
notify(Player, From, Message) ->
|
||||
not_implemented().
|
||||
|
||||
%% @doc Get the player token uniquely representing the player.
|
||||
%% @spec get_token() -> string()
|
||||
get_token() -> not_implemented.
|
||||
get_token() ->
|
||||
not_implemented().
|
||||
|
||||
|
||||
%% @doc Properly terminates the player process. The player token will be destroyed.
|
||||
%% Makes table token unreferenced and destroys the process in the end.
|
||||
%% @spec stop(Table::pid()) -> Reason::string()
|
||||
stop(Table) -> not_implemented.
|
||||
stop(Table) ->
|
||||
not_implemented().
|
||||
|
|
Reference in a new issue