public final class Address extends Object
| Modifier and Type | Field and Description |
|---|---|
static byte[] |
ANY |
byte[] |
ip |
static byte[] |
LOCALHOST |
int |
port |
static char |
PORT_SEPARATOR |
| Constructor and Description |
|---|
Address(byte[] ip,
int port) |
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(Object o) |
int |
hashCode() |
static String |
ipToString(byte[] ip) |
String |
toString() |
public static final byte[] LOCALHOST
public static final byte[] ANY
public static final char PORT_SEPARATOR
public final byte[] ip
public final int port
Copyright © 2017. All rights reserved.