dea.hc.jds.actions
Class BaseJDSAction

java.lang.Object
  extended bydea.hc.jds.actions.BaseJDSAction
All Implemented Interfaces:
IDebugLevels
Direct Known Subclasses:
AllOutsideOn, AtDark, IncRainCount, IncTestcount, JustLog, SendLog, SendVars, TurnOnM1

public abstract class BaseJDSAction
extends java.lang.Object
implements IDebugLevels

Title: Base JDS Action
Description: Base class for JDS action classes
Copyright: Copyright (c) 2005
Company: RMRR

@author David Abigt
@version 1.0


Field Summary
protected static Display display
          Get connection to display / log utils
 
Fields inherited from interface dea.common.IDebugLevels
BASIC, DEBUG_ALL, ERROR, METH_DETAIL, METH_ENTER, METH_EXIT, METH_EXT, METH_GET, METH_SET, METH_VARS, SHOW_PASS
 
Constructor Summary
BaseJDSAction()
           
 
Method Summary
static void logAction(java.sql.Timestamp entered, int devId, int newValue, Db db)
           
abstract  java.lang.String process(Hc_echo echo, Hc_devices dev, Db db, int newVal)
           
static java.lang.String sendChanges(java.util.ArrayList devs, boolean logit)
          Sends changes to remote server
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

display

protected static final Display display
Get connection to display / log utils

Constructor Detail

BaseJDSAction

public BaseJDSAction()
Method Detail

logAction

public static void logAction(java.sql.Timestamp entered,
                             int devId,
                             int newValue,
                             Db db)
                      throws java.sql.SQLException,
                             java.lang.ClassNotFoundException
Throws:
java.sql.SQLException
java.lang.ClassNotFoundException

sendChanges

public static java.lang.String sendChanges(java.util.ArrayList devs,
                                           boolean logit)
Sends changes to remote server

Parameters:
devs - HashSet of Hc_devices objects
Returns:

process

public abstract java.lang.String process(Hc_echo echo,
                                         Hc_devices dev,
                                         Db db,
                                         int newVal)


Copyright © 2001-2005 Round Mountain Rescue Ranch. All Rights Reserved.