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.
 void deactivate()
          deactivate the server transport, involves stopping the listeners or message queues.
 void postDispatch(javax.xml.ws.handler.MessageContext bindingContext, OutputStreamMessageContext context)
          Do the post dispatch task here.
 
Methods inherited from interface org.objectweb.celtix.transports.Transport
createOutputStreamContext, finalPrepareOutputStreamContext, 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

postDispatch

void postDispatch(javax.xml.ws.handler.MessageContext bindingContext,
                  OutputStreamMessageContext context)
                  throws IOException
Do the post dispatch task here.

Throws:
IOException

Celtix User APIs