org.neo4j.remote
Interface ConnectionTarget

All Known Implementing Classes:
BasicGraphDatabaseServer, LocalGraphDatabase

public interface ConnectionTarget

Represents a server that a graph database client can connect to.

Author:
Tobias Ivarsson

Method Summary
 RemoteConnection connect()
          Connect to the remote site.
 RemoteConnection connect(String username, String password)
          Connect to the remote site.
 

Method Detail

connect

RemoteConnection connect()
Connect to the remote site.

Returns:
The connection to the remote site.

connect

RemoteConnection connect(String username,
                         String password)
Connect to the remote site.

Parameters:
username - The name of the user that makes the connection.
password - The password for the user that makes the connection.
Returns:
The connection to the remote site.


Copyright © 2010 Neo4j. All Rights Reserved.