public class StandardSMMessage extends SMMessage
TRIGGER_SM_LOCALLY
authenticated, sender
Constructor and Description |
---|
StandardSMMessage() |
StandardSMMessage(int sender,
int eid,
int type,
int replica,
ApplicationState state,
View view,
int regency,
int leader) |
Modifier and Type | Method and Description |
---|---|
int |
getReplica()
Retrieves the replica that should send the state
|
void |
readExternal(java.io.ObjectInput in) |
void |
writeExternal(java.io.ObjectOutput out) |
getEid, getLeader, getRegency, getState, getType, getView
getSender
public StandardSMMessage(int sender, int eid, int type, int replica, ApplicationState state, View view, int regency, int leader)
public StandardSMMessage()
public int getReplica()
public void writeExternal(java.io.ObjectOutput out) throws java.io.IOException
writeExternal
in interface java.io.Externalizable
writeExternal
in class SMMessage
java.io.IOException
public void readExternal(java.io.ObjectInput in) throws java.io.IOException, java.lang.ClassNotFoundException
readExternal
in interface java.io.Externalizable
readExternal
in class SMMessage
java.io.IOException
java.lang.ClassNotFoundException