public final class Broker
extends Object
implements scala.Serializable
Modifier and Type | Method and Description |
---|---|
static Broker |
apply(String host,
int port) |
static Broker |
create(String host,
int port) |
boolean |
equals(Object obj)
Broker's port
|
int |
hashCode() |
String |
host()
Broker's hostname
|
int |
port()
Broker's port
|
String |
toString() |
static scala.Option<scala.Tuple2<String,Object>> |
unapply(Broker broker) |
public static Broker create(String host, int port)
public static Broker apply(String host, int port)
public static scala.Option<scala.Tuple2<String,Object>> unapply(Broker broker)
public String host()
public int port()
public boolean equals(Object obj)
equals
in class Object
public int hashCode()
hashCode
in class Object
public String toString()
toString
in class Object