edu.rice.cs.hpc.traceviewer.db.AbstractDBOpener Class Reference

An interface for the DBOpeners. More...

Inheritance diagram for edu.rice.cs.hpc.traceviewer.db.AbstractDBOpener:
Inheritance graph
[legend]

List of all members.

Public Member Functions

abstract SpaceTimeDataController openDBAndCreateSTDC (IWorkbenchWindow window, IStatusLineManager statusMgr) throws IOException, InvalExperimentException, Exception
 This prepares the database for retrieving data and creates a SpaceTimeDataController from that data.
abstract void end ()

Detailed Description

An interface for the DBOpeners.

Specifically, it is implemented by RemoteDBOpener and LocalDBOpener. Its main purpose is to create a SpaceTimeDataController from the connection to the database (be it local or remote), but it also partially handles closing that connection.

Author:
Philip Taffet

Definition at line 22 of file AbstractDBOpener.java.


Member Function Documentation

abstract void edu.rice.cs.hpc.traceviewer.db.AbstractDBOpener.end (  )  [pure virtual]
abstract SpaceTimeDataController edu.rice.cs.hpc.traceviewer.db.AbstractDBOpener.openDBAndCreateSTDC ( IWorkbenchWindow  window,
IStatusLineManager  statusMgr 
) throws IOException, InvalExperimentException, Exception [pure virtual]

This prepares the database for retrieving data and creates a SpaceTimeDataController from that data.

The local implementation (LocalDBOpener) should return a SpaceTimeDataControllerLocal while the remote implementation (RemoteDBOpener) should return a SpaceTimeDataControllerRemote.

Parameters:
window 
args The command line arguments used to start the application
statusMgr 
Returns:
Exceptions:
IOException 
Exception 
InvalExperimentException 

Implemented in edu.rice.cs.hpc.traceviewer.db.remote.RemoteDBOpener.

Referenced by edu.rice.cs.hpc.traceviewer.db.TraceDatabase.openDatabase().


The documentation for this class was generated from the following file:

Generated on 5 May 2015 for HPCVIEWER by  doxygen 1.6.1