1 package org.kite9.framework.server;
2
3 import java.io.IOException;
4 import java.io.OutputStream;
5 import java.util.zip.ZipInputStream;
6
7 /***
8 * Handles remote processing of design items, allowing a number of responses to
9 * be sent in a zip file.
10 *
11 * @author moffatr
12 *
13 */
14 public interface ItemServer {
15
16 public ZipInputStream serve(WorkItem item) throws IOException;
17
18 public void serve(WorkItem item, OutputStream os) throws IOException;
19
20 }