Class Ofdpa3MatchMplsL2PortCodec


  • public class Ofdpa3MatchMplsL2PortCodec
    extends org.onosproject.codec.JsonCodec<Ofdpa3MatchMplsL2Port>
    JSON Codec for Ofdpa match mpls l2 port class.
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      Ofdpa3MatchMplsL2Port decode​(com.fasterxml.jackson.databind.node.ObjectNode json, org.onosproject.codec.CodecContext context)  
      com.fasterxml.jackson.databind.node.ObjectNode encode​(Ofdpa3MatchMplsL2Port matchMplsL2Port, org.onosproject.codec.CodecContext context)  
      • Methods inherited from class org.onosproject.codec.JsonCodec

        decode, encode, get, get
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • Ofdpa3MatchMplsL2PortCodec

        public Ofdpa3MatchMplsL2PortCodec()
    • Method Detail

      • encode

        public com.fasterxml.jackson.databind.node.ObjectNode encode​(Ofdpa3MatchMplsL2Port matchMplsL2Port,
                                                                     org.onosproject.codec.CodecContext context)
        Overrides:
        encode in class org.onosproject.codec.JsonCodec<Ofdpa3MatchMplsL2Port>
      • decode

        public Ofdpa3MatchMplsL2Port decode​(com.fasterxml.jackson.databind.node.ObjectNode json,
                                            org.onosproject.codec.CodecContext context)
        Overrides:
        decode in class org.onosproject.codec.JsonCodec<Ofdpa3MatchMplsL2Port>