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
  • Constructor Details

  • Method Details

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