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(java.lang.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()
GroupKey
public ExecutionContext executionContext()
GroupKey
ExecutionContext
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(java.lang.Object o)
equals
in class java.lang.Object
public int hashCode()
hashCode
in class java.lang.Object