org.firebirdsql.gds
Class AbstractGDS

java.lang.Object
  extended byorg.firebirdsql.gds.AbstractGDS
All Implemented Interfaces:
java.io.Externalizable, GDS, java.io.Serializable

public abstract class AbstractGDS
extends java.lang.Object
implements GDS, java.io.Externalizable

Base class for GDS implementations. This base class allows the GDS implementation to be serialized and deserialized safeley.

See Also:
Serialized Form

Constructor Summary
AbstractGDS()
           
AbstractGDS(GDSType gdsType)
           
 
Method Summary
 void close()
           
 GDSType getGdsType()
           
 GDSType getType()
          Get the type of the GDS implementation.
 void readExternal(java.io.ObjectInput in)
           
 java.lang.Object readResolve()
           
 void writeExternal(java.io.ObjectOutput out)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface org.firebirdsql.gds.GDS
get_new_isc_blob_handle, get_new_isc_db_handle, get_new_isc_stmt_handle, get_new_isc_svc_handle, get_new_isc_tr_handle, getSqlCounts, isc_attach_database, isc_blob_info, isc_close_blob, isc_commit_retaining, isc_commit_transaction, isc_create_blob2, isc_create_database, isc_database_info, isc_detach_database, isc_drop_database, isc_dsql_alloc_statement2, isc_dsql_allocate_statement, isc_dsql_describe_bind, isc_dsql_describe, isc_dsql_exec_immed2, isc_dsql_exec_immed2, isc_dsql_exec_immed2, isc_dsql_execute_immediate, isc_dsql_execute_immediate, isc_dsql_execute_immediate, isc_dsql_execute, isc_dsql_execute2, isc_dsql_fetch, isc_dsql_free_statement, isc_dsql_prepare, isc_dsql_prepare, isc_dsql_prepare, isc_dsql_set_cursor_name, isc_dsql_sql_info, isc_expand_dpb, isc_get_segment, isc_open_blob2, isc_prepare_transaction, isc_prepare_transaction2, isc_put_segment, isc_rollback_retaining, isc_rollback_transaction, isc_seek_blob, isc_service_attach, isc_service_detach, isc_service_query, isc_service_start, isc_start_transaction, isc_vax_integer, newBlobParameterBuffer, newDatabaseParameterBuffer, newServiceParameterBuffer, newServiceRequestBuffer
 

Constructor Detail

AbstractGDS

public AbstractGDS()

AbstractGDS

public AbstractGDS(GDSType gdsType)
Method Detail

getGdsType

public GDSType getGdsType()

getType

public GDSType getType()
Description copied from interface: GDS
Get the type of the GDS implementation.

Specified by:
getType in interface GDS
Returns:
instance of GDSType.

close

public void close()
Specified by:
close in interface GDS

writeExternal

public void writeExternal(java.io.ObjectOutput out)
                   throws java.io.IOException
Specified by:
writeExternal in interface java.io.Externalizable
Throws:
java.io.IOException

readExternal

public void readExternal(java.io.ObjectInput in)
                  throws java.io.IOException,
                         java.lang.ClassNotFoundException
Specified by:
readExternal in interface java.io.Externalizable
Throws:
java.io.IOException
java.lang.ClassNotFoundException

readResolve

public java.lang.Object readResolve()


Copyright © 2001 David Jencks and other authors. All rights reserved.