com.sun.xml.ws.transport.tcp.server
Class ServerConnectionSession
java.lang.Object
com.sun.xml.ws.transport.tcp.util.ConnectionSession
com.sun.xml.ws.transport.tcp.server.ServerConnectionSession
- All Implemented Interfaces:
- Connection
public final class ServerConnectionSession
- extends ConnectionSession
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
ServerConnectionSession
public ServerConnectionSession(Connection connection,
SessionCloseListener<ServerConnectionSession> sessionCloseListener)
registerChannel
public void registerChannel(@NotNull
ChannelContext context)
- Specified by:
registerChannel in class ConnectionSession
findWSServiceContextByChannelId
@Nullable
public ChannelContext findWSServiceContextByChannelId(int channelId)
- Overrides:
findWSServiceContextByChannelId in class ConnectionSession
deregisterChannel
public void deregisterChannel(int channelId)
deregisterChannel
public void deregisterChannel(@NotNull
ChannelContext context)
- Specified by:
deregisterChannel in class ConnectionSession
close
public void close()
- Specified by:
close in interface Connection- Overrides:
close in class ConnectionSession
getChannelsAmount
public int getChannelsAmount()
- Specified by:
getChannelsAmount in class ConnectionSession
getNextAvailChannelId
public int getNextAvailChannelId()