1 ------------------------------------------------------------------------------
3 -- GNAT RUN-TIME COMPONENTS --
5 -- S Y S T E M . R P C --
10 -- Copyright (C) 1992-1998 Free Software Foundation, Inc. --
12 -- This specification is derived from the Ada Reference Manual for use with --
13 -- GNAT. The copyright notice above, and the license provisions that follow --
14 -- apply solely to the contents of the part following the private keyword. --
16 -- GNAT is free software; you can redistribute it and/or modify it under --
17 -- terms of the GNU General Public License as published by the Free Soft- --
18 -- ware Foundation; either version 2, or (at your option) any later ver- --
19 -- sion. GNAT is distributed in the hope that it will be useful, but WITH- --
20 -- OUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY --
21 -- or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License --
22 -- for more details. You should have received a copy of the GNU General --
23 -- Public License distributed with GNAT; see file COPYING. If not, write --
24 -- to the Free Software Foundation, 59 Temple Place - Suite 330, Boston, --
25 -- MA 02111-1307, USA. --
27 -- As a special exception, if other files instantiate generics from this --
28 -- unit, or you link this unit with other files to produce an executable, --
29 -- this unit does not by itself cause the resulting executable to be --
30 -- covered by the GNU General Public License. This exception does not --
31 -- however invalidate any other reasons why the executable file might be --
32 -- covered by the GNU Public License. --
34 -- GNAT was originally developed by the GNAT team at New York University. --
35 -- It is now maintained by Ada Core Technologies Inc (http://www.gnat.com). --
37 ------------------------------------------------------------------------------
39 -- Note: this is a dummy implementation which does not support distribution.
40 -- The GLADE distribution package includes a replacement for this file which
41 -- has a different private
47 type Partition_ID
is range 0 .. 63;
48 -- This type must not be modified without checking the code in
49 -- a-except.adb, since it expects a Partition_ID whose string
50 -- representation fits on two characters.
52 Communication_Error
: exception;
54 type Params_Stream_Type
55 (Initial_Size
: Ada
.Streams
.Stream_Element_Count
) is new
56 Ada
.Streams
.Root_Stream_Type
with private;
59 (Stream
: in out Params_Stream_Type
;
60 Item
: out Ada
.Streams
.Stream_Element_Array
;
61 Last
: out Ada
.Streams
.Stream_Element_Offset
);
64 (Stream
: in out Params_Stream_Type
;
65 Item
: in Ada
.Streams
.Stream_Element_Array
);
70 (Partition
: in Partition_ID
;
71 Params
: access Params_Stream_Type
;
72 Result
: access Params_Stream_Type
);
77 (Partition
: in Partition_ID
;
78 Params
: access Params_Stream_Type
);
80 -- The handler for incoming RPCs.
84 (Params
: access Params_Stream_Type
;
85 Result
: access Params_Stream_Type
);
87 procedure Establish_RPC_Receiver
(
88 Partition
: in Partition_ID
;
89 Receiver
: in RPC_Receiver
);
93 type Params_Stream_Type
94 (Initial_Size
: Ada
.Streams
.Stream_Element_Count
) is new
95 Ada
.Streams
.Root_Stream_Type
with null record;