java.lang.Object
org.neo4j.driver.internal.summary.InternalServerInfo
- All Implemented Interfaces:
ServerInfo
-
Constructor Summary
ConstructorDescriptionInternalServerInfo
(String agent, org.neo4j.driver.internal.BoltServerAddress address, BoltProtocolVersion protocolVersion) -
Method Summary
Modifier and TypeMethodDescriptionaddress()
Returns a string telling the address of the server the query was executed.agent()
Returns server agent string by which the remote server identifies itself.boolean
int
hashCode()
Returns Bolt protocol version with which the remote server communicates.toString()
-
Constructor Details
-
InternalServerInfo
public InternalServerInfo(String agent, org.neo4j.driver.internal.BoltServerAddress address, BoltProtocolVersion protocolVersion)
-
-
Method Details
-
agent
Description copied from interface:ServerInfo
Returns server agent string by which the remote server identifies itself.- Specified by:
agent
in interfaceServerInfo
- Returns:
- The agent string.
-
address
Description copied from interface:ServerInfo
Returns a string telling the address of the server the query was executed.- Specified by:
address
in interfaceServerInfo
- Returns:
- The address of the server the query was executed.
-
protocolVersion
Description copied from interface:ServerInfo
Returns Bolt protocol version with which the remote server communicates. This is returned as a string in format X.Y where X is the major version and Y is the minor version.- Specified by:
protocolVersion
in interfaceServerInfo
- Returns:
- The Bolt protocol version.
-
equals
-
hashCode
public int hashCode() -
toString
-