This is the super interface of a deprecated interface and will be removed in a future release.
@Deprecated public interface PingMessage extends Message
Its purpose is to test the connection is present and measure the time taken for a round trip message.
EMPTY_FIELD, EMPTY_FIELD_CHAR, EMPTY_FIELD_STRING, FIELD_DELIMITER, FIELD_DELIMITER_CHAR, FIELD_DELIMITER_STRING, FIELD_MU, LIST_DELIMITER, LIST_DELIMITER_CHAR, LIST_DELIMITER_STRING, MESSAGE_SEPARATOR, MESSAGE_SEPARATOR_CHAR, RECORD_DELIMITER, RECORD_DELIMITER_CHAR, RECORD_DELIMITER_STRING, RECORD_MU
Modifier and Type | Method and Description |
---|---|
long |
getCreationTime()
Deprecated.
Returns the message creation time.
|
long |
getTimeSinceCreation()
Deprecated.
Returns the amount of time between the message creation time and the
current time.
|
getHeader, getHeaders, isTopicMessage, setHeaders, setHeaders, size, toString
long getCreationTime()
For an outbound message this would return the time the message was instantiated. For a inbound message (i.e. a ping response) this would return the time that the original outbound request message was created.
long getTimeSinceCreation()
Copyright © 2020 Push Technology Ltd. All Rights Reserved.