Class TCPAdapter.TCPToolkit
- java.lang.Object
-
- com.sun.xml.ws.api.server.Adapter.Toolkit
-
- 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
Fields Modifier and Type Field Description protected TCPConnectionImplconnection-
Fields inherited from class com.sun.xml.ws.api.server.Adapter.Toolkit
codec, head
-
-
Constructor Summary
Constructors Constructor Description TCPToolkit()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidaddCustomPacketSattellites(Packet packet)Method could be overwritten by children to add some extra Satellites to Packetvoidclose()See the class javadoc for the discussion.protected CodecgetCodec(ChannelContext context)protected voidhandle(TCPConnectionImpl con)
-
-
-
Field Detail
-
connection
protected TCPConnectionImpl connection
-
-
Method Detail
-
handle
protected void handle(@NotNull TCPConnectionImpl con) throws IOException, WSTCPException- Throws:
IOExceptionWSTCPException
-
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:TransportBackChannelSee 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:
closein interfaceTransportBackChannel
-
-