1 package org.objectweb.celtix.transports; 2 3 4 5 import java.io.IOException ; 6 import java.util.concurrent.Executor ; 7 import java.util.concurrent.Future ; 8 9 import javax.wsdl.Port; 10 11 import org.objectweb.celtix.bindings.ResponseCallback; 12 import org.objectweb.celtix.context.InputStreamMessageContext; 13 import org.objectweb.celtix.context.OutputStreamMessageContext; 14 import org.objectweb.celtix.ws.addressing.EndpointReferenceType; 15 16 21 public interface ClientTransport extends Transport { 22 23 29 EndpointReferenceType getTargetEndpoint(); 30 31 37 EndpointReferenceType getDecoupledEndpoint() throws IOException ; 38 39 44 Port getPort(); 45 46 50 void invokeOneway(OutputStreamMessageContext context) throws IOException ; 51 52 63 InputStreamMessageContext invoke(OutputStreamMessageContext context) 64 throws IOException ; 65 66 72 Future <InputStreamMessageContext> invokeAsync(OutputStreamMessageContext context, Executor executor) 73 throws IOException ; 74 75 83 ResponseCallback getResponseCallback(); 84 } 85 | Popular Tags |