Class SignalRHelper
- java.lang.Object
-
- ch.swissbilling.commercial.client.utils.SignalRHelper
-
public class SignalRHelper extends Object
-
-
Constructor Summary
Constructors Constructor Description SignalRHelper(IEnvironmentEndpoints endpoints)Initializes a new instance of the SignalRHelper class
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidConnectAndWait(String transactionBatchDocumentId, String token)Negotiate a new connection id and open websocket listening to TransactionBatchDocumentStatus changes
-
-
-
Constructor Detail
-
SignalRHelper
public SignalRHelper(IEnvironmentEndpoints endpoints)
Initializes a new instance of the SignalRHelper class- Parameters:
endpoints-
-
-
Method Detail
-
ConnectAndWait
public void ConnectAndWait(String transactionBatchDocumentId, String token) throws SwissbillingCommercialClientException
Negotiate a new connection id and open websocket listening to TransactionBatchDocumentStatus changes- Parameters:
transactionBatchDocumentId-token-- Throws:
SwissbillingCommercialClientException
-
-