public final class ClientConnectionSession extends ConnectionSession
| Constructor and Description |
|---|
ClientConnectionSession(Connection connection,
SessionCloseListener sessionCloseListener) |
| Modifier and Type | Method and 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) |
findWSServiceContextByChannelId, getConnection, getServiceChannelContext, initpublic ClientConnectionSession(Connection connection, SessionCloseListener sessionCloseListener)
public void registerChannel(@NotNull
ChannelContext context)
registerChannel in class ConnectionSessionpublic void deregisterChannel(@NotNull
ChannelContext context)
deregisterChannel in class ConnectionSession@Nullable public ChannelContext findWSServiceContextByURI(@NotNull WSTCPURI wsTCPURI)
findWSServiceContextByURI in class ConnectionSessionpublic void onReadCompleted()
onReadCompleted in class ConnectionSessionpublic void close()
close in interface Connectionclose in class ConnectionSessionpublic void setAttribute(@NotNull
String name,
Object value)
setAttribute in class ConnectionSession@Nullable public Object getAttribute(@NotNull String name)
getAttribute in class ConnectionSessionpublic int getChannelsAmount()
getChannelsAmount in class ConnectionSessionCopyright © 2005–2018 Oracle Corporation. All rights reserved.