Class WSTCPDelegate
java.lang.Object
com.sun.xml.ws.transport.tcp.server.WSTCPDelegate
- All Implemented Interfaces:
TCPMessageListener,WSTCPAdapterRegistry
- Author:
- Alexey Stashok
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoiddestroy()voidfreeAdapters(String contextPath, List<TCPAdapter> adapters) Determines whichTCPAdapterserves the given request.voidonError(ChannelContext channelContext, WSTCPError error) Implementation of TCPMessageListener.onError method is called if error occured during frame processing on upper levelvoidonMessage(ChannelContext channelContext) Implementation of TCPMessageListener.onMessage method is called once request message comevoidregisterAdapters(String contextPath, List<TCPAdapter> adapters) voidsetCustomWSRegistry(WSTCPAdapterRegistry customWSRegistry)
-
Constructor Details
-
WSTCPDelegate
public WSTCPDelegate()
-
-
Method Details
-
setCustomWSRegistry
-
registerAdapters
-
freeAdapters
-
getTarget
Determines whichTCPAdapterserves the given request.- Specified by:
getTargetin interfaceWSTCPAdapterRegistry
-
onError
Implementation of TCPMessageListener.onError method is called if error occured during frame processing on upper level- Specified by:
onErrorin interfaceTCPMessageListener- Throws:
IOException
-
onMessage
Implementation of TCPMessageListener.onMessage method is called once request message come- Specified by:
onMessagein interfaceTCPMessageListener- Throws:
IOException
-
destroy
public void destroy()
-