Home My Page Projects Code Snippets Project Openings SML/NJ
Summary Activity Forums Tracker Lists Tasks Docs Surveys News SCM Files

SCM Repository

[smlnj] View of /sml/trunk/src/cml/cml-lib/simple-rpc-sig.sml
ViewVC logotype

View of /sml/trunk/src/cml/cml-lib/simple-rpc-sig.sml

Parent Directory Parent Directory | Revision Log Revision Log


Revision 2 - (download) (annotate)
Sat Oct 4 23:33:09 1997 UTC (21 years, 9 months ago) by monnier
File size: 496 byte(s)
Initial revision
(* simple-rpc-sig.sml
 *
 * COPYRIGHT (c) 1997 AT&T Labs Research.
 *
 * Generators for simple RPC protocols.
 *)

signature SIMPLE_RPC = sig

    type 'a event = 'a CML.event

    val mkRPC : ('a -> 'b) -> {
	    call     : 'a -> 'b,
	    entryEvt : unit event
	  }

    val mkRPC_In : (('a * 'c) -> 'b) -> {
	    call     : 'a -> 'b,
	    entryEvt : 'c -> unit event
	  }

    val mkRPC_InOut : (('a * 'c) -> ('b * 'd)) -> {
	    call     : 'a -> 'b,
	    entryEvt : 'c -> 'd event
	  }

  end

root@smlnj-gforge.cs.uchicago.edu
ViewVC Help
Powered by ViewVC 1.0.0