com.sun.xml.ws.transport.tcp.util
Class ConnectionSession
java.lang.Object
com.sun.xml.ws.transport.tcp.util.ConnectionSession
- All Implemented Interfaces:
- Connection
- Direct Known Subclasses:
- ClientConnectionSession, ServerConnectionSession
public abstract class ConnectionSession
- extends java.lang.Object
- implements Connection
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
ConnectionSession
public ConnectionSession(Connection connection,
SessionCloseListener sessionCloseListener)
registerChannel
public abstract void registerChannel(@NotNull
ChannelContext context)
deregisterChannel
public abstract void deregisterChannel(@NotNull
ChannelContext context)
getChannelsAmount
public abstract int getChannelsAmount()
init
protected void init()
getAttribute
@Nullable
public java.lang.Object getAttribute(@NotNull
java.lang.String name)
setAttribute
public void setAttribute(@NotNull
java.lang.String name,
@Nullable
java.lang.Object value)
onReadCompleted
public void onReadCompleted()
findWSServiceContextByURI
@Nullable
public ChannelContext findWSServiceContextByURI(@NotNull
WSTCPURI wsTCPURI)
findWSServiceContextByChannelId
@Nullable
public ChannelContext findWSServiceContextByChannelId(int channelId)
getServiceChannelContext
@NotNull
public ChannelContext getServiceChannelContext()
close
public void close()
- Specified by:
close
in interface Connection
getConnection
public Connection getConnection()