1 22 package org.xsocket.stream.io.spi; 23 24 import java.io.IOException ; 25 import java.net.InetSocketAddress ; 26 import java.util.Map ; 27 28 import org.xsocket.stream.IConnection; 29 30 31 32 40 public interface IClientIoProvider extends IHandlerIoProvider { 41 42 public static final String PROVIDER_CLASSNAME_KEY = "org.xsocket.stream.io.spi.ClientIoProviderClass"; 43 44 45 public static final String SO_SNDBUF = IConnection.SO_SNDBUF; 46 public static final String SO_RCVBUF = IConnection.SO_RCVBUF; 47 public static final String SO_REUSEADDR = IConnection.SO_REUSEADDR; 48 public static final String SO_KEEPALIVE = IConnection.SO_KEEPALIVE; 49 public static final String SO_LINGER = IConnection.SO_LINGER; 50 public static final String TCP_NODELAY = IConnection.TCP_NODELAY; 51 52 53 62 public IIoHandler createClientIoHandler(IIoHandlerContext ctx, InetSocketAddress remoteAddress, Map <String ,Object > options) throws IOException ; 63 } 64 | Popular Tags |