Package com.tailf.conf
package com.tailf.conf
Data types and utilities for communication with the server.
The base class for all Conf terms is ConfObject. Not all Conf terms can contain a value. The ones that do all inherit the abstract class ConfValue. The inheritance hierarchy looks like this:
ConfObject | +--ConfValue | | | +--ConfXYZ | | | : : | : : | | | +--Conf | +--ConfKey | +--ConfTag | +--ConfTypeDescriptor | +--ConfXMLParam | +--ConfXMLParamStart | | | +-- ConfXMLParamCdbStart | +--ConfXMLParamStop | +--ConfXMLParamLeaf | +--ConfXMLParamValue
In addition to the term and value classes there are some utility classes in this package.
-
ClassDescriptionException thrown when protocol data is malformed.General class for static methods and constants used by the ConfD API:s (Maapi, Cdb, Dp, and Notif)Enumeration of attribute typesClass that represents an attribute value for an element in a model.Exception thrown when protocol data is malformed.DATA_CONTAINER - Corresponds to the YANG tailf:hex-list and tailf:octet-list.DATA_CONTAINER - Corresponds to the YANG bit32 type.DATA_CONTAINER - Corresponds to the YANG bit64 type.DATA_CONTAINER - Corresponds to the YANG bits type, where bit position exceed 63.DATA_CONTAINER - This is the superclass for all bits types i.e.DATA_CONTAINER - Corresponds to the YANG boolean type.DATA_CONTAINER - Corresponds to the YANG string type.Class Representing a KeyPath path.DATA_CONTAINER - Corresponds to the confspec xs:date type.DATA_CONTAINER - Corresponds to the YANG date-and-time type.DATA_CONTAINER - Corresponds to the YANG decimal64 type.Class representing value of type J_DEFAULT.DATA_CONTAINER - Corresponds to the YANG dotted-quad type.DATA_CONTAINER - Corresponds to the confspec xs:double type.DATA_CONTAINER - Corresponds to the confspec xs:duration type.DATA_CONTAINER - Corresponds to the YANG Enumeration type.Exception base class.Enum used in findNext calls to determine if the element extraction should start at indicated element or the element after thatDATA_CONTAINER - Corresponds to the confspec xs:float type.ConfHaNode represents a HA node by identity and IP addressDATA_CONTAINER - Corresponds to the YANG
tailf:hex-list
type.DATA_CONTAINER - Corresponds to the YANGhex-string
type.DATA_CONTAINER - Corresponds to the YANG identityRef type.DATA_CONTAINER - Corresponds to the YANG int16 type.DATA_CONTAINER - Corresponds to the YANG int32 type.DATA_CONTAINER - Corresponds to the YANG int64 type.DATA_CONTAINER - Corresponds to the YANG int8 type.This class implements the internal communication API in Java.DATA_CONTAINER - Base class for ConfIPv4 and ConfIPv6 containersDATA_CONTAINER - Base class for ConfIPv4AndPrefixLen and ConfIPv6AndPrefixLen containersDATA_CONTAINER - Base class for ConfIPv4Prefix and ConfIPv6Prefix containersDATA_CONTAINER - Corresponds to the YANG inet:ipv4-address type.DATA_CONTAINER - Corresponds to the YANG tailf:ipv4-address-and-prefix-length type.DATA_CONTAINER - Corresponds to the YANG inet:ipv4-prefix type.DATA_CONTAINER - Corresponds to the YANG inet:ipv6-address type.DATA_CONTAINER - Corresponds to the YANG tailf:ipv6-address-and-prefix-length type.DATA_CONTAINER - Corresponds to the YANG inet:ipv6-prefix type.The subinterfaces to this interfaces is used as parameter to variousdiffIterate
methods.Enumeration flags us byCdbSubscription.diffIterate(int,CdbDiffIterate,EnumSet,Object)
to control the behavior of iterate over changes made in CDB data.flags us by DiffIterate interface The iterate() method should return any of the following constantsThis class represents a list key or a leaf-list element.DATA_CONTAINER - Corresponds to the YANG leaf-list.Base class of the ConfNamespace objects.A ConfNamespaceStub can be used in place of a real namespace file when accessing removed data models during a cdb upgrade.Class representing value of type J_NOEXISTS.Base class of the Conf data type classes.Corresponds to the YANG instance-identifier typeDATA_CONTAINER - Corresponds to the YANG tailf:octet-list type.DATA_CONTAINER - Corresponds to the YANG tailf:oid type.Class Representing an KeyPath path.DATA_CONTAINER - Corresponds to the confspec xs:qName type.Internal Class.Class representing an element in a model.Class representing an element in a model.DATA_CONTAINER - Corresponds to the confspec xs:time type.Conf value type descriptor.DATA_CONTAINER - Corresponds to the YANG uint16 typeDATA_CONTAINER - Corresponds to the YANG uint32 typeDATA_CONTAINER - Corresponds to the YANG uint64 typeDATA_CONTAINER - Corresponds to the YANG uint8 typeUser session information container.Base class of the DATA_CONTAINERConf<datatype>
classes.Warning messages container.Warning exception base class.Represents the base class of a flat XML structure.Identifies a starting point in the model from which other parameters are relatively defined (used in CDB).Identifies a leaf parameter.Identifies a starting point in the model from which other parameters are relatively defined.Identifies a starting point in the model for a list item that should be deleted.Identifies the end point for parameter definitions.Identifies a parameter with its value.DATA_CONTAINER - Corresponds to the confspec XML Tag.Class Representing an XPath path.Enumeration flags us byCdbSubscription.diffIterate(int,CdbDiffIterate,EnumSet,Object)
to control the behavior of iterate over changes made in CDB data.The modification flags supplied by the library toCdbDiffIterate
,MaapiDiffIterate
user implementation of theCdbDiffIterate.iterate(com.tailf.conf.ConfObject[], DiffIterateOperFlag,com.tailf.conf.ConfObject,com.tailf.conf.ConfObject, Object)
andMaapiDiffIterate.iterate(com.tailf.conf.ConfObject[], DiffIterateOperFlag,com.tailf.conf.ConfObject, com.tailf.conf.ConfObject,Object)
.flags us by DiffIterate interface The iterate() method should return any of the following constantsError codes for all errors delivered over the protocol.verbosity levels for reported errorsClass Representing an path.The SnmpVarbind is a data structure for holding an SNMP variable binding which is on either of the forms: Variable - Value OID - Value Column - RowIndex - ValueClass for creation and control of sockets, towards NCS/Confd This singleton factory class control all socket connections.Interface for user defined creation of sockets, towards NCS/ConfdEnum identifying type of ConfXMLParam subclass.