2 /// Put the interfaces in a module, to avoid global namespace pollution
5 /// A sequence of octets to generate bigger messages
6 typedef sequence
<octet
> Payload
;
8 /// Clients use this interface to send oneway requests
9 interface AMI_Buffering
11 /// A simple operation to test the number of requests received.
12 void receive_data
(in Payload the_payload
);
14 /// An empty operation to force a flush in the ORB queues
17 /// Synchronize the state with the Admin object.
19 * Once flush() has been invoked (with the correct buffering
20 * policies) we must use sync() to ensure that both the main
21 * server and the Admin servers are in sync.
25 /// Shutdown the server
29 /// Clients use this interface to query the number of oneway
30 /// requests received.
31 interface AMI_Buffering_Admin
33 /// Number of oneway requests received
34 unsigned long request_count
();
36 /// Number of bytes received
37 unsigned long bytes_received_count
();
39 /// The Oneway_Buffering interface uses this method to report any
41 void request_received
(in unsigned long payload_length
);
43 /// An empty operation to force a flush in the ORB queues
46 /// A method to shutdown the ORB
48 * This method is used to simplify the test shutdown process