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 void
close()
void
deregisterChannel(ChannelContext context)
ChannelContext
findWSServiceContextByURI(WSTCPURI wsTCPURI)
Object
getAttribute(String name)
int
getChannelsAmount()
void
onReadCompleted()
void
registerChannel(ChannelContext context)
void
setAttribute(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:
registerChannel
in classConnectionSession
-
deregisterChannel
public void deregisterChannel(@NotNull ChannelContext context)
- Specified by:
deregisterChannel
in classConnectionSession
-
findWSServiceContextByURI
@Nullable public ChannelContext findWSServiceContextByURI(@NotNull WSTCPURI wsTCPURI)
- Overrides:
findWSServiceContextByURI
in classConnectionSession
-
onReadCompleted
public void onReadCompleted()
- Overrides:
onReadCompleted
in classConnectionSession
-
close
public void close()
- Specified by:
close
in interfaceConnection
- Overrides:
close
in classConnectionSession
-
setAttribute
public void setAttribute(@NotNull String name, Object value)
- Overrides:
setAttribute
in classConnectionSession
-
getAttribute
@Nullable public Object getAttribute(@NotNull String name)
- Overrides:
getAttribute
in classConnectionSession
-
getChannelsAmount
public int getChannelsAmount()
- Specified by:
getChannelsAmount
in classConnectionSession
-
-