16 package org.openkilda.testing.service.traffexam.model;
18 import com.fasterxml.jackson.annotation.JsonCreator;
19 import com.fasterxml.jackson.annotation.JsonProperty;
20 import com.fasterxml.jackson.databind.annotation.JsonDeserialize;
21 import com.fasterxml.jackson.databind.annotation.JsonSerialize;
24 import lombok.experimental.Accessors;
26 import java.util.UUID;
28 @Accessors(chain =
true)
36 @JsonProperty(
"burst_pkt")
37 private int burstPkt = 0;
43 @JsonProperty(
"use_udp")
44 private boolean useUdp =
false;
46 @JsonProperty(
"remote_address")
50 this(null, null, targetAddress);
54 this(null, bindAddressId, targetAddress);
59 @JsonProperty(
"idnr") UUID
id,
60 @JsonProperty(
"bind_address") UUID bindAddressId,
62 super(
id, bindAddressId);
63 this.targetAddress = targetAddress;
ProducerEndpoint(EndpointAddress targetAddress)
ProducerEndpoint( @JsonProperty("idnr") UUID id, @JsonProperty("bind_address") UUID bindAddressId, @JsonProperty("remote_address") EndpointAddress targetAddress)
ProducerEndpoint(UUID bindAddressId, EndpointAddress targetAddress)