This commit is contained in:
Feng Lee 2015-03-02 21:25:58 +08:00
parent 7fe60eee14
commit a7f4563050
4 changed files with 41 additions and 7 deletions

View File

@ -1,13 +1,22 @@
REBAR=./rebar
all: get-deps compile all: get-deps compile
compile: get-deps compile: get-deps
./rebar compile @$(REBAR) compile
get-deps: get-deps:
./rebar get-deps @$(REBAR) get-deps
update-deps:
@$(REBAR) update-deps
xref:
@$(REBAR) xref skip_deps=true
clean: clean:
./rebar clean @$(REBAR) clean
rm -rf rel/emqtt rm -rf rel/emqtt
dist: dist:

18
TODO
View File

@ -37,4 +37,22 @@ full test cases...
spawn_link to replace 'spawn' and 'link' spawn_link to replace 'spawn' and 'link'
## ACL
## Authentication with clientId
## SSL/TLS Socket
## $SYS/topics and Broker statistics...
## Cluster
## Bridge
## Websocket
## MQTT over Websocket
## Mnesia
Create Schema...

View File

@ -194,7 +194,7 @@ getopts(Sock, Options) when is_port(Sock) ->
setopts(Sock, Options) when is_port(Sock) -> setopts(Sock, Options) when is_port(Sock) ->
inet:setopts(Sock, Options). inet:setopts(Sock, Options).
sockname(Sock) when is_port(Sock) -> inet:sockname(Sock). sockname(Sock) when is_port(Sock) -> inet:sockname(Sock).
peer_string(Sock) -> peer_string(Sock) ->
case peername(Sock) of case peername(Sock) of

View File

@ -22,9 +22,16 @@ Router to register queues
## Topic Tree ## Topic Tree
## Offline Message
## ACL
## Authentication with clientId
## SSL/TLS Socket
## $SYS/topics and Broker statistics...
## Cluster ## Cluster
## Bridge ## Bridge
## Offline Message