Celtix User APIs

org.objectweb.celtix.transports
Interface Transport

All Known Subinterfaces:
ClientTransport, ServerTransport

public interface Transport

Transport


Method Summary
 OutputStreamMessageContext createOutputStreamContext(javax.xml.ws.handler.MessageContext context)
          Create a context from which an OutputStream for the Transport can be obtained.
 void finalPrepareOutputStreamContext(OutputStreamMessageContext context)
          Prepare the OutputStream context before writing.
 void shutdown()
          Shutdown the Transport.
 

Method Detail

shutdown

void shutdown()
Shutdown the Transport.


createOutputStreamContext

OutputStreamMessageContext createOutputStreamContext(javax.xml.ws.handler.MessageContext context)
                                                     throws IOException
Create a context from which an OutputStream for the Transport can be obtained.

Parameters:
context - The associated MessageContext.
Returns:
the context that will be used to obtain the OutputStream
Throws:
IOException - If there is an error creating the context.

finalPrepareOutputStreamContext

void finalPrepareOutputStreamContext(OutputStreamMessageContext context)
                                     throws IOException
Prepare the OutputStream context before writing.

Parameters:
context - The OutputStreamMessageContext to prepare.
Throws:
IOException - If there is an error preparing the context.

Celtix User APIs