[#1177] Add SQL Console module to jOOQ - Debugger renaming.
This commit is contained in:
parent
3e07dbc36c
commit
d949338e4e
@ -90,7 +90,7 @@ import javax.swing.event.DocumentListener;
|
||||
|
||||
import org.jooq.Record;
|
||||
import org.jooq.Table;
|
||||
import org.jooq.debug.console.remote.SqlRemoteQueryDebuggerClient;
|
||||
import org.jooq.debug.console.remote.RemoteDebuggerClient;
|
||||
|
||||
/**
|
||||
* @author Christopher Deckers
|
||||
@ -464,7 +464,7 @@ public class Console extends JFrame {
|
||||
return;
|
||||
}
|
||||
try {
|
||||
new SqlRemoteQueryDebuggerClient(args[0], Integer.parseInt(args[1]));
|
||||
new RemoteDebuggerClient(args[0], Integer.parseInt(args[1]));
|
||||
} catch(Exception e) {
|
||||
e.printStackTrace();
|
||||
return;
|
||||
|
||||
@ -52,11 +52,11 @@ import org.jooq.debug.DebuggerResultSetData;
|
||||
/**
|
||||
* @author Christopher Deckers
|
||||
*/
|
||||
public class SqlRemoteQueryDebuggerClient {
|
||||
public class RemoteDebuggerClient {
|
||||
|
||||
private Socket socket;
|
||||
|
||||
public SqlRemoteQueryDebuggerClient(String ip, int port) throws Exception {
|
||||
public RemoteDebuggerClient(String ip, int port) throws Exception {
|
||||
socket = new Socket(ip, port);
|
||||
Thread thread = new Thread("SQL Remote Debugger Client on port " + port) {
|
||||
@Override
|
||||
@ -52,12 +52,12 @@ import org.jooq.debug.DebuggerResultSetData;
|
||||
/**
|
||||
* @author Christopher Deckers
|
||||
*/
|
||||
public class SqlRemoteQueryDebuggerServer {
|
||||
public class RemoteDebuggerServer {
|
||||
|
||||
private final Object LOCK = new Object();
|
||||
private ServerSocket serverSocket;
|
||||
|
||||
public SqlRemoteQueryDebuggerServer(final int port) {
|
||||
public RemoteDebuggerServer(final int port) {
|
||||
Thread serverThread = new Thread("SQL Remote Debugger Server on port " + port) {
|
||||
@Override
|
||||
public void run() {
|
||||
Loading…
Reference in New Issue
Block a user