Interface SocketHandlerFunction
- Functional Interface:
- This is a functional interface and can therefore be used as the assignment target for a lambda expression or method reference.
Construct socket depending on configuration helper
-
Method Summary
Modifier and TypeMethodDescriptionapply
(Configuration conf, HostAddress hostAddress) Create socket
-
Method Details
-
apply
Create socket- Parameters:
conf
- configurationhostAddress
- host- Returns:
- socket
- Throws:
IOException
- if any socket issue occursSQLException
- for other kind of error
-