rj.tools.ccscrape
Class MonitorEvent

java.lang.Object
  extended by rj.tools.ccscrape.MonitorEvent

public class MonitorEvent
extends java.lang.Object

Event sent to MonitorListeners

Version:
$Revision: 1.1 $
Author:
jochamrm

Constructor Summary
MonitorEvent(boolean isSuccess, java.lang.String okHouseAndUnitCode, java.lang.String failHouseAndUnitCode, java.lang.String port, java.util.Date date)
          Creates a new instance
 
Method Summary
 java.util.Date getDate()
          Get the date of the event
 java.lang.String getFailHouseAndUnitCode()
          Get house and unit code of fail device
 java.lang.String getOkHoudseAndUnitCode()
          Get house and unit code of ok device
 java.lang.String getPort()
          Get port of device communication
 boolean isSuccess()
          Get status of last monitoring
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

MonitorEvent

public MonitorEvent(boolean isSuccess,
                    java.lang.String okHouseAndUnitCode,
                    java.lang.String failHouseAndUnitCode,
                    java.lang.String port,
                    java.util.Date date)
Creates a new instance

Parameters:
isSuccess -
okHouseAndUnitCode -
failHouseAndUnitCode -
date -
Method Detail

getDate

public java.util.Date getDate()
Get the date of the event

Returns:

getFailHouseAndUnitCode

public java.lang.String getFailHouseAndUnitCode()
Get house and unit code of fail device

Returns:

getPort

public java.lang.String getPort()
Get port of device communication

Returns:

isSuccess

public boolean isSuccess()
Get status of last monitoring

Returns:

getOkHoudseAndUnitCode

public java.lang.String getOkHoudseAndUnitCode()
Get house and unit code of ok device

Returns:


(c) 1999-2005 by Ralph Jocham (rjocham72@netscape.net)
JCSC is released under the terms of the GNU General Public License