1 package org.codehaus.xfire.java.message;
2 import java.util.List;
3
4 import org.codehaus.xfire.fault.XFireFault;
5 import org.codehaus.xfire.java.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
16 List read() throws XFireFault;
17
18 void write( Object value ) throws XFireFault;
19
20 /***
21 * @return The operation that is being invoked in this request.
22 */
23 Operation getOperation();
24 }