public static class QuorumCnxManager.InitialMessage extends Object
Modifier and Type | Class and Description |
---|---|
static class |
QuorumCnxManager.InitialMessage.InitialMessageException |
Modifier and Type | Field and Description |
---|---|
InetSocketAddress |
electionAddr |
Long |
sid |
Modifier and Type | Method and Description |
---|---|
static boolean |
isWildcardAddress(String hostname)
Returns true if the specified hostname is a wildcard address,
like 0.0.0.0 for IPv4 or :: for IPv6
|
static QuorumCnxManager.InitialMessage |
parse(Long protocolVersion,
DataInputStream din) |
String |
toString() |
public Long sid
public InetSocketAddress electionAddr
public static QuorumCnxManager.InitialMessage parse(Long protocolVersion, DataInputStream din) throws QuorumCnxManager.InitialMessage.InitialMessageException, IOException
public static boolean isWildcardAddress(String hostname)
Copyright © 2008–2022 The Apache Software Foundation. All rights reserved.