public abstract class ConnectionSession extends Object implements Connection
| Constructor and Description |
|---|
ConnectionSession(Connection connection,
SessionCloseListener sessionCloseListener) |
| Modifier and Type | Method and Description |
|---|---|
void |
close() |
abstract void |
deregisterChannel(ChannelContext context) |
ChannelContext |
findWSServiceContextByChannelId(int channelId) |
ChannelContext |
findWSServiceContextByURI(WSTCPURI wsTCPURI) |
Object |
getAttribute(String name) |
abstract int |
getChannelsAmount() |
Connection |
getConnection() |
ChannelContext |
getServiceChannelContext() |
protected void |
init() |
void |
onReadCompleted() |
abstract void |
registerChannel(ChannelContext context) |
void |
setAttribute(String name,
Object value) |
public ConnectionSession(Connection connection, SessionCloseListener sessionCloseListener)
public abstract void registerChannel(@NotNull
ChannelContext context)
public abstract void deregisterChannel(@NotNull
ChannelContext context)
public abstract int getChannelsAmount()
protected void init()
public void onReadCompleted()
@Nullable public ChannelContext findWSServiceContextByURI(@NotNull WSTCPURI wsTCPURI)
@Nullable public ChannelContext findWSServiceContextByChannelId(int channelId)
@NotNull public ChannelContext getServiceChannelContext()
public void close()
close in interface Connectionpublic Connection getConnection()
Copyright © 2005–2018 Oracle Corporation. All rights reserved.