Class SampleMultipleServicesLauncher.SampleResponseConsumer
java.lang.Object
oracle.communication.brm.charging.sdk.usage.SampleMultipleServicesLauncher.SampleResponseConsumer
- All Implemented Interfaces:
MultiResponseConsumer<UsageResponse>
- Enclosing class:
SampleMultipleServicesLauncher
public static class SampleMultipleServicesLauncher.SampleResponseConsumer
extends Object
implements MultiResponseConsumer<UsageResponse>
Sample response consumer callback implementation for MSCC responses
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidreceive(List<UsageResponse> responses) Call back to receive responses matching a batch of previously submitted requests.booleanwaitForNResponses(long n, long timeout)
-
Constructor Details
-
SampleResponseConsumer
public SampleResponseConsumer()
-
-
Method Details
-
waitForNResponses
public boolean waitForNResponses(long n, long timeout) -
receive
Description copied from interface:MultiResponseConsumerCall back to receive responses matching a batch of previously submitted requests.- Specified by:
receivein interfaceMultiResponseConsumer<UsageResponse>- Parameters:
responses- the request responses
-