Celtix User APIs

org.objectweb.celtix.transports
Interface ServerTransport

All Superinterfaces:
Transport

public interface ServerTransport
extends Transport

ServerTransport


Method Summary
 void activate(ServerTransportCallback callback)
          activate the server transport, involves starting listeners or creating of message queues.
 OutputStreamMessageContext createOutputStreamContext(javax.xml.ws.handler.MessageContext context)
           
 void deactivate()
          deactivate the server transport, involves stopping the listeners or message queues.
 void finalPrepareOutputStreamContext(OutputStreamMessageContext context)
           
 
Methods inherited from interface org.objectweb.celtix.transports.Transport
shutdown
 

Method Detail

activate

void activate(ServerTransportCallback callback)
              throws IOException
activate the server transport, involves starting listeners or creating of message queues.

Parameters:
callback - - The call back object that the transport calls when there is a message to dispatch
Throws:
IOException

deactivate

void deactivate()
                throws IOException
deactivate the server transport, involves stopping the listeners or message queues. subsequently the transport could be activated using activate call.

Throws:
IOException

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

Celtix User APIs