Ejemplo n.º 1
0
 public PortID(PortSubTypes subType, object subTypeValue)
 {
     this.EmptyTLVDataInit();
     base.Type = TLVTypes.PortID;
     this.SubType = subType;
     this.SubTypeValue = subTypeValue;
 }
Ejemplo n.º 2
0
 public PortID(PortSubTypes subType, object subTypeValue)
 {
     this.EmptyTLVDataInit();
     base.Type         = TLVTypes.PortID;
     this.SubType      = subType;
     this.SubTypeValue = subTypeValue;
 }
Ejemplo n.º 3
0
        /// <summary>
        /// Creates a Port ID TLV and sets it value
        /// </summary>
        /// <param name="subType">
        /// The Port ID SubType
        /// </param>
        /// <param name="subTypeValue">
        /// The subtype's value
        /// </param>
        public PortID(PortSubTypes subType, object subTypeValue)
        {
            EmptyTLVDataInit();

            Type    = TLVTypes.PortID;
            SubType = subType;

            // method will resize the tlv
            SubTypeValue = subTypeValue;
        }
Ejemplo n.º 4
0
        /// <summary>
        /// Creates a Port ID TLV and sets it value
        /// </summary>
        /// <param name="subType">
        /// The Port ID SubType
        /// </param>
        /// <param name="subTypeValue">
        /// The subtype's value
        /// </param>
        public PortID(PortSubTypes subType, Object subTypeValue)
        {
            log.Debug("");

            this.EmptyTLVDataInit();

            this.Type    = TLVTypes.PortID;
            this.SubType = subType;

            // method will resize the tlv
            this.SubTypeValue = subTypeValue;
        }