Class ClientConnectionSession
- java.lang.Object
-
- com.sun.xml.ws.transport.tcp.util.ConnectionSession
-
- com.sun.xml.ws.transport.tcp.client.ClientConnectionSession
-
- All Implemented Interfaces:
Connection
public final class ClientConnectionSession extends ConnectionSession
- Author:
- Alexey Stashok
-
-
Constructor Summary
Constructors Constructor Description ClientConnectionSession(Connection connection, SessionCloseListener sessionCloseListener)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidclose()voidderegisterChannel(ChannelContext context)ChannelContextfindWSServiceContextByURI(WSTCPURI wsTCPURI)ObjectgetAttribute(String name)intgetChannelsAmount()voidonReadCompleted()voidregisterChannel(ChannelContext context)voidsetAttribute(String name, Object value)-
Methods inherited from class com.sun.xml.ws.transport.tcp.util.ConnectionSession
findWSServiceContextByChannelId, getConnection, getServiceChannelContext, init
-
-
-
-
Constructor Detail
-
ClientConnectionSession
public ClientConnectionSession(Connection connection, SessionCloseListener sessionCloseListener)
-
-
Method Detail
-
registerChannel
public void registerChannel(@NotNull ChannelContext context)- Specified by:
registerChannelin classConnectionSession
-
deregisterChannel
public void deregisterChannel(@NotNull ChannelContext context)- Specified by:
deregisterChannelin classConnectionSession
-
findWSServiceContextByURI
@Nullable public ChannelContext findWSServiceContextByURI(@NotNull WSTCPURI wsTCPURI)
- Overrides:
findWSServiceContextByURIin classConnectionSession
-
onReadCompleted
public void onReadCompleted()
- Overrides:
onReadCompletedin classConnectionSession
-
close
public void close()
- Specified by:
closein interfaceConnection- Overrides:
closein classConnectionSession
-
setAttribute
public void setAttribute(@NotNull String name, Object value)- Overrides:
setAttributein classConnectionSession
-
getAttribute
@Nullable public Object getAttribute(@NotNull String name)
- Overrides:
getAttributein classConnectionSession
-
getChannelsAmount
public int getChannelsAmount()
- Specified by:
getChannelsAmountin classConnectionSession
-
-