com.sun.xml.ws.transport.tcp.server
Class TCPAdapter.TCPToolkit

java.lang.Object
  extended by com.sun.xml.ws.api.server.Adapter.Toolkit
      extended by com.sun.xml.ws.transport.tcp.server.TCPAdapter.TCPToolkit
All Implemented Interfaces:
TransportBackChannel
Enclosing class:
TCPAdapter

public class TCPAdapter.TCPToolkit
extends Adapter.Toolkit
implements TransportBackChannel


Field Summary
protected  TCPConnectionImpl connection
           
 
Fields inherited from class com.sun.xml.ws.api.server.Adapter.Toolkit
codec, head
 
Constructor Summary
TCPAdapter.TCPToolkit()
           
 
Method Summary
 void addCustomPacketSattellites(Packet packet)
          Method could be overwritten by children to add some extra Satellites to Packet
 void close()
          See the class javadoc for the discussion.
protected  Codec getCodec(ChannelContext context)
           
protected  void handle(TCPConnectionImpl con)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

connection

protected TCPConnectionImpl connection
Constructor Detail

TCPAdapter.TCPToolkit

public TCPAdapter.TCPToolkit()
Method Detail

handle

protected void handle(@NotNull
                      TCPConnectionImpl con)
               throws IOException,
                      WSTCPException
Throws:
IOException
WSTCPException

getCodec

@NotNull
protected Codec getCodec(@NotNull
                                 ChannelContext context)

addCustomPacketSattellites

public void addCustomPacketSattellites(@NotNull
                                       Packet packet)
Method could be overwritten by children to add some extra Satellites to Packet


close

public void close()
Description copied from interface: TransportBackChannel
See the class javadoc for the discussion.

JAX-WS is not guaranteed to call this method for all operations that do not have a response. This is merely a hint.

When the implementation of this method fails to close the connection successfuly, it should record the error, and return normally. Do not throw any exception.

Specified by:
close in interface TransportBackChannel


Copyright © 2005-2015 Oracle Corporation. All Rights Reserved.