Class VplsOperation


  • public class VplsOperation
    extends Object
    Operation for VPLS.
    • Constructor Detail

      • VplsOperation

        protected VplsOperation​(VplsData vplsData,
                                VplsOperation.Operation op)
        Defines a VPLS operation by binding a given VPLS and operation type.
        Parameters:
        vplsData - the VPLS
        op - the operation
    • Method Detail

      • of

        public static VplsOperation of​(VplsData vplsData,
                                       VplsOperation.Operation op)
        Defines a VPLS operation by binding a given VPLS and operation type.
        Parameters:
        vplsData - the VPLS
        op - the operation
        Returns:
        the VPLS operation
      • vpls

        public VplsData vpls()
        Retrieves the VPLS from the operation.
        Returns:
        the VPLS
      • op

        public VplsOperation.Operation op()
        Retrieves the operation type from the operation.
        Returns:
        the operation type
      • hashCode

        public int hashCode()
        Overrides:
        hashCode in class Object