1 ------------------------------------------------------------------------------
3 -- GNAT COMPILER COMPONENTS --
5 -- S Y S T E M . R P C --
9 -- Copyright (C) 1992-2009, Free Software Foundation, Inc. --
11 -- GNAT is free software; you can redistribute it and/or modify it under --
12 -- terms of the GNU General Public License as published by the Free Soft- --
13 -- ware Foundation; either version 3, or (at your option) any later ver- --
14 -- sion. GNAT is distributed in the hope that it will be useful, but WITH- --
15 -- OUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY --
16 -- or FITNESS FOR A PARTICULAR PURPOSE. --
18 -- As a special exception under Section 7 of GPL version 3, you are granted --
19 -- additional permissions described in the GCC Runtime Library Exception, --
20 -- version 3.1, as published by the Free Software Foundation. --
22 -- You should have received a copy of the GNU General Public License and --
23 -- a copy of the GCC Runtime Library Exception along with this program; --
24 -- see the files COPYING3 and COPYING.RUNTIME respectively. If not, see --
25 -- <http://www.gnu.org/licenses/>. --
27 -- GNAT was originally developed by the GNAT team at New York University. --
28 -- Extensive contributions were provided by Ada Core Technologies Inc. --
30 ------------------------------------------------------------------------------
32 -- Note: this is a dummy implementation which does not support distribution.
33 -- All the bodies but one therefore raise an exception as defined below.
34 -- Establish_RPC_Receiver is callable, so that the ACVC scripts can simulate
35 -- the presence of a master partition to run a test which is otherwise not
38 -- The GLADE distribution package includes a replacement for this file
40 package body System
.RPC
is
42 CRLF
: constant String := ASCII
.CR
& ASCII
.LF
;
44 Msg
: constant String :=
45 CRLF
& "Distribution support not installed in your environment" &
46 CRLF
& "For information on GLADE, contact Ada Core Technologies";
53 (Stream
: in out Params_Stream_Type
;
54 Item
: out Ada
.Streams
.Stream_Element_Array
;
55 Last
: out Ada
.Streams
.Stream_Element_Offset
)
58 raise Program_Error
with Msg
;
66 (Stream
: in out Params_Stream_Type
;
67 Item
: Ada
.Streams
.Stream_Element_Array
)
70 raise Program_Error
with Msg
;
78 (Partition
: Partition_ID
;
79 Params
: access Params_Stream_Type
;
80 Result
: access Params_Stream_Type
)
83 raise Program_Error
with Msg
;
91 (Partition
: Partition_ID
;
92 Params
: access Params_Stream_Type
)
95 raise Program_Error
with Msg
;
98 ----------------------------
99 -- Establish_RPC_Receiver --
100 ----------------------------
102 procedure Establish_RPC_Receiver
103 (Partition
: Partition_ID
;
104 Receiver
: RPC_Receiver
)
106 pragma Unreferenced
(Partition
, Receiver
);
109 end Establish_RPC_Receiver
;