|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.neo4j.remote.CustomGraphDatabaseServer
public final class CustomGraphDatabaseServer
A remote graph database server that uses a custom protocol for communication with the client.
Constructor Summary | |
---|---|
CustomGraphDatabaseServer(GraphDatabaseService neo,
SocketAddress endpoint,
boolean useSSL)
Create a new Custom protocol remote graph database server. |
Method Summary | |
---|---|
static RemoteConnection |
connect(SocketAddress remote,
boolean useSSL)
Internal API for setting up a connection to a server. |
static RemoteConnection |
connect(SocketAddress remote,
boolean useSSL,
String username,
String password)
Internal API for setting up a connection to a server. |
void |
shutdown()
Shut down the server. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public CustomGraphDatabaseServer(GraphDatabaseService neo, SocketAddress endpoint, boolean useSSL) throws IOException
neo
- the GraphDatabaseService
used to back the server.endpoint
- The address to listen for incoming connections on.useSSL
- true
if the server should secure the
communication through SSL.
IOException
- If opening or binding the server socket fails.Method Detail |
---|
public void shutdown()
public static RemoteConnection connect(SocketAddress remote, boolean useSSL)
remote
- useSSL
-
public static RemoteConnection connect(SocketAddress remote, boolean useSSL, String username, String password)
remote
- useSSL
- username
- password
-
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |