Skip to content
Snippets Groups Projects
Commit 372fb53f authored by tonschnoer's avatar tonschnoer
Browse files

added tcpclient

parent 106cd2fe
Branches
No related tags found
No related merge requests found
......@@ -32,6 +32,9 @@ public class Main {
public void scheduler(Timer timer) {
try {
System.out.println("Timer fired.");
TCPClient tc = new TCPClient();
tc.run();
} catch (Exception _ex) {
_ex.printStackTrace();
}
......
......@@ -19,12 +19,8 @@ public class TCPClient {
/** The logger. */
protected final Logger logger = LogManager.getLogger();
/**
* The main method.
*
* @param args the arguments
*/
public void main(String[] args) {
public void run() {
byte[] buffer = new byte[32768];
try {
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment