Class ConnectionSession
java.lang.Object
com.sun.xml.ws.transport.tcp.util.ConnectionSession
- All Implemented Interfaces:
Connection
- Direct Known Subclasses:
ClientConnectionSession,ServerConnectionSession
- Author:
- Alexey Stashok
-
Constructor Summary
ConstructorsConstructorDescriptionConnectionSession(Connection connection, SessionCloseListener sessionCloseListener) -
Method Summary
Modifier and TypeMethodDescriptionvoidclose()abstract voidderegisterChannel(ChannelContext context) findWSServiceContextByChannelId(int channelId) findWSServiceContextByURI(WSTCPURI wsTCPURI) getAttribute(String name) abstract intprotected voidinit()voidabstract voidregisterChannel(ChannelContext context) voidsetAttribute(String name, Object value)
-
Constructor Details
-
ConnectionSession
-
-
Method Details
-
registerChannel
-
deregisterChannel
-
getChannelsAmount
public abstract int getChannelsAmount() -
init
protected void init() -
getAttribute
-
setAttribute
-
onReadCompleted
public void onReadCompleted() -
findWSServiceContextByURI
-
findWSServiceContextByChannelId
-
getServiceChannelContext
-
close
public void close()- Specified by:
closein interfaceConnection
-
getConnection
-