Celtix User APIs

org.objectweb.celtix.transports
Interface ClientTransport

All Superinterfaces:
Transport

public interface ClientTransport
extends Transport

ClientTransport


Method Summary
 OutputStreamMessageContext createOutputStreamContext(javax.xml.ws.handler.MessageContext context)
           
 void finalPrepareOutputStreamContext(OutputStreamMessageContext context)
           
 InputStreamMessageContext invoke(OutputStreamMessageContext context)
          invoke on a two-way operation on the remote service.
 Future<InputStreamMessageContext> invokeAsync(OutputStreamMessageContext context)
          invoke on a two-way operation on the remote service asyncronously.
 void invokeOneway(OutputStreamMessageContext context)
          invoke on a oneway operation on a remote service.
 
Methods inherited from interface org.objectweb.celtix.transports.Transport
shutdown
 

Method Detail

createOutputStreamContext

OutputStreamMessageContext createOutputStreamContext(javax.xml.ws.handler.MessageContext context)
                                                     throws IOException
Parameters:
context - The associated MessageContext.
Returns:
the context that will be used to obtain the OutputStream
Throws:
IOException

finalPrepareOutputStreamContext

void finalPrepareOutputStreamContext(OutputStreamMessageContext context)
                                     throws IOException
Parameters:
context - The OutputStreamMessageContext to prepare.
Throws:
IOException

invokeOneway

void invokeOneway(OutputStreamMessageContext context)
                  throws IOException
invoke on a oneway operation on a remote service.

Parameters:
context -
Throws:
IOException

invoke

InputStreamMessageContext invoke(OutputStreamMessageContext context)
                                 throws IOException
invoke on a two-way operation on the remote service. The transport should provide a context that returns a valid InputStream upon return.

Parameters:
context -
Returns:
the context containing the InputStream response payload
Throws:
IOException

invokeAsync

Future<InputStreamMessageContext> invokeAsync(OutputStreamMessageContext context)
                                              throws IOException
invoke on a two-way operation on the remote service asyncronously.

Parameters:
context -
Returns:
the context containing the InputStream response payload
Throws:
IOException

Celtix User APIs