com.sun.xml.ws.transport.tcp.server
Class ServerConnectionSession

java.lang.Object
  extended by com.sun.xml.ws.transport.tcp.util.ConnectionSession
      extended by com.sun.xml.ws.transport.tcp.server.ServerConnectionSession
All Implemented Interfaces:
Connection

public final class ServerConnectionSession
extends ConnectionSession


Constructor Summary
ServerConnectionSession(Connection connection, SessionCloseListener<ServerConnectionSession> sessionCloseListener)
           
 
Method Summary
 void close()
           
 void deregisterChannel(ChannelContext context)
           
 void deregisterChannel(int channelId)
           
 ChannelContext findWSServiceContextByChannelId(int channelId)
           
 int getChannelsAmount()
           
 int getNextAvailChannelId()
           
 void registerChannel(ChannelContext context)
           
 
Methods inherited from class com.sun.xml.ws.transport.tcp.util.ConnectionSession
findWSServiceContextByURI, getAttribute, getConnection, getServiceChannelContext, init, onReadCompleted, setAttribute
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ServerConnectionSession

public ServerConnectionSession(Connection connection,
                               SessionCloseListener<ServerConnectionSession> sessionCloseListener)
Method Detail

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()