org.ozoneDB
Class RemoteDatabase
java.lang.Object
org.ozoneDB.AbstractDatabase
org.ozoneDB.ExternalDatabase
org.ozoneDB.RemoteDatabase
- All Implemented Interfaces:
- OzoneInterface
- public final class RemoteDatabase
- extends ExternalDatabase
This class represents a remote database server that is connected via
a network connection. For a detailed description of the API see OzoneInterface
.
- Version:
- $Revision: 1.5 $Date: 2002/09/18 06:54:13 $
- Author:
- SMB
- See Also:
OzoneInterface
Method Summary |
void |
open(java.lang.String hostName,
int portNum)
Open a new database connection. |
void |
open(java.lang.String hostName,
int portNum,
java.lang.String userName,
java.lang.String passwd)
Open a new database connection. |
java.lang.String |
toString()
|
Methods inherited from class org.ozoneDB.ExternalDatabase |
admin, beginTX, checkpointTX, close, commitTX, copyObject, createObject, createObject, createObject, createObject, createObject, createObject, createObject, createObject, createObject, createObject, currentExternalTransaction, currentTransaction, deleteObject, fetch, forThread, getStatusTX, getXAResource, invoke, invoke, isOpen, joinTX, leaveTX, nameObject, newTransaction, notifyProxyDeath, objectForHandle, objectForName, objectNames, openDatabase, openDatabase, prepareTX, reloadClasses, rollbackTX, xmlForObject, xmlForObject |
Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait |
RemoteDatabase
public RemoteDatabase()
open
public void open(java.lang.String hostName,
int portNum)
throws java.lang.Exception
- Open a new database connection.
- Parameters:
hostName
- name of the host where the server residesportNum
- port of the server (default server setting: 3000)
- Throws:
java.lang.Exception
open
public void open(java.lang.String hostName,
int portNum,
java.lang.String userName,
java.lang.String passwd)
throws java.lang.Exception
- Open a new database connection.
- Parameters:
hostName
- name of the host where the server residesportNum
- port of the server (default server setting: 3000)userName
- passwd
-
- Throws:
java.lang.Exception
toString
public java.lang.String toString()
Copyright (C) The Ozone Database Project - www.ozone-db.org. All rights reserved.