protected static class Receive.Listener extends Object implements DestinationListener<Void>
| Modifier | Constructor and Description |
|---|---|
protected |
Receive.Listener(String filename,
boolean verbose,
long delayMillis) |
| Modifier and Type | Method and Description |
|---|---|
void |
onMalformed(NonBlockingClient client,
Void context,
MalformedDelivery delivery) |
void |
onMessage(NonBlockingClient client,
Void context,
Delivery delivery) |
void |
onUnsubscribed(NonBlockingClient client,
Void context,
String topicPattern,
String share,
Exception error) |
protected Receive.Listener(String filename, boolean verbose, long delayMillis)
public void onMessage(NonBlockingClient client, Void context, Delivery delivery)
onMessage in interface DestinationListener<Void>public void onMalformed(NonBlockingClient client, Void context, MalformedDelivery delivery)
onMalformed in interface DestinationListener<Void>public void onUnsubscribed(NonBlockingClient client, Void context, String topicPattern, String share, Exception error)
onUnsubscribed in interface DestinationListener<Void>Copyright © 2016 International Business Machines Corporation. All rights reserved.