public class ExposureEvent extends EventType
ATTEMPT_TO_INFECT, CHECKPOINT, DESTRUCTION, DETECTION, END_OF_DAY, END_OF_SIMULATION, EventSize, EXPOSURE, OUTPUT_VARIABLE_VALUE, PUBLIC_ANNOUNCEMENT, QUARANTINE, REQUEST_FOR_FT_CHECKPOINT, REQUEST_FOR_VACCINATION, REQUEST_FOR_ZONE_FOCUS, REQUEST_OF_DESTRUCTION, RESTORE, SPLIT, START_NEW_DAY, TRACE_RESULT, VACCINATION, VACCINATION_CANCELED
Constructor and Description |
---|
ExposureEvent() |
Modifier and Type | Method and Description |
---|---|
int |
getContactType() |
int |
getDayNumber() |
int |
getIndexExposedHerd() |
int |
getIndexExposingHerd() |
void |
getNextBytes(int size) |
void |
getNextValue(int size) |
int |
getType() |
int |
getWorkerID() |
boolean |
isAdequate() |
boolean |
isTraceable() |
byte[] |
marshalling() |
ExposureEvent |
unmarshalling(byte[] bytes) |
public int getWorkerID()
public int getDayNumber()
public int getIndexExposingHerd()
public int getIndexExposedHerd()
public int getContactType()
public boolean isAdequate()
public boolean isTraceable()
public byte[] marshalling()
marshalling
in class EventType
public ExposureEvent unmarshalling(byte[] bytes)
unmarshalling
in class EventType
public void getNextBytes(int size)
public void getNextValue(int size)
getNextValue
in class EventType