@FunctionalInterface public interface CollaborationMessageSubmitter extends Serializable
CollaborationMessageList
to setup the message appending logic when
the connection to the associated topic is activated and also to return a
callback to handle connection deactivation (e.g. disabling an input field).CollaborationMessageList.setSubmitter(CollaborationMessageSubmitter)
Modifier and Type | Interface and Description |
---|---|
static interface |
CollaborationMessageSubmitter.ActivationContext
The activation context of a
CollaborationMessageSubmitter . |
Modifier and Type | Method and Description |
---|---|
Registration |
onActivation(CollaborationMessageSubmitter.ActivationContext activationContext)
Handles the activation of the submitter, for example setting up an input
component to append new messages using the
CollaborationMessageSubmitter.ActivationContext.appendMessage(String) method. |
Registration onActivation(CollaborationMessageSubmitter.ActivationContext activationContext)
CollaborationMessageSubmitter.ActivationContext.appendMessage(String)
method. The returned
Registration
callback can be used to handle the deactivation of
the submitter, for example to disable an input component.activationContext
- the activation contextCopyright © 2021. All rights reserved.