Skip to content

Commit

Permalink
allows to create nodes with a specified cookie
Browse files Browse the repository at this point in the history
  • Loading branch information
videlalvaro committed Aug 18, 2010
1 parent a8dd46d commit 0e55c90
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion src/closerl/core.clj
Original file line number Original file line Diff line number Diff line change
Expand Up @@ -90,8 +90,10 @@


(defn otp-node (defn otp-node
"Creates an OtpNode" "Creates an OtpNode"
[node-name] ([node-name]
(OtpNode. node-name)) (OtpNode. node-name))
([node-name cookie]
(OtpNode. node-name cookie)))


(defn otp-ping (defn otp-ping
"Pings a remote Erlang node" "Pings a remote Erlang node"
Expand Down

0 comments on commit 0e55c90

Please sign in to comment.