public interface ClientConnectionFactory
Connection
instances.Modifier and Type | Field and Description |
---|---|
static java.lang.String |
CONNECTOR_CONTEXT_KEY |
Modifier and Type | Method and Description |
---|---|
default Connection |
customize(Connection connection,
java.util.Map<java.lang.String,java.lang.Object> context) |
Connection |
newConnection(EndPoint endPoint,
java.util.Map<java.lang.String,java.lang.Object> context) |
static final java.lang.String CONNECTOR_CONTEXT_KEY
Connection newConnection(EndPoint endPoint, java.util.Map<java.lang.String,java.lang.Object> context) throws java.io.IOException
endPoint
- the EndPoint
to link the newly created connection tocontext
- the context data to create the connectionConnection
java.io.IOException
- if the connection cannot be createddefault Connection customize(Connection connection, java.util.Map<java.lang.String,java.lang.Object> context)
Copyright © 1995–2023 Webtide. All rights reserved.