public class RemoteAddressListImpl extends Object implements RemoteAddressList
| Modifier and Type | Class and Description |
|---|---|
protected class |
RemoteAddressListImpl.AddressIterator |
| Modifier and Type | Field and Description |
|---|---|
protected RemoteAddressListImpl.AddressIterator |
iterator |
| Constructor and Description |
|---|
RemoteAddressListImpl() |
| Modifier and Type | Method and Description |
|---|---|
void |
deactivate(RemoteAddress remote)
This stream is deactivated until it is registered again; the stream id in this case will remain stable
|
void |
deactivateAll() |
RemoteAddressImpl |
getByAddress(SocketAddress inetSocketAddress)
Returns only active addresses
|
RemoteAddressImpl |
getByAddress(SocketAddress inetSocketAddress,
int stateMask) |
RemoteAddressImpl |
getByStreamId(int streamId) |
Iterator<RemoteAddressImpl> |
iterator() |
RemoteAddressImpl |
register(SocketAddress inetSocketAddress) |
void |
retire(RemoteAddress remote)
Effect: This remote address/stream is never used again; no channel will every be managed for this again;
if the underlying socket address is registered again, a new remote address is assigned (+ new stream id)
|
protected RemoteAddressListImpl.AddressIterator iterator
public RemoteAddressImpl getByStreamId(int streamId)
getByStreamId in interface RemoteAddressListpublic RemoteAddressImpl getByAddress(SocketAddress inetSocketAddress)
getByAddress in interface RemoteAddressListinetSocketAddress - public RemoteAddressImpl getByAddress(SocketAddress inetSocketAddress, int stateMask)
public void retire(RemoteAddress remote)
retire in interface RemoteAddressListpublic void deactivate(RemoteAddress remote)
deactivate in interface RemoteAddressListremote - public void deactivateAll()
deactivateAll in interface RemoteAddressListpublic RemoteAddressImpl register(SocketAddress inetSocketAddress)
register in interface RemoteAddressListpublic Iterator<RemoteAddressImpl> iterator()
Copyright © 2017–2018 camunda services GmbH. All rights reserved.