@ProviderType public static class MessageReceiver.FailedReceiveEvent extends Object implements Serializable
Constructor and Description |
---|
FailedReceiveEvent(PubSubPlusClientException exception)
Creates an instance of representing the event of failed attempt to receive a message.
|
FailedReceiveEvent(PubSubPlusClientException exception,
long timeStamp)
Creates an instance of representing the event of failed attempt to receive a message.
|
Modifier and Type | Method and Description |
---|---|
PubSubPlusClientException |
getException()
Retrieves the exception associated with a given event.
|
long |
getTimeStamp()
Retrieves the timestamp of the event as the number of milliseconds from midnight, January 1,
1970 UTC.
|
String |
toString() |
public FailedReceiveEvent(PubSubPlusClientException exception)
exception
- the exception for the eventpublic FailedReceiveEvent(PubSubPlusClientException exception, long timeStamp)
exception
- the exception for the eventtimeStamp
- the timestamp the timestamp (in milliseconds since Epoch time)public PubSubPlusClientException getException()
public long getTimeStamp()
Copyright 2019-2024 Solace Corporation. All rights reserved.