@Experimental
@Service
public interface SocketSourceFactory
SocketSource instances required by connectors.| Modifier and Type | Interface and Description |
|---|---|
static class |
SocketSourceFactory.Context
Represents a context that provides additional information for socket source creation.
|
| Modifier and Type | Method and Description |
|---|---|
SocketSource |
createSocketSource(ClientSocketConnector connector,
SocketSourceFactory.Context context)
Creates a new
SocketSource for the specified message connector. |
@Nullable SocketSource createSocketSource(ClientSocketConnector connector, SocketSourceFactory.Context context)
SocketSource for the specified message connector.
The created SocketSource may encapsulate logic for managing network connections,
including address resolution and load balancing, specific to the given connector.connector - the ClientSocketConnector instance that requires a new socket source.context - connection-specific context for the required SocketSource.SocketSource instance or null if the factory does not support
specified configurationCopyright © 2002–2026 Devexperts LLC. All rights reserved.