org.mbari.siam.core
Class LogSampleServiceEvent

java.lang.Object
  extended by java.util.EventObject
      extended by org.mbari.siam.core.NodeEvent
          extended by org.mbari.siam.core.LogSampleServiceEvent
All Implemented Interfaces:
java.io.Serializable

public class LogSampleServiceEvent
extends NodeEvent

LogSample Service Event

See Also:
Serialized Form

Field Summary
protected  DevicePacket _logSample
          DevicePacket that is being published
 int _serviceID
          ID of service that initiated event
static int SAMPLE_LOGGED
           
 
Fields inherited from class org.mbari.siam.core.NodeEvent
_consumed, _id, SCHEDULER_EVENT_MASK, SERVICE_EVENT_MASK
 
Fields inherited from class java.util.EventObject
source
 
Constructor Summary
LogSampleServiceEvent(java.lang.Object source, int id, int serviceID, DevicePacket logSample)
          Constructs a LogSampleServiceEvent with the specified source, type, serviceID, and DevicePacket
 
Method Summary
 DevicePacket getLogSample()
          Return the sample that was logged
 int getServiceID()
          getServiceID()
 void setLogSample(DevicePacket logSample)
          Save the sample that was logged
 
Methods inherited from class org.mbari.siam.core.NodeEvent
consume, finalize, getID, isConsumed, paramString, toString
 
Methods inherited from class java.util.EventObject
getSource
 
Methods inherited from class java.lang.Object
clone, equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

SAMPLE_LOGGED

public static final int SAMPLE_LOGGED
See Also:
Constant Field Values

_serviceID

public int _serviceID
ID of service that initiated event


_logSample

protected DevicePacket _logSample
DevicePacket that is being published

Constructor Detail

LogSampleServiceEvent

public LogSampleServiceEvent(java.lang.Object source,
                             int id,
                             int serviceID,
                             DevicePacket logSample)
Constructs a LogSampleServiceEvent with the specified source, type, serviceID, and DevicePacket

Method Detail

getServiceID

public int getServiceID()
getServiceID()


getLogSample

public DevicePacket getLogSample()
Return the sample that was logged


setLogSample

public void setLogSample(DevicePacket logSample)
Save the sample that was logged



Copyright © 2003 MBARI.

The Monterey Bay Aquarium Research Institute (MBARI) provides this documentation and code "as is", with no warranty, express or implied, of its quality or consistency. It is provided without support and without obligation on the part of MBARI to assist in its use, correction, modification, or enhancement.