Interface EventSenderFactory
-
public interface EventSenderFactory
Interface for a factory that creates some implementation ofEventSender
.- Since:
- 4.14.0
- See Also:
EventProcessorBuilder.eventSender(EventSenderFactory)
-
-
Method Summary
All Methods Instance Methods Abstract Methods Default Methods Deprecated Methods Modifier and Type Method Description EventSender
createEventSender(BasicConfiguration basicConfiguration, HttpConfiguration httpConfiguration)
Deprecated.use the overload that includes a loggerdefault EventSender
createEventSender(BasicConfiguration basicConfiguration, HttpConfiguration httpConfiguration, LDLogger logger)
Called by the SDK to create the implementation object.
-
-
-
Method Detail
-
createEventSender
@Deprecated EventSender createEventSender(BasicConfiguration basicConfiguration, HttpConfiguration httpConfiguration)
Deprecated.use the overload that includes a loggerOlder method for creating the implementation object. This is superseded by the method that includes a logger instance.- Parameters:
basicConfiguration
- the basic global SDK configuration propertieshttpConfiguration
- HTTP configuration properties- Returns:
- an
EventSender
-
createEventSender
default EventSender createEventSender(BasicConfiguration basicConfiguration, HttpConfiguration httpConfiguration, LDLogger logger)
Called by the SDK to create the implementation object.- Parameters:
basicConfiguration
- the basic global SDK configuration propertieshttpConfiguration
- HTTP configuration propertieslogger
- the configured logger- Returns:
- an
EventSender
- Since:
- 5.10.0
-
-