java.lang.Object
org.neo4j.driver.internal.messaging.BoltProtocolVersion
- All Implemented Interfaces:
Comparable<BoltProtocolVersion>
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionint
compareTo
(BoltProtocolVersion other) boolean
static BoltProtocolVersion
fromRawBytes
(int rawVersion) long
long
int
hashCode()
static boolean
isHttp
(BoltProtocolVersion protocolVersion) int
toInt()
int
toIntRange
(BoltProtocolVersion minVersion) toString()
-
Constructor Details
-
BoltProtocolVersion
public BoltProtocolVersion(int majorVersion, int minorVersion)
-
-
Method Details
-
fromRawBytes
-
getMinorVersion
public long getMinorVersion() -
getMajorVersion
public long getMajorVersion() -
toInt
public int toInt() -
toIntRange
-
toString
-
hashCode
public int hashCode() -
equals
-
compareTo
- Specified by:
compareTo
in interfaceComparable<BoltProtocolVersion>
-
isHttp
-