public final class MappingInstructionCodec extends org.onosproject.codec.JsonCodec<MappingInstruction>
| Modifier and Type | Field and Description |
|---|---|
protected static String |
ERROR_MESSAGE |
protected static org.slf4j.Logger |
log |
protected static String |
MISSING_MEMBER_MESSAGE |
protected static String |
MULTICAST_PRIORITY |
protected static String |
MULTICAST_WEIGHT |
protected static String |
SUBTYPE |
protected static String |
TYPE |
protected static String |
UNICAST_PRIORITY |
protected static String |
UNICAST_WEIGHT |
| Constructor and Description |
|---|
MappingInstructionCodec() |
| Modifier and Type | Method and Description |
|---|---|
MappingInstruction |
decode(com.fasterxml.jackson.databind.node.ObjectNode json,
org.onosproject.codec.CodecContext context) |
com.fasterxml.jackson.databind.node.ObjectNode |
encode(MappingInstruction instruction,
org.onosproject.codec.CodecContext context) |
protected static final org.slf4j.Logger log
protected static final String TYPE
protected static final String SUBTYPE
protected static final String UNICAST_WEIGHT
protected static final String UNICAST_PRIORITY
protected static final String MULTICAST_WEIGHT
protected static final String MULTICAST_PRIORITY
protected static final String MISSING_MEMBER_MESSAGE
protected static final String ERROR_MESSAGE
public com.fasterxml.jackson.databind.node.ObjectNode encode(MappingInstruction instruction, org.onosproject.codec.CodecContext context)
encode in class org.onosproject.codec.JsonCodec<MappingInstruction>public MappingInstruction decode(com.fasterxml.jackson.databind.node.ObjectNode json, org.onosproject.codec.CodecContext context)
decode in class org.onosproject.codec.JsonCodec<MappingInstruction>