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

Author:
Alexey Stashok

Constructor Summary
ClientConnectionSession(Connection connection, SessionCloseListener sessionCloseListener)
           
 
Method Summary
 void close()
           
 void deregisterChannel(ChannelContext context)
           
 ChannelContext findWSServiceContextByURI(WSTCPURI wsTCPURI)
           
 Object getAttribute(String name)
           
 int getChannelsAmount()
           
 void onReadCompleted()
           
 void registerChannel(ChannelContext context)
           
 void setAttribute(String name, 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
                         String name,
                         Object value)
Overrides:
setAttribute in class ConnectionSession

getAttribute

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

getChannelsAmount

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


Copyright © 2005-2015 Oracle Corporation. All Rights Reserved.