public class RequestForFTCheckpoint 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, SPLIT_BY_DENSITY, START_NEW_DAY, TRACE_RESULT, VACCINATION, VACCINATION_CANCELED
Constructor and Description |
---|
RequestForFTCheckpoint() |
RequestForFTCheckpoint(int id,
byte type,
boolean flag) |
Modifier and Type | Method and Description |
---|---|
boolean |
active() |
void |
getNextBytes(int size) |
void |
getNextValue(int size) |
int |
getType() |
int |
getWorkerID() |
byte[] |
marshalling() |
void |
setGoInactive(boolean flag) |
void |
setType(byte num) |
void |
setWorkerID(int id) |
RequestForFTCheckpoint |
unmarshalling(byte[] bytes) |
public RequestForFTCheckpoint()
public RequestForFTCheckpoint(int id, byte type, boolean flag)
public void setWorkerID(int id)
public int getWorkerID()
public void setGoInactive(boolean flag)
public void setType(byte num)
public boolean active()
public byte[] marshalling()
marshalling
in class EventType
public RequestForFTCheckpoint unmarshalling(byte[] bytes)
unmarshalling
in class EventType
public void getNextBytes(int size)
public void getNextValue(int size)
getNextValue
in class EventType