Package com.longbridge.agent
Class ChatFinishedEvent
- java.lang.Object
-
- com.longbridge.agent.ConversationStreamEvent
-
- com.longbridge.agent.ChatFinishedEvent
-
public final class ChatFinishedEvent extends ConversationStreamEvent
Observed once allMessageEvents for this round have been sent, shortly before aWorkflowFinishedEvent.
-
-
Constructor Summary
Constructors Constructor Description ChatFinishedEvent()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description longgetChatId()Returns the ID of the owning conversation.StringgetChatUid()Returns the conversation identifier.StringgetError()Returns the error code; empty string in every run observed so far.StringgetErrorMessage()Returns the error message; empty string in every run observed so far.StringgetMessageId()Returns the message ID of this round.StringtoString()
-
-
-
Method Detail
-
getChatId
public long getChatId()
Returns the ID of the owning conversation.- Returns:
- conversation ID
-
getChatUid
public String getChatUid()
Returns the conversation identifier.- Returns:
- conversation identifier
-
getMessageId
public String getMessageId()
Returns the message ID of this round.- Returns:
- message ID
-
getError
public String getError()
Returns the error code; empty string in every run observed so far.- Returns:
- error code
-
getErrorMessage
public String getErrorMessage()
Returns the error message; empty string in every run observed so far.- Returns:
- error message
-
-