@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
UnparsedNotificationCallback
onNotification
in interface UnparsedNotificationCallback
storedChannel
- stored notification channelnotification
- unparsed notificationjava.io.IOException
Copyright © 2010-2019 Google. All Rights Reserved.