is Awaited Success Message
abstract fun isAwaitedSuccessMessage(sender: String, message: String, requiredSender: String, submissionId: Int, submissionType: SubmissionType): Single<Boolean>
Check if a message is the expected one or not
Return
single with true if the message is the response for the current submit case; false otherwise. Returns the error RECEIVED_ERROR is the message is the awaited one but it contains an error.
Parameters
sender
number of the sender
message
received message
required Sender
messages from other senders will not be read
submission Id
submission ID to recognize message
submission Type
submission type to recognize message