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 Object
- implements Connection
- Author:
- Alexey Stashok
| 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 Object getAttribute(@NotNull
String name)
setAttribute
public void setAttribute(@NotNull
String name,
@Nullable
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()
Copyright © 2005-2015 Oracle Corporation. All Rights Reserved.