ozone core API

org.ozoneDB.core.DbRemote
Class DbClient

java.lang.Object
  extended byorg.ozoneDB.DxLib.DxObject
      extended byorg.ozoneDB.DxLib.net.DxClient
          extended byorg.ozoneDB.core.DbRemote.DbClient
All Implemented Interfaces:
java.lang.Cloneable, DxCompatible, java.io.Serializable
Direct Known Subclasses:
DbLocalClient, DbRemoteClient

public abstract class DbClient
extends DxClient

Version:
$Revision: 1.4 $Date: 2002/09/18 06:54:15 $
Author:
SMB
See Also:
Serialized Form

Field Summary
protected  org.ozoneDB.ExternalDatabase db
           
protected  java.lang.String user
           
 
Fields inherited from class org.ozoneDB.DxLib.net.DxClient
buffSize, in, out, sock
 
Fields inherited from class org.ozoneDB.DxLib.DxObject
 
Constructor Summary
DbClient(org.ozoneDB.ExternalDatabase _db, java.lang.String _user)
           
DbClient(org.ozoneDB.ExternalDatabase _db, java.lang.String _host, int _port, java.lang.String _user)
           
 
Method Summary
 java.lang.Object receive()
           
 java.lang.String user()
           
 
Methods inherited from class org.ozoneDB.DxLib.net.DxClient
close, init, inputStream, objectAvailable, onConnect, onDeconnect, outputStream, send
 
Methods inherited from class org.ozoneDB.DxLib.DxObject
clone, isLess
 
Methods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface org.ozoneDB.DxLib.DxCompatible
equals
 

Field Detail

db

protected org.ozoneDB.ExternalDatabase db

user

protected java.lang.String user
Constructor Detail

DbClient

public DbClient(org.ozoneDB.ExternalDatabase _db,
                java.lang.String _user)

DbClient

public DbClient(org.ozoneDB.ExternalDatabase _db,
                java.lang.String _host,
                int _port,
                java.lang.String _user)
         throws java.io.IOException
Method Detail

user

public java.lang.String user()

receive

public java.lang.Object receive()
                         throws java.io.IOException,
                                java.lang.ClassNotFoundException
Overrides:
receive in class DxClient
Throws:
java.io.IOException
java.lang.ClassNotFoundException

ozone core API

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