@InterfaceAudience.Private class ConnectionId extends Object
Modifier and Type | Field and Description |
---|---|
(package private) InetSocketAddress |
address |
private static int |
PRIME |
(package private) String |
serviceName |
(package private) User |
ticket |
Constructor and Description |
---|
ConnectionId(User ticket,
String serviceName,
InetSocketAddress address) |
Modifier and Type | Method and Description |
---|---|
boolean |
equals(Object obj) |
InetSocketAddress |
getAddress() |
String |
getServiceName() |
User |
getTicket() |
int |
hashCode() |
static int |
hashCode(User ticket,
String serviceName,
InetSocketAddress address) |
String |
toString() |
private static final int PRIME
final String serviceName
final InetSocketAddress address
public ConnectionId(User ticket, String serviceName, InetSocketAddress address)
public String getServiceName()
public InetSocketAddress getAddress()
public static int hashCode(User ticket, String serviceName, InetSocketAddress address)
Copyright © 2007–2019 The Apache Software Foundation. All rights reserved.