Package org.apache.catalina.tribes
Interface MessageListener
- All Known Implementing Classes:
ChannelCoordinator,McastService
public interface MessageListener
The listener to be registered with the ChannelReceiver, internal Tribes
component.
-
Method Summary
Modifier and TypeMethodDescriptionbooleanaccept(ChannelMessage msg) Allows skipping processing of the specified message.voidReceive a message from the IO components in the Channel stack
-
Method Details
-
messageReceived
Receive a message from the IO components in the Channel stack- Parameters:
msg- the message
-
accept
Allows skipping processing of the specified message.- Parameters:
msg- the message- Returns:
trueif the message will be processed
-