public final class TCPServer
extends java.lang.Object
Constructor | Description |
---|---|
TCPServer(Database database) |
Constructs the TCPServer over the given DatabaseSystem configuration.
|
Modifier and Type | Method | Description |
---|---|---|
boolean |
checkAvailable(java.net.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(java.net.InetAddress bind_address,
int tcp_port,
java.lang.String connection_pool_model) |
Starts the server running.
|
java.lang.String |
toString() |
Returns human understandable information about the server.
|
public TCPServer(Database database)
public final DebugLogger Debug()
public int getJDBCPort()
public boolean checkAvailable(java.net.InetAddress bind_address, int tcp_port)
public void start(java.net.InetAddress bind_address, int tcp_port, java.lang.String connection_pool_model)
public void close()
public java.lang.String toString()
toString
in class java.lang.Object
Copyright © 2018. All rights reserved.