com.sun.xml.ws.transport.tcp.client
Class ClientConnectionSession

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

public final class ClientConnectionSession
extends ConnectionSession


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

Constructor Detail

ClientConnectionSession

public ClientConnectionSession(Connection connection,
                               SessionCloseListener sessionCloseListener)
Method Detail

registerChannel

public void registerChannel(@NotNull
                            ChannelContext context)
Specified by:
registerChannel in class ConnectionSession

deregisterChannel

public void deregisterChannel(@NotNull
                              ChannelContext context)
Specified by:
deregisterChannel in class ConnectionSession

findWSServiceContextByURI

@Nullable
public ChannelContext findWSServiceContextByURI(@NotNull
                                                         WSTCPURI wsTCPURI)
Overrides:
findWSServiceContextByURI in class ConnectionSession

onReadCompleted

public void onReadCompleted()
Overrides:
onReadCompleted in class ConnectionSession

close

public void close()
Specified by:
close in interface Connection
Overrides:
close in class ConnectionSession

setAttribute

public void setAttribute(@NotNull
                         java.lang.String name,
                         java.lang.Object value)
Overrides:
setAttribute in class ConnectionSession

getAttribute

@Nullable
public java.lang.Object getAttribute(@NotNull
                                              java.lang.String name)
Overrides:
getAttribute in class ConnectionSession

getChannelsAmount

public int getChannelsAmount()
Specified by:
getChannelsAmount in class ConnectionSession