public interface ClientConnectionFactory
Connection instances.| Modifier and Type | Field and Description |
|---|---|
static String |
CONNECTOR_CONTEXT_KEY |
| Modifier and Type | Method and Description |
|---|---|
default Connection |
customize(Connection connection,
Map<String,Object> context) |
Connection |
newConnection(EndPoint endPoint,
Map<String,Object> context) |
static final String CONNECTOR_CONTEXT_KEY
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 createddefault Connection customize(Connection connection, Map<String,Object> context)
Copyright © 1995–2017 Webtide. All rights reserved.