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 /cml/trunk/cml-lib/simple-rpc-sig.sml
ViewVC logotype

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

Parent Directory Parent Directory | Revision Log Revision Log


Revision 289 - (download) (annotate)
Sat May 22 21:01:25 1999 UTC (20 years, 3 months ago) by monnier
Original Path: sml/branches/SMLNJ/src/cml/cml-lib/simple-rpc-sig.sml
File size: 596 byte(s)
version 110.17
(* 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_Out : ('a -> ('b * 'c)) -> {
	    call     : 'a -> 'b,
	    entryEvt : 'c 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