public class Broker extends Object implements Serializable, Comparable<Broker>
Constructor and Description |
---|
Broker(String host) |
Broker(String host,
int port) |
Modifier and Type | Method and Description |
---|---|
int |
compareTo(Broker o) |
boolean |
equals(Object obj) |
static Broker |
fromString(String host) |
int |
hashCode() |
String |
toString() |
public String host
public int port
public int compareTo(Broker o)
compareTo
in interface Comparable<Broker>
Copyright © 2019 The Apache Software Foundation. All Rights Reserved.