com.sun.xml.ws.transport.tcp.server
Class WSTCPDelegate
java.lang.Object
com.sun.xml.ws.transport.tcp.server.WSTCPDelegate
- All Implemented Interfaces:
- TCPMessageListener, WSTCPAdapterRegistry
public final class WSTCPDelegate
- extends java.lang.Object
- implements WSTCPAdapterRegistry, TCPMessageListener
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
WSTCPDelegate
public WSTCPDelegate()
setCustomWSRegistry
public void setCustomWSRegistry(@NotNull
WSTCPAdapterRegistry customWSRegistry)
registerAdapters
public void registerAdapters(@NotNull
java.lang.String contextPath,
@NotNull
java.util.List<TCPAdapter> adapters)
freeAdapters
public void freeAdapters(@NotNull
java.lang.String contextPath,
@NotNull
java.util.List<TCPAdapter> adapters)
getTarget
@Nullable
public TCPAdapter getTarget(@NotNull
WSTCPURI tcpURI)
- Determines which
TCPAdapter
serves the given request.
- Specified by:
getTarget
in interface WSTCPAdapterRegistry
onError
public void onError(ChannelContext channelContext,
WSTCPError error)
throws java.io.IOException
- Implementation of TCPMessageListener.onError
method is called if error occured during frame processing
on upper level
- Specified by:
onError
in interface TCPMessageListener
- Throws:
java.io.IOException
onMessage
public void onMessage(@NotNull
ChannelContext channelContext)
throws java.io.IOException
- Implementation of TCPMessageListener.onMessage
method is called once request message come
- Specified by:
onMessage
in interface TCPMessageListener
- Throws:
java.io.IOException
destroy
public void destroy()