ozone API

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.1 $Date: 2001/12/18 10:31:30 $
Author:
SMB
See Also:
OzoneInterface

Field Summary
 
Fields inherited from class org.ozoneDB.ExternalDatabase
DefaultAccessRight, PROP_DEBUG, PROP_DIR, PROP_HOST, PROP_PASSWD, PROP_PORT, PROP_USER
 
Fields inherited from interface org.ozoneDB.OzoneInterface
AllLock, AllRead, GroupLock, GroupRead, Private, Public
 
Constructor Summary
RemoteDatabase()
           
 
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, objectsOfClass, openDatabase, openDatabase, prepareTX, reloadClasses, rollbackTX, xmlForObject, xmlForObject
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
 
Methods inherited from interface org.ozoneDB.OzoneInterface
createObject, createObject, createObject, createObject, createObject, createObject, createObject, createObject, createObject
 

Constructor Detail

RemoteDatabase

public RemoteDatabase()
Method Detail

open

public void open(java.lang.String _hostName,
                 int _portNum)
          throws java.lang.Exception
Open a new database connection.

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.

java.lang.Exception

toString

public java.lang.String toString()
Overrides:
toString in class java.lang.Object

ozone API

Copyright (C) The Ozone Database Project - www.ozone-db.org. All rights reserved.