Class VcTmPacketHandler

    • Method Detail

      • getLinkStatus

        public Link.Status getLinkStatus()
        Description copied from interface: Link
        Returns the current link status.
        Specified by:
        getLinkStatus in interface Link
      • getDetailedStatus

        public String getDetailedStatus()
        Specified by:
        getDetailedStatus in interface Link
        Returns:
        more detailed status information
      • enable

        public void enable()
        Description copied from interface: Link
        Reenable the data transit if disabled by the disable() method.
        Specified by:
        enable in interface Link
      • disable

        public void disable()
        Description copied from interface: Link
        Disable any data I/O through this link. Any connection to a server is closed. Can be reenabled using the enable method. Note that this method can be called before starting the service if it's configured as such in the configuration file
        Specified by:
        disable in interface Link
      • isDisabled

        public boolean isDisabled()
        Specified by:
        isDisabled in interface Link
      • getDataInCount

        public long getDataInCount()
        Specified by:
        getDataInCount in interface Link
      • getDataOutCount

        public long getDataOutCount()
        Specified by:
        getDataOutCount in interface Link
      • resetCounters

        public void resetCounters()
        Specified by:
        resetCounters in interface Link
      • getConfig

        public YConfiguration getConfig()
        Specified by:
        getConfig in interface Link
        Returns:
        the config (args) used when creating the link
      • getName

        public String getName()
        Description copied from interface: Link
        Return the name of the link
        Specified by:
        getName in interface Link
      • getParent

        public AggregatedDataLink getParent()
        Description copied from interface: Link
        If this link is a sublink of an aggregated link, get the parent link.
        Specified by:
        getParent in interface Link
      • setParent

        public void setParent​(AggregatedDataLink parent)
        Description copied from interface: Link
        Set the parent link if this is a sublink of an aggregated link.
        Specified by:
        setParent in interface Link