Interface SocketCustomizer
- Functional Interface:
- This is a functional interface and can therefore be used as the assignment target for a lambda expression or method reference.
Configures a socket.
- Since:
- 5.3.3
- Author:
- Gary Russell
-
Method Summary
Modifier and TypeMethodDescriptionvoid
configure
(DatagramSocket socket) Configure the socket ({code setTrafficClass()}, etc).
-
Method Details
-
configure
Configure the socket ({code setTrafficClass()}, etc).- Parameters:
socket
- the socket.- Throws:
SocketException
- a socket exception.
-