java.lang.Object
org.neo4j.driver.internal.summary.InternalServerInfo
- All Implemented Interfaces:
ServerInfo
-
Constructor Summary
ConstructorsConstructorDescriptionInternalServerInfo(String agent, org.neo4j.bolt.connection.BoltServerAddress address, org.neo4j.bolt.connection.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.booleaninthashCode()Returns Bolt protocol version with which the remote server communicates.toString()
-
Constructor Details
-
InternalServerInfo
public InternalServerInfo(String agent, org.neo4j.bolt.connection.BoltServerAddress address, org.neo4j.bolt.connection.BoltProtocolVersion protocolVersion)
-
-
Method Details
-
agent
Description copied from interface:ServerInfoReturns server agent string by which the remote server identifies itself.- Specified by:
agentin interfaceServerInfo- Returns:
- The agent string.
-
address
Description copied from interface:ServerInfoReturns a string telling the address of the server the query was executed.- Specified by:
addressin interfaceServerInfo- Returns:
- The address of the server the query was executed.
-
protocolVersion
Description copied from interface:ServerInfoReturns 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:
protocolVersionin interfaceServerInfo- Returns:
- The Bolt protocol version.
-
equals
-
hashCode
public int hashCode() -
toString
-