| Constructor and Description |
|---|
DefaultGroupKey(Address address,
ExecutionContext<?> executionContext)
Create a new instance.
|
| Modifier and Type | Method and Description |
|---|---|
Address |
address()
Get the address to use when looking for or creating a new client.
|
boolean |
equals(Object o) |
ExecutionContext<?> |
executionContext()
Get the
ExecutionContext to use when looking for or creating a new client. |
int |
hashCode() |
public DefaultGroupKey(Address address, ExecutionContext<?> executionContext)
address - The address of the remote peer to connect to.executionContext - The ExecutionContext to use for executionContext().public Address address()
GroupKeypublic ExecutionContext<?> executionContext()
GroupKeyExecutionContext to use when looking for or creating a new client.executionContext in interface GroupKey<Address>ExecutionContext to use when looking for or creating a new client.public boolean equals(Object o)
equals in class Objectpublic int hashCode()
hashCode in class Object