Class TcpSocketManager.TcpSocketManagerFactory<M extends TcpSocketManager,T extends org.apache.logging.log4j.core.net.TcpSocketManager.FactoryData>
java.lang.Object
org.apache.logging.log4j.core.net.TcpSocketManager.TcpSocketManagerFactory<M,T>
- Type Parameters:
M
- The manager type.T
- The factory data type.
- All Implemented Interfaces:
ManagerFactory<M,
T>
- Enclosing class:
- TcpSocketManager
protected static class TcpSocketManager.TcpSocketManagerFactory<M extends TcpSocketManager,T extends org.apache.logging.log4j.core.net.TcpSocketManager.FactoryData>
extends Object
implements ManagerFactory<M,T>
Factory to create a TcpSocketManager.
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptioncreateManager
(String name, T data) Creates a Manager.protected String
errorMessage
(T data, List<InetSocketAddress> socketAddresses)
-
Constructor Details
-
TcpSocketManagerFactory
protected TcpSocketManagerFactory()
-
-
Method Details
-
createManager
Description copied from interface:ManagerFactory
Creates a Manager.- Specified by:
createManager
in interfaceManagerFactory<M extends TcpSocketManager,
T extends org.apache.logging.log4j.core.net.TcpSocketManager.FactoryData> - Parameters:
name
- The name of the entity to manage.data
- The data required to create the entity.- Returns:
- A Manager for the entity.
-
errorMessage
-