public abstract class SMMessage extends SystemMessage implements java.io.Externalizable
| Modifier and Type | Field and Description |
|---|---|
boolean |
TRIGGER_SM_LOCALLY |
authenticated| Modifier and Type | Method and Description |
|---|---|
int |
getEid()
Retrieves the execution ID up to which the sender needs to be updated
|
int |
getLeader()
Retrieves the leader that the replica had when sending the state
|
int |
getRegency()
Retrieves the regency that the replica had when sending the state
|
ApplicationState |
getState()
Retrieves the state log
|
int |
getType()
Retrieves the type of the message
|
View |
getView()
Retrieves the state log
|
void |
readExternal(java.io.ObjectInput in) |
void |
writeExternal(java.io.ObjectOutput out) |
getSenderpublic ApplicationState getState()
public View getView()
public int getType()
public int getEid()
public int getRegency()
public int getLeader()
public void writeExternal(java.io.ObjectOutput out)
throws java.io.IOException
writeExternal in interface java.io.ExternalizablewriteExternal in class SystemMessagejava.io.IOExceptionpublic void readExternal(java.io.ObjectInput in)
throws java.io.IOException,
java.lang.ClassNotFoundException
readExternal in interface java.io.ExternalizablereadExternal in class SystemMessagejava.io.IOExceptionjava.lang.ClassNotFoundException