Class Awaiter<R extends ContentResponse>

java.lang.Object
com.sportradar.mbs.sdk.internal.protocol.Awaiter<R>

public class Awaiter<R extends ContentResponse> extends Object
  • Constructor Details

    • Awaiter

      public Awaiter(Class<R> responseClass)
  • Method Details

    • getCorrelationId

      public String getCorrelationId()
    • setCorrelationId

      public void setCorrelationId(String correlationId)
    • getFuture

      public CompletableFuture<R> getFuture()
    • getSendWsInputMessage

      public SendWsInputMessage getSendWsInputMessage()
    • setSendWsInputMessage

      public void setSendWsInputMessage(SendWsInputMessage sendWsInputMessage)
    • checkResponseType

      public boolean checkResponseType(ContentResponse response)
    • completeSuccess

      public void completeSuccess(ContentResponse response)
    • completeWithException

      public void completeWithException(SdkException sdkException)
    • release

      public void release()