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. |
Methods inherited from class java.lang.Object |
clone,
equals,
finalize,
getClass,
hashCode,
notify,
notifyAll,
toString,
wait,
wait,
wait |
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 nameRMIServer
- name of the remote serverdateTime
- start date/timetimeSpan
- data interval in minutes
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.