![]() |
Open Kilda Java Documentation
|
Public Member Functions | |
Message (@JsonProperty(TIMESTAMP) final long timestamp, @JsonProperty(CORRELATION_ID) final String correlationId, @JsonProperty(DESTINATION) final Destination destination) | |
Message (final long timestamp, final String correlationId) | |
String | getCorrelationId () |
Destination | getDestination () |
void | setDestination (final Destination destination) |
String | toString () |
Protected Attributes | |
String | correlationId |
Destination | destination |
Additional Inherited Members |
Class represents high level view of every message used by any service.
Definition at line 42 of file Message.java.
org.openkilda.messaging.Message.Message | ( | @JsonProperty(TIMESTAMP) final long | timestamp, |
@JsonProperty(CORRELATION_ID) final String | correlationId, | ||
@JsonProperty(DESTINATION) final Destination | destination | ||
) |
Instance constructor.
timestamp | message timestamp |
correlationId | message correlation id |
destination | message destination |
Definition at line 69 of file Message.java.
org.openkilda.messaging.Message.Message | ( | final long | timestamp, |
final String | correlationId | ||
) |
Instance constructor.
timestamp | message timestamp |
correlationId | message correlation id |
Definition at line 83 of file Message.java.
String org.openkilda.messaging.Message.getCorrelationId | ( | ) |
Returns message correlation id.
Definition at line 93 of file Message.java.
Destination org.openkilda.messaging.Message.getDestination | ( | ) |
Returns message destination.
Definition at line 102 of file Message.java.
void org.openkilda.messaging.Message.setDestination | ( | final Destination | destination | ) |
Sets message destination.
destination | message destination |
Definition at line 111 of file Message.java.
String org.openkilda.messaging.Message.toString | ( | ) |
Definition at line 119 of file Message.java.
|
protected |
Message correlation id. Correlation ID request value for Northbound messages or generated value without REST API calls (re-flow, etc.).
Definition at line 53 of file Message.java.
|
protected |
Message destination.
Definition at line 59 of file Message.java.