Package edu.sc.seis.sod
Class EventChannelPair
java.lang.Object
edu.sc.seis.sod.WaveformWorkUnit
edu.sc.seis.sod.AbstractEventPair
edu.sc.seis.sod.CookieEventPair
edu.sc.seis.sod.AbstractEventChannelPair
edu.sc.seis.sod.EventChannelPair
- All Implemented Interfaces:
Runnable
-
Field Summary
FieldsFields inherited from class edu.sc.seis.sod.AbstractEventChannelPair
esp
Fields inherited from class edu.sc.seis.sod.WaveformWorkUnit
dbid, failLogger, lastQuery, numRetries
-
Constructor Summary
ConstructorsModifierConstructorDescriptionprotected
for hibernateEventChannelPair
(StatefulEvent event, edu.iris.Fissures.network.ChannelImpl chan, EventStationPair esp) EventChannelPair
(StatefulEvent event, edu.iris.Fissures.network.ChannelImpl chan, Status status, EventStationPair esp) -
Method Summary
Modifier and TypeMethodDescriptionboolean
edu.iris.Fissures.network.ChannelImpl
int
int
hashCode()
void
run()
protected void
setChannel
(edu.iris.Fissures.network.ChannelImpl chan) for use by hibernatetoString()
Methods inherited from class edu.sc.seis.sod.AbstractEventChannelPair
getCookieJar, getEsp, setEsp, update
Methods inherited from class edu.sc.seis.sod.CookieEventPair
getCookies, setCookies, setStatus
Methods inherited from class edu.sc.seis.sod.AbstractEventPair
getEvent, getEventDbId, getStatus, setEvent, update
Methods inherited from class edu.sc.seis.sod.WaveformWorkUnit
getDbid, getLastQuery, getNumRetries, setDbid, setLastQuery, setNumRetries, updateRetries
-
Field Details
-
BIG_ERROR_MSG
-
-
Constructor Details
-
EventChannelPair
protected EventChannelPair()for hibernate -
EventChannelPair
public EventChannelPair(StatefulEvent event, edu.iris.Fissures.network.ChannelImpl chan, EventStationPair esp) -
EventChannelPair
public EventChannelPair(StatefulEvent event, edu.iris.Fissures.network.ChannelImpl chan, Status status, EventStationPair esp)
-
-
Method Details
-
run
public void run() -
equals
- Overrides:
equals
in classWaveformWorkUnit
-
hashCode
public int hashCode()- Overrides:
hashCode
in classWaveformWorkUnit
-
toString
-
getChannelDbId
public int getChannelDbId() -
getChannel
public edu.iris.Fissures.network.ChannelImpl getChannel() -
setChannel
protected void setChannel(edu.iris.Fissures.network.ChannelImpl chan) for use by hibernate
-