Behaviours: gen_server.
| all_prefixes/0 | |
| code_change/3 | Convert process state when code is changed. |
| combine_routes/2* | |
| delete_route/2* | |
| dirty_get_route/1* | |
| expand_route/2* | |
| expand_routes/1 | |
| find_prefix/2 | |
| find_route/1 | |
| handle_call/3 | Call message handler callbacks. |
| handle_cast/2 | Cast message handler callbacks. |
| handle_info/2 | Non gen-server message handler callbacks. |
| init/1 | Initialises the server's state. |
| pick_local_route/1* | |
| pick_one_route/1* | |
| pick_remote_route/1* | |
| pick_route/1* | |
| prefix_match/2* | |
| register_route/1 | |
| register_route/2 | |
| remove_prefix/2 | |
| route/3 | |
| route/4 | |
| server_host/2 | |
| start_link/0 | Starts the server. |
| terminate/2 | This function is called by a gen_server when it is about to terminate. |
| unregister_route/1 | |
| unregister_route/2 | |
| update_tables/0* | |
| write_route/1* |
all_prefixes() -> any()
code_change(OldVsn, State, Extra) -> {ok, NewState}
Convert process state when code is changed
combine_routes(R, Global_route) -> any()
delete_route(Prefix, Pid) -> any()
dirty_get_route(Prefix) -> any()
expand_route(Prefix, Domain) -> any()
expand_routes(Domain) -> any()
find_prefix(Domain, PossiblePrefixes) -> any()
find_route(Domain) -> any()
handle_call(Call::Request, From, State) -> {reply, Reply, State} | {reply, Reply, State, Timeout} | {noreply, State} | {noreply, State, Timeout} | {stop, Reason, Reply, State} | {stop, Reason, State}
Call message handler callbacks
handle_cast(Msg, State) -> {noreply, State} | {noreply, State, Timeout} | {stop, Reason, State}
Cast message handler callbacks
handle_info(Info, State) -> {noreply, State} | {noreply, State, Timeout} | {stop, Reason, State}
Non gen-server message handler callbacks
init(X1::Args) -> {ok, State} | {ok, State, Timeout} | ignore | {stop, Reason}
Initialises the server's state
pick_local_route(Pids) -> any()
pick_one_route(Pids) -> any()
pick_remote_route(Pids) -> any()
pick_route(Pids) -> any()
prefix_match(Domain, Prefixes) -> any()
register_route(Prefix) -> any()
register_route(Prefix, Pid) -> any()
remove_prefix(Prefix, Domain) -> any()
route(From, To, Packet) -> any()
route(Global_route, From, To, Packet) -> any()
server_host(Host, Pid) -> any()
start_link() -> {ok, Pid} | ignore | {error, Error}
Starts the server
terminate(Reason, State) -> void()
This function is called by a gen_server when it is about to terminate. It should be the opposite of Module:init/1 and do any necessary cleaning up. When it returns, the gen_server terminates with Reason. The return value is ignored.
unregister_route(Prefix) -> any()
unregister_route(Prefix, Pid) -> any()
update_tables() -> any()
write_route(R) -> any()
Generated by EDoc, May 23 2012, 07:15:16.