Skip to content
Browse files

LICENSE, README and comments

  • Loading branch information...
1 parent d149422 commit d553f2ea08edee4f040f769ca2a6139c3d8e7990 @sumerman committed Jun 2, 2012
Showing with 11 additions and 62 deletions.
  1. +7 −0 LICENSE
  2. +4 −4 README.md
  3. +0 −55 src/gossip.erl
  4. +0 −3 src/harbinger.erl
View
7 LICENSE
@@ -0,0 +1,7 @@
+Copyright (c) 2012, Valery Meleshkin <valery.meleshkin@gmail.com>
+
+Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:
+
+The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.
+
+THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
View
8 README.md
@@ -14,9 +14,9 @@ Now:
Roadmap:
--------
-* Node monitoring, "try other route", undelivered messages preservation
-* Gossiping nodes state and optimal route detection
+* Totem implementation
+ * Node monitoring, undelivered messages preservation
+ * Sync nodes state
+ * Atomic b-cast (should be optional)
* Overload protection
-* Multidimensional topic space
-* Specialized structures for filtering with funs (CobasTree or similar technique)
View
55 src/gossip.erl
@@ -1,55 +0,0 @@
--module(gossip).
--behaviour(gen_server).
-
--define(SERVER, ?MODULE).
-
-%% API
--export([
- start_link/0
-]).
-
-%% gen_server callbacks
--export([
- init/1,
- handle_call/3,
- handle_cast/2,
- handle_info/2,
- terminate/2,
- code_change/3
-]).
-
--record(state, {
-}).
-
-%%%===================================================================
-%%% API
-%%%===================================================================
-
--spec start_link() -> {ok, pid()} | ignore | {error, Why::term()}.
-start_link() ->
- gen_server:start_link({local, ?SERVER}, ?MODULE, [], []).
-
-%%%===================================================================
-%%% gen_server callbacks
-%%%===================================================================
-
-init([]) ->
- {ok, #state{}}.
-
-handle_call(_Msg, _From, S) ->
- {noreply, S}.
-
-handle_cast(_Msg, S) ->
- {noreply, S}.
-
-handle_info(_Msg, S) ->
- {noreply, S}.
-
-
-terminate(_Reason, _State) -> ok.
-
-code_change(_OldVsn, State, _Extra) -> {ok, State}.
-
-%%%===================================================================
-%%% Internal functions
-%%%===================================================================
View
3 src/harbinger.erl
@@ -58,9 +58,6 @@ send(Chan, Msg) ->
%%% Msg goes to the local broker
%%% which in turn looks up for local subscribers and send Msg to them.
%%% Then broker looks up for a other subscribed nodes and notifies known peers
-%%%
-%%% Gosssip for PEX.
-%%% Lamport stamp for delivery guarantee to fresh peers (Provide better desc.)
%%%===================================================================

0 comments on commit d553f2e

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