public final class TCPServer extends Object
Constructor and Description |
---|
TCPServer(Database database)
Constructs the TCPServer over the given DatabaseSystem configuration.
|
Modifier and Type | Method and Description |
---|---|
boolean |
checkAvailable(InetAddress bind_address,
int tcp_port)
Checks to see if there's already something listening on the jdbc
port.
|
void |
close()
Closes the JDBC Server.
|
DebugLogger |
Debug()
Returns a DebugLogger object that we can log debug messages to.
|
int |
getJDBCPort()
Returns the port the JDBC server is on.
|
void |
start(InetAddress bind_address,
int tcp_port,
String connection_pool_model)
Starts the server running.
|
String |
toString()
Returns human understandable information about the server.
|
public TCPServer(Database database)
public final DebugLogger Debug()
public int getJDBCPort()
public boolean checkAvailable(InetAddress bind_address, int tcp_port)
public void start(InetAddress bind_address, int tcp_port, String connection_pool_model)
public void close()
Copyright © 2015. All rights reserved.