| Package | Description |
|---|---|
| me.lucko.helper.messaging |
| Modifier and Type | Method and Description |
|---|---|
Set<ChannelListener<T>> |
ChannelAgent.getListeners()
Gets an immutable copy of the listeners currently held by this agent.
|
| Modifier and Type | Method and Description |
|---|---|
boolean |
ChannelAgent.addListener(ChannelListener<T> listener)
Adds a new listener to the channel;
|
default ChannelAgent<T> |
Channel.newAgent(ChannelListener<T> listener)
Creates a new
ChannelAgent for this channel, and immediately
adds the given ChannelListener to it. |
boolean |
ChannelAgent.removeListener(ChannelListener<T> listener)
Removes a listener from the channel.
|
Copyright © 2022. All rights reserved.