com.sun.xml.ws.transport.tcp.grizzly
Class WSTCPProtocolHandler
java.lang.Object
com.sun.xml.ws.transport.tcp.grizzly.WSTCPProtocolHandler
- All Implemented Interfaces:
- com.sun.enterprise.web.portunif.ProtocolHandler
public final class WSTCPProtocolHandler
- extends java.lang.Object
- implements com.sun.enterprise.web.portunif.ProtocolHandler
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
WSTCPProtocolHandler
public WSTCPProtocolHandler()
setIncomingMessageProcessor
public static void setIncomingMessageProcessor(IncomeMessageProcessor processor)
getProtocols
public java.lang.String[] getProtocols()
- Specified by:
getProtocols
in interface com.sun.enterprise.web.portunif.ProtocolHandler
handle
public void handle(com.sun.enterprise.web.portunif.util.ProtocolInfo tupple)
throws java.io.IOException
- Specified by:
handle
in interface com.sun.enterprise.web.portunif.ProtocolHandler
- Throws:
java.io.IOException
expireKey
public boolean expireKey(java.nio.channels.SelectionKey key)
- Invoked when the SelectorThread is about to expire a SelectionKey.
- Specified by:
expireKey
in interface com.sun.enterprise.web.portunif.ProtocolHandler
- Returns:
- true if the SelectorThread should expire the SelectionKey, false
if not.