| java.lang.Object org.h2.server.TcpServer
TcpServer | public class TcpServer implements Service(Code) | | The TCP server implements the native H2 database server protocol.
It supports multiple client connections to multiple databases
(many to many). The same database may be opened by multiple clients.
Also supported is the mixed mode: opening databases in embedded mode,
and at the same time start a TCP server to allow clients to connect to
the same database over the network.
|
DEFAULT_PORT | final public static int DEFAULT_PORT(Code) | | |
logInternalErrors | public static boolean logInternalErrors(Code) | | |
getAllServerPorts | public static int[] getAllServerPorts()(Code) | | Get the list of ports of all running TCP server.
the list of ports |
getAllowOthers | public boolean getAllowOthers()(Code) | | |
getIfExists | public boolean getIfExists()(Code) | | |
getManagementDbName | public static String getManagementDbName(int port)(Code) | | Get the database name of the management database.
The management database contains a table with active sessions (SESSIONS).
Parameters: port - the TCP server port the database name (usually starting with mem:) |
isRunning | public synchronized boolean isRunning()(Code) | | |
listen | public void listen()(Code) | | |
logInternalError | public void logInternalError(String string)(Code) | | |
removeConnection | synchronized void removeConnection(int id)(Code) | | |
stopServer | public static void stopServer(int port, String password, int shutdownMode)(Code) | | |
|
|