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
- Author:
- Alexey Stashok
-
Constructor Summary
ConstructorsConstructorDescriptionServerConnectionSession(Connection connection, SessionCloseListener<ServerConnectionSession> sessionCloseListener) -
Method Summary
Modifier and TypeMethodDescriptionvoidclose()voidderegisterChannel(int channelId) voidderegisterChannel(ChannelContext context) findWSServiceContextByChannelId(int channelId) intintvoidregisterChannel(ChannelContext context) Methods inherited from class com.sun.xml.ws.transport.tcp.util.ConnectionSession
findWSServiceContextByURI, getAttribute, getConnection, getServiceChannelContext, init, onReadCompleted, setAttribute
-
Constructor Details
-
ServerConnectionSession
public ServerConnectionSession(Connection connection, SessionCloseListener<ServerConnectionSession> sessionCloseListener)
-
-
Method Details
-
registerChannel
- Specified by:
registerChannelin classConnectionSession
-
findWSServiceContextByChannelId
- Overrides:
findWSServiceContextByChannelIdin classConnectionSession
-
deregisterChannel
public void deregisterChannel(int channelId) -
deregisterChannel
- Specified by:
deregisterChannelin classConnectionSession
-
close
public void close()- Specified by:
closein interfaceConnection- Overrides:
closein classConnectionSession
-
getChannelsAmount
public int getChannelsAmount()- Specified by:
getChannelsAmountin classConnectionSession
-
getNextAvailChannelId
public int getNextAvailChannelId()
-