Interface TcpTransportConfig
- All Superinterfaces:
Prototype.Api
- All Known Implementing Classes:
TcpTransportConfig.BuilderBase.TcpTransportConfigImpl
Configuration of the built-in TCP listener transport binding.
- See Also:
-
Nested Class Summary
Nested ClassesModifier and TypeInterfaceDescriptionstatic classFluent API builder forTcpTransportConfig.static classTcpTransportConfig.BuilderBase<BUILDER extends TcpTransportConfig.BuilderBase<BUILDER, PROTOTYPE>, PROTOTYPE extends TcpTransportConfig>Fluent API builder base forTcpTransportConfig. -
Method Summary
Modifier and TypeMethodDescriptionstatic TcpTransportConfig.Builderbuilder()Create a new fluent API builder to customize configuration.static TcpTransportConfig.Builderbuilder(TcpTransportConfig instance) Create a new fluent API builder from an existing instance.static TcpTransportConfigcreate()Create a new instance with default values.static TcpTransportConfigCreate a new instance from configuration.booleanenabled()Whether this binding is enabled.booleanrequired()Whether this binding is required to become active.
-
Method Details
-
builder
Create a new fluent API builder to customize configuration.- Returns:
- a new builder
-
builder
Create a new fluent API builder from an existing instance.- Parameters:
instance- an existing instance used as a base for the builder- Returns:
- a builder based on an instance
-
create
Create a new instance from configuration.- Parameters:
config- used to configure the new instance- Returns:
- a new instance configured from configuration
-
create
Create a new instance with default values.- Returns:
- a new instance
-
enabled
boolean enabled()Whether this binding is enabled.- Returns:
- whether this binding is enabled
-
required
boolean required()Whether this binding is required to become active.- Returns:
- whether this binding is required
-