![]() |
Open Kilda Java Documentation
|
Public Member Functions | |
CommandMessage (@JsonProperty(PAYLOAD) final CommandData data, @JsonProperty(TIMESTAMP) final long timestamp, @JsonProperty(CORRELATION_ID) final String correlationId, @JsonProperty(DESTINATION) final Destination destination) | |
CommandMessage (final CommandData data, final long timestamp, final String correlationId) | |
CommandData | getData () |
void | setData (final CommandData data) |
String | toString () |
Protected Attributes | |
CommandData | data |
Additional Inherited Members |
Class represents command message.
Definition at line 43 of file CommandMessage.java.
org.openkilda.messaging.command.CommandMessage.CommandMessage | ( | @JsonProperty(PAYLOAD) final CommandData | data, |
@JsonProperty(TIMESTAMP) final long | timestamp, | ||
@JsonProperty(CORRELATION_ID) final String | correlationId, | ||
@JsonProperty(DESTINATION) final Destination | destination | ||
) |
Instance constructor.
data | command message payload |
timestamp | timestamp value |
correlationId | message correlation id |
destination | message destination |
Definition at line 64 of file CommandMessage.java.
org.openkilda.messaging.command.CommandMessage.CommandMessage | ( | final CommandData | data, |
final long | timestamp, | ||
final String | correlationId | ||
) |
Definition at line 72 of file CommandMessage.java.
CommandData org.openkilda.messaging.command.CommandMessage.getData | ( | ) |
Returns payload of the command message.
Definition at line 84 of file CommandMessage.java.
void org.openkilda.messaging.command.CommandMessage.setData | ( | final CommandData | data | ) |
Sets payload of the command message.
data | command message payload |
Definition at line 93 of file CommandMessage.java.
String org.openkilda.messaging.command.CommandMessage.toString | ( | ) |
Definition at line 101 of file CommandMessage.java.
|
protected |
Data of the command message.
Definition at line 53 of file CommandMessage.java.