3 // IDL schema definition for Web server interface.
5 typedef sequence
<octet
> Chunk_Type
;
9 // This operation is called back by the server to pass
10 // the next <chunk> of the file starting. If there are
11 // no more chunks, <last_chunk> is true.
12 void next_chunk
(in Chunk_Type chunk
,
13 in boolean last_chunk
);
16 exception Error_Result
18 // Status of the <register_callback> operation. These
19 // values should map onto the normal HTTP
20 // status values, e.g., 200 means success, 404
21 // means "file not found," etc.
28 string modification_date
;
34 interface Iterator_Factory
36 // This registration method passes a <Callback> that
37 // the Web server uses to ``push'' data associated with
38 // <pathname> one ``chunk'' at a time. The <metadata>
39 // reports information about the <pathname>.
40 Metadata_Type register_callback
(in string pathname
,
41 in Callback client_callback
)
42 raises
(Error_Result
);