1 package org.codehaus.xfire.message;
2 import java.util.List;
3
4 import org.codehaus.xfire.fault.XFireFault;
5 import org.codehaus.xfire.service.object.Operation;
6
7 /***
8 * Reads/Writes Messages.
9 *
10 * @author <a href="mailto:dan@envoisolutions.com">Dan Diephouse</a>
11 * @since Apr 7, 2004
12 */
13 public interface MessageBridge
14 {
15 List read() throws XFireFault;
16
17 void write( Object[] values ) throws XFireFault;
18
19 /***
20 * @return The operation that is being invoked in this request.
21 */
22 Operation getOperation();
23 }