public final class Protocol extends Object implements Action
Since this action allows us to explicitly block older clients in the case of a breaking change to the protocol, clients should be tolerant of messages and fields that they do not understand.
Constructor and Description |
---|
Protocol(int minReaderVersion,
int minWriterVersion) |
Modifier and Type | Method and Description |
---|---|
boolean |
equals(Object o) |
int |
getMinReaderVersion() |
int |
getMinWriterVersion() |
int |
hashCode() |
public int getMinReaderVersion()
public int getMinWriterVersion()
public boolean equals(Object o)
equals
in class Object
public int hashCode()
hashCode
in class Object