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