public final class ProtocolVersion extends Object implements Comparable<ProtocolVersion>
Modifier and Type | Field and Description |
---|---|
static byte |
INTERNAL_PROTOCOL_VERSION |
Constructor and Description |
---|
ProtocolVersion(byte applicationProtocol,
byte internalProtocol) |
Modifier and Type | Method and Description |
---|---|
int |
compareTo(ProtocolVersion that) |
boolean |
equals(Object obj) |
byte |
getApplicationProtocol() |
byte |
getInternalProtocol() |
int |
hashCode() |
String |
toString() |
public static final byte INTERNAL_PROTOCOL_VERSION
public ProtocolVersion(byte applicationProtocol, byte internalProtocol)
public byte getApplicationProtocol()
public byte getInternalProtocol()
public int compareTo(ProtocolVersion that)
compareTo
in interface Comparable<ProtocolVersion>
Copyright © 2002–2018 The Neo4j Graph Database Project. All rights reserved.