FileDocCategorySizeDatePackage
TCPTransportPipeFactory.javaAPI DocExample3093Tue May 29 16:57:04 BST 2007com.sun.xml.ws.transport.tcp.client

TCPTransportPipeFactory

public class TCPTransportPipeFactory extends com.sun.xml.ws.api.pipe.TransportPipeFactory
author
Alexey Stashok

Fields Summary
private static final QName
serviceChannelServiceName
Constructors Summary
Methods Summary
public com.sun.xml.ws.api.pipe.PipedoCreate(com.sun.xml.ws.api.pipe.ClientPipeAssemblerContext context)

    
    
          
        if (!TCPConstants.PROTOCOL_SCHEMA.equalsIgnoreCase(context.getAddress().getURI().getScheme())) {
            return null;
        }
        
        if (context.getService().getServiceName().equals(serviceChannelServiceName)) {
            return new ServiceChannelTransportPipe(context);
        }
        
        return new TCPTransportPipe(context);