saaps.dbt
Class RemoteInspect

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

public class RemoteInspect
extends java.lang.Object

Displays data from the selected remote Database.


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, toString, wait, wait, wait
 

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.