composite_primitive.py 551 B

12345678910111213141516
  1. '''This file is part of AToMPM - A Tool for Multi-Paradigm Modelling
  2. Copyright 2011 by the AToMPM team and licensed under the LGPL
  3. See COPYING.lesser and README.md in the root of this project for full details'''
  4. from .primitive import Primitive
  5. # Abstract class
  6. class CompositePrimitive(Primitive):
  7. def __init__(self):
  8. super(CompositePrimitive, self).__init__()
  9. def packet_in(self, packet):
  10. raise AttributeError('Method not implemented')
  11. def next_in(self, packet):
  12. raise AttributeError('Method not implemented')