saaps.dbt
Class RemoteInspect

java.lang.Object
  |
  +--saaps.dbt.RemoteInspect

public class RemoteInspect
extends java.lang.Object

Displays data from the selected remote Database.


Field Summary
private  java.util.Vector dbList
           
private  java.lang.String dbName
           
private  DatabaseRMI dbrmi
           
private  java.util.Calendar ed
           
private  java.util.Calendar sd
           
 
Constructor Summary
RemoteInspect(java.lang.String dbn, java.lang.String RMIServer, java.lang.String dateTime, java.lang.String timeSpan)
          Gives us an object with all input parameters initialized.
 
Method Summary
 void display(ObjectTimeSeries ots)
          Prints out the contents of the input ObjectTimeSeries.
 ObjectTimeSeries goGet()
          Gets an ObjectTimeSeries object.
static void main(java.lang.String[] argv)
          Main of RemoteInspect.
 
Methods inherited from class java.lang.Object
, clone, equals, finalize, getClass, hashCode, notify, notifyAll, registerNatives, toString, wait, wait, wait
 

Field Detail

dbName

private java.lang.String dbName

dbrmi

private DatabaseRMI dbrmi

dbList

private java.util.Vector dbList

sd

private java.util.Calendar sd

ed

private java.util.Calendar ed
Constructor Detail

RemoteInspect

public RemoteInspect(java.lang.String dbn,
                     java.lang.String RMIServer,
                     java.lang.String dateTime,
                     java.lang.String timeSpan)
Gives us an object with all input parameters initialized.
Parameters:
dbn - Database name
RMIServer - name of the remote server
dateTime - start date/time
timeSpan - data interval in minutes
Method Detail

goGet

public ObjectTimeSeries goGet()
                       throws java.io.IOException,
                              IllegalTimeSeriesException
Gets an ObjectTimeSeries object.

display

public void display(ObjectTimeSeries ots)
Prints out the contents of the input ObjectTimeSeries.

main

public static void main(java.lang.String[] argv)
Main of RemoteInspect. Extracts the command line arguments and runs the metods to get and display data.