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

SCM Repository

[smlnj] Annotation of /cml/trunk/src/Sockets/cml-socket-sig.sml
ViewVC logotype

Annotation of /cml/trunk/src/Sockets/cml-socket-sig.sml

Parent Directory Parent Directory | Revision Log Revision Log


Revision 2229 - (view) (download)

1 : monnier 2 (* cml-socket-sig.sml
2 :     *
3 :     * COPYRIGHT (c) 1996 AT&T Research.
4 :     *
5 :     * This signature extends the SML Basis SOCKET signature with event
6 :     * constructors for the input operations and accept.
7 :     *)
8 :    
9 :     signature CML_SOCKET =
10 :     sig
11 :     type 'a event = 'a CML.event
12 :    
13 : mblume 1390 include SYNCHRONOUS_SOCKET (* don't drag in non-blocking ops *)
14 : monnier 2
15 :     val connectEvt : (('a, 'b) sock * 'a sock_addr) -> unit event
16 :    
17 :     val acceptEvt :
18 :     ('a, passive stream) sock
19 :     -> (('a, active stream) sock * 'a sock_addr) event
20 :    
21 :     (* Sock input event constructors *)
22 :     val recvVecEvt :
23 : mblume 1381 ('a, active stream) sock * int -> Word8Vector.vector CML.event
24 : monnier 2 val recvArrEvt :
25 : mblume 1381 ('a, active stream) sock * Word8ArraySlice.slice -> int CML.event
26 : monnier 2 val recvVecEvt' :
27 : mblume 1381 ('a, active stream) sock * int * in_flags
28 : monnier 2 -> Word8Vector.vector CML.event
29 :     val recvArrEvt' :
30 : mblume 1381 ('a, active stream) sock * Word8ArraySlice.slice * in_flags
31 : monnier 2 -> int CML.event
32 :     val recvVecFromEvt :
33 : mblume 1381 ('a, dgram) sock * int
34 : blume 2229 -> (Word8Vector.vector * 'a sock_addr) CML.event
35 : monnier 2 val recvArrFromEvt :
36 : mblume 1381 ('a, dgram) sock * Word8ArraySlice.slice
37 : monnier 2 -> (int * 'a sock_addr) CML.event
38 :     val recvVecFromEvt' :
39 : mblume 1381 ('a, dgram) sock * int * in_flags
40 : blume 2229 -> (Word8Vector.vector * 'a sock_addr) CML.event
41 : monnier 2 val recvArrFromEvt' :
42 : mblume 1381 ('a, dgram) sock * Word8ArraySlice.slice * in_flags
43 : monnier 2 -> (int * 'a sock_addr) CML.event
44 :    
45 :     end

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