Class ConversationMessageListener

java.lang.Object
com.levigo.jadice.web.transport.client.messaging.ConversationMessageListener
All Implemented Interfaces:
MessageListener

public final class ConversationMessageListener extends Object implements MessageListener
This listener is responsible for handling messages that are sent as part of a conversation, i.e. when the client sends a message and expects one or more direct responses to the sent message. In this case, we need to preserve the context so one callback can handle different message types. Conversations require some more control flow than usual, they need to be ended by the server once it is done processing a message.