@Beta public class MockUnparsedNotificationCallback extends Object implements UnparsedNotificationCallback
Constructor and Description |
---|
MockUnparsedNotificationCallback() |
Modifier and Type | Method and Description |
---|---|
void |
onNotification(StoredChannel storedChannel,
UnparsedNotification notification)
Handles a received unparsed notification.
|
boolean |
wasCalled()
Returns whether this handler was called.
|
public boolean wasCalled()
public void onNotification(StoredChannel storedChannel, UnparsedNotification notification) throws IOException
UnparsedNotificationCallback
onNotification
in interface UnparsedNotificationCallback
storedChannel
- stored notification channelnotification
- unparsed notificationIOException
Copyright © 2010–2022 Google. All rights reserved.