@Beta public class MockUnparsedNotificationCallback extends java.lang.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 java.io.IOException
UnparsedNotificationCallbackonNotification in interface UnparsedNotificationCallbackstoredChannel - stored notification channelnotification - unparsed notificationjava.io.IOExceptionCopyright © 2010-2019 Google. All Rights Reserved.