Skip to content

Instantly share code, notes, and snippets.

@palvaro
Created March 21, 2011 19:10
Show Gist options
  • Save palvaro/880009 to your computer and use it in GitHub Desktop.
Save palvaro/880009 to your computer and use it in GitHub Desktop.
module BFSClientProtocol
state do
interface input, :request, [:reqid] => [:rtype, :arg]
interface output, :response, [:reqid] => [:status, :response]
end
end
module BFSClientMasterProtocol
state do
channel :request_msg, [:@master, :source, :reqid, :rtype, :args]
channel :response_msg, [:@source, :master, :reqid, :status, :response]
end
end
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment