Package com.rabbitmq.client
Interface SocketChannelConfigurator
- All Known Implementing Classes:
DefaultSocketChannelConfigurator
- Functional Interface:
- This is a functional interface and can therefore be used as the assignment target for a lambda expression or method reference.
-
Method Summary
Modifier and TypeMethodDescriptiondefault SocketChannelConfiguratorandThen(SocketChannelConfigurator after) Returns a composed configurator that performs, in sequence, this operation followed by theafteroperation.voidconfigure(SocketChannel socketChannel) Provides a hook to insert custom configuration of theSocketChannels used to connect to an AMQP server before they connect.
-
Method Details
-
configure
Provides a hook to insert custom configuration of theSocketChannels used to connect to an AMQP server before they connect.- Throws:
IOException
-
andThen
Returns a composed configurator that performs, in sequence, this operation followed by theafteroperation.- Parameters:
after- the operation to perform after this operation- Returns:
- a composed configurator that performs in sequence this
operation followed by the
afteroperation - Throws:
NullPointerException- ifafteris null
-