Deprecated API


Contents
Deprecated Interfaces
org.xsocket.stream.ILifeCycle
          use ILifeCycle instead 
org.xsocket.IWorkerPool
          replaced by Executor 
 

Deprecated Classes
org.xsocket.datagram.DatagramSocketConfiguration
          use set/getOptions methods of endpoint instead 
org.xsocket.DynamicWorkerPool
          use a ThreadPool implementation of java.util.concurrent package (Executor) instead 
org.xsocket.stream.StreamSocketConfiguration
            
 

Deprecated Fields
org.xsocket.stream.IMultithreadedServer.DEFAULT_RECEIVE_BUFFER_PREALLOCATION_SIZE
            
 

Deprecated Methods
org.xsocket.stream.IConnection.attach(Object)
          use IConnection.setAttachment(Object) instead 
org.xsocket.stream.IConnection.attachment()
          use IConnection.getAttachment() instead 
org.xsocket.stream.MultithreadedServer.getDispatcherPoolSize()
            
org.xsocket.datagram.MulticastEndpoint.getLocalSocketAddress()
            
org.xsocket.datagram.IEndpoint.getLocalSocketAddress()
            
org.xsocket.stream.MultithreadedServer.getReceiveBufferPreallocationSize()
          no replacement 
org.xsocket.stream.IMultithreadedServer.getReceiveBufferPreallocationSize()
          on replacement 
org.xsocket.datagram.MulticastEndpoint.getSocketOptions()
            
org.xsocket.stream.MultithreadedServer.getWorkerPool()
          use IMultithreadedServer.getWorkerpool() instead 
org.xsocket.stream.IMultithreadedServer.getWorkerPool()
          use IMultithreadedServer.getWorkerpool() instead 
org.xsocket.stream.INonBlockingConnection.indexOf(String)
          uses getIndexOf instead 
org.xsocket.stream.IMutlithreadedServerListener.onDispatcherAdded(IDispatcher)
            
org.xsocket.stream.IMutlithreadedServerListener.onDispatcherRemoved(IDispatcher)
            
org.xsocket.stream.IMutlithreadedServerListener.onWorkerPoolUpdated(IWorkerPool, IWorkerPool)
            
org.xsocket.stream.INonBlockingConnection.readAvailableByDelimiter(String, String, WritableByteChannel)
          use INonBlockingConnection.transferToAvailableByDelimiter(String, String, WritableByteChannel) instead 
org.xsocket.stream.INonBlockingConnection.readAvailableByDelimiter(String, WritableByteChannel)
          use INonBlockingConnection.transferToAvailableByDelimiter(String, WritableByteChannel) instead 
org.xsocket.stream.MultithreadedServer.setDispatcherPoolSize(int)
            
org.xsocket.stream.IMultithreadedServer.setDispatcherPoolSize(int)
            
org.xsocket.stream.MultithreadedServer.setReceiveBufferPreallocationSize(int)
          use System.property instead. see IoProvider 
org.xsocket.stream.IMultithreadedServer.setReceiveBufferPreallocationSize(int)
          use System.property instead. see IoProvider 
org.xsocket.datagram.IEndpoint.setWorkerPool(IWorkerPool)
            
org.xsocket.stream.MultithreadedServer.setWorkerPool(IWorkerPool)
            
org.xsocket.stream.IMultithreadedServer.setWorkerPool(IWorkerPool)
          worker pool should only be set by calling the constructor 
 

Deprecated Constructors
org.xsocket.stream.BlockingConnection(InetAddress, int, Map)
            
org.xsocket.stream.BlockingConnection(InetAddress, int, StreamSocketConfiguration)
            
org.xsocket.stream.BlockingConnection(InetAddress, int, StreamSocketConfiguration, SSLContext, boolean)
            
org.xsocket.stream.BlockingConnection(String, int, StreamSocketConfiguration)
            
org.xsocket.stream.BlockingConnection(String, int, StreamSocketConfiguration, SSLContext, boolean)
            
org.xsocket.datagram.ConnectedEndpoint(SocketAddress, DatagramSocketConfiguration)
            
org.xsocket.datagram.ConnectedEndpoint(SocketAddress, DatagramSocketConfiguration, int)
            
org.xsocket.datagram.ConnectedEndpoint(SocketAddress, DatagramSocketConfiguration, int, IDatagramHandler)
            
org.xsocket.datagram.ConnectedEndpoint(SocketAddress, DatagramSocketConfiguration, int, IDatagramHandler, Executor)
            
org.xsocket.datagram.ConnectedEndpoint(String, int, DatagramSocketConfiguration)
            
org.xsocket.datagram.ConnectedEndpoint(String, int, DatagramSocketConfiguration, int)
            
org.xsocket.datagram.Endpoint(DatagramSocketConfiguration, int)
            
org.xsocket.datagram.Endpoint(DatagramSocketConfiguration, int, IDatagramHandler)
            
org.xsocket.datagram.Endpoint(DatagramSocketConfiguration, int, IDatagramHandler, Executor, InetAddress, int)
            
org.xsocket.datagram.Endpoint(DatagramSocketConfiguration, int, IDatagramHandler, InetAddress, int)
            
org.xsocket.datagram.MulticastEndpoint(InetAddress, int, DatagramSocketConfiguration)
            
org.xsocket.datagram.MulticastEndpoint(InetAddress, int, DatagramSocketConfiguration, int, IDatagramHandler)
            
org.xsocket.datagram.MulticastEndpoint(InetAddress, int, DatagramSocketConfiguration, int, IDatagramHandler, Executor)
            
org.xsocket.datagram.MulticastEndpoint(String, int, DatagramSocketConfiguration, int, IDatagramHandler)
            
org.xsocket.stream.MultithreadedServer(InetAddress, int, StreamSocketConfiguration, IHandler)
            
org.xsocket.stream.MultithreadedServer(InetAddress, int, StreamSocketConfiguration, IHandler, boolean, SSLContext)
            
org.xsocket.stream.MultithreadedServer(InetAddress, int, StreamSocketConfiguration, IHandler, Executor, boolean, SSLContext)
            
org.xsocket.stream.MultithreadedServer(int, StreamSocketConfiguration, IHandler)
            
org.xsocket.stream.MultithreadedServer(int, StreamSocketConfiguration, IHandler, boolean, SSLContext)
            
org.xsocket.stream.MultithreadedServer(StreamSocketConfiguration, IHandler)
            
org.xsocket.stream.MultithreadedServer(String, int, StreamSocketConfiguration, IHandler)
            
org.xsocket.stream.MultithreadedServer(String, int, StreamSocketConfiguration, IHandler, boolean, SSLContext)
            
org.xsocket.stream.NonBlockingConnection(InetAddress, int, IHandler, Executor, int)
            
org.xsocket.stream.NonBlockingConnection(InetAddress, int, StreamSocketConfiguration)
            
org.xsocket.stream.NonBlockingConnection(InetAddress, int, StreamSocketConfiguration, IHandler)
            
org.xsocket.stream.NonBlockingConnection(InetAddress, int, StreamSocketConfiguration, IHandler, int)
            
org.xsocket.stream.NonBlockingConnection(InetAddress, int, StreamSocketConfiguration, SSLContext, boolean)
            
org.xsocket.stream.NonBlockingConnection(String, int, StreamSocketConfiguration)
            
org.xsocket.stream.NonBlockingConnection(String, int, StreamSocketConfiguration, SSLContext, boolean)