public class NPNClientConnectionFactory extends NegotiatingClientConnectionFactory
ClientConnectionFactory.Helper| Constructor and Description |
|---|
NPNClientConnectionFactory(Executor executor,
ClientConnectionFactory connectionFactory,
String protocol) |
| Modifier and Type | Method and Description |
|---|---|
Connection |
newConnection(EndPoint endPoint,
Map<String,Object> context) |
getClientConnectionFactorypublic NPNClientConnectionFactory(Executor executor, ClientConnectionFactory connectionFactory, String protocol)
public Connection newConnection(EndPoint endPoint, Map<String,Object> context) throws IOException
endPoint - the EndPoint to link the newly created connection tocontext - the context data to create the connectionConnectionIOException - if the connection cannot be createdCopyright © 1995-2015 Webtide. All Rights Reserved.