Class JtiGpbAdapter

  • All Implemented Interfaces:
    Adapter

    public class JtiGpbAdapter
    extends AbstractScriptedCollectionAdapter
    An adapter for handling Junos Telemetry Interface packets. Messages are decoded using the corresponding classes generated by the Google Protobuf definitions and forwarded to a script for further processing.
    Author:
    jwhite
    • Constructor Detail

      • JtiGpbAdapter

        public JtiGpbAdapter​(AdapterDefinition adapterConfig,
                             com.codahale.metrics.MetricRegistry metricRegistry)
    • Method Detail

      • setCollectionAgentFactory

        public void setCollectionAgentFactory​(CollectionAgentFactory collectionAgentFactory)
      • setInterfaceToNodeCache

        public void setInterfaceToNodeCache​(InterfaceToNodeCache interfaceToNodeCache)
      • setNodeDao

        public void setNodeDao​(NodeDao nodeDao)
      • setTransactionTemplate

        public void setTransactionTemplate​(org.springframework.transaction.support.TransactionOperations transactionTemplate)