com.sun.xml.ws.transport.tcp.grizzly
Class WSTCPProtocolHandler

java.lang.Object
  extended by 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


Constructor Summary
WSTCPProtocolHandler()
           
 
Method Summary
 boolean expireKey(java.nio.channels.SelectionKey key)
          Invoked when the SelectorThread is about to expire a SelectionKey.
 java.lang.String[] getProtocols()
           
 void handle(com.sun.enterprise.web.portunif.util.ProtocolInfo tupple)
           
static void setIncomingMessageProcessor(IncomeMessageProcessor processor)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

WSTCPProtocolHandler

public WSTCPProtocolHandler()
Method Detail

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.