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

Class Application


Application class.

Match on Protocol. This configures the match criterion for a class map on the basis of a specified protocol.

Instance Methods
 
__init__(self, protocol, subprotocol=None, param=None)
Constructs an Application 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
  protocol = property(_get_protocol, None, None, _doc_protocol)
  sub_protocol = property(_get_sub_protocol, None, None, _doc_su...
  param = property(_get_param, None, None, _doc_param)

Inherited from Match: MatchOpCode, MatchType, __metaclass__

Properties

Inherited from object: __class__

Method Details

__init__(self, protocol, subprotocol=None, param=None)
(Constructor)

 

Constructs an Application match.

'subprotocol' and 'param' are optional parameters.

Parameters:
  • protocol (str) - protocol.
  • subprotocol (str) - sub-protocol.
  • param (str) - parameter.
Raises:
Overrides: object.__init__

Class Variable Details

sub_protocol

Value:
property(_get_sub_protocol, None, None, _doc_sub_protocol)