public class SplitEvent extends EventType
ATTEMPT_TO_INFECT, DESTRUCTION, END_OF_DAY, END_OF_SIMULATION, EventSize, EXPOSURE, PUBLIC_ANNOUNCEMENT, QUARANTINE, REQUEST_FOR_ZONE_FOCUS, REQUEST_OF_DESTRUCTION, SPLIT, START_NEW_DAY, TRACE_RESULT
Constructor and Description |
---|
SplitEvent() |
SplitEvent(int worker,
int way,
float where) |
Modifier and Type | Method and Description |
---|---|
void |
getNextBytes(int size) |
void |
getNextValue(int size) |
int |
getType() |
int |
getWorkerID() |
byte[] |
marshalling() |
SplitEvent |
unmarshalling(byte[] bytes) |
public SplitEvent()
public SplitEvent(int worker, int way, float where)
public int getWorkerID()
public byte[] marshalling()
marshalling
in class EventType
public SplitEvent unmarshalling(byte[] bytes)
unmarshalling
in class EventType
public void getNextBytes(int size)
public void getNextValue(int size)
getNextValue
in class EventType