Package onep :: Package policyservice :: Module match :: Class RTPPort
[frames] | no frames]

Class RTPPort


RTPPort class.

RTP Port match.

Instance Methods
 
__init__(self, port1, port2)
Constructs a Protocol match.
 
__eq__(self, obj)

Inherited from Match: check_match_support, get_match_type, match_type, set_negate

Inherited from object: __delattr__, __format__, __getattribute__, __hash__, __new__, __reduce__, __reduce_ex__, __repr__, __setattr__, __sizeof__, __str__, __subclasshook__

Class Variables
  port1 = property(_get_port1, None, None, _doc_port1)
  port2 = property(_get_port2, None, None, _doc_port2)

Inherited from Match: MatchOpCode, MatchType, __metaclass__

Properties

Inherited from object: __class__

Method Details

__init__(self, port1, port2)
(Constructor)

 

Constructs a Protocol match.

Parameters:
  • port1 (int) - Port number 1.
  • port2 (int) - Port number 2.
Raises:
Overrides: object.__init__