Protocol Object

class activelogic.ProtocolObject

Object representing a ProtocolObject.

>>> po = rs.add(ProtocolObject('MyProtocolObject', items=[1, "UDP"]))
>>> po = rs.add(ProtocolObject('MyProtocolObject', items=[ProtocolObjectItem(1)]))
class activelogic.ProtocolObjectItem

Object representing an item of a ProtocolObject.

Parameters

value (int) – IP Protocol number.

>>> ProtocolObjectItem(1)