1 package dst.ass3.messaging;
3 import java.io.Closeable;
4 import java.io.IOException;
6 public interface IRequestGateway extends Closeable {
9 * Serializes and routes a request to the correct queue.
11 * @param request the request
13 void uploadRequest(UploadRequest request);
16 * Closes any resources that may have been initialized (connections, channels, etc.)
18 * @throws IOException propagated exceptions
21 void close() throws IOException;