int port;
UdpSimpleClient sc;
if (args.length != 2) {
- LOGGER.error("Usage: " + UdpSimpleClient.class.getSimpleName()
- + " <host> <port>");
+ LOGGER.error("Usage: {} <host> <port>", UdpSimpleClient.class.getSimpleName());
LOGGER.error("Trying to use default setting.");
InetAddress ia = InetAddress.getLocalHost();
InetAddress[] all = InetAddress.getAllByName(ia.getHostName());
public void setSecuredClient(boolean securedClient) {
// TODO: Finish implementation when DTLS is supported
}
-}
\ No newline at end of file
+}