Java Doc for WSTCPProtocolFinder.java in » 6.0-JDK-Modules-com.sun » wsit » com » sun » xml » ws » transport » tcp » grizzly » Java Source Code / Java DocumentationJava Source Code and Java Documentation
final public class WSTCPProtocolFinder implements ProtocolFinder(Code)
A ProtocolFinder implementation that parse the available
SocketChannel bytes looking for the PROTOCOL_ID bytes. An SOAP/TCP request will
always start with: vnd.sun.ws.tcp
This object shoudn't be called by several threads simultaneously.
author: Jeanfrancois Arcand author: Alexey Stashok
find(ProtocolInfo protocolInfo) Try to find the protocol from the SocketChannel bytes.
Parameters: selectionKey - The key from which the SocketChannel can be retrieved.
public void find(ProtocolInfo protocolInfo) throws IOException(Code)
Try to find the protocol from the SocketChannel bytes.
Parameters: selectionKey - The key from which the SocketChannel can be retrieved. ProtocolInfo The ProtocolInfo that contains the information about thecurrent protocol.