pysnmp.proto.api.alpha
index
/home/mcfletch/pylive/pysnmp/proto/api/alpha/__init__.py

A high-level API to SNMP protocol objects.

 
Package Contents
        __init__ -- A high-level API to SNMP protocol objects.
pdutypes -- SNMP version independent PDU type classes
rfc1155 -- An implementation of high-level API to SNMP data types (RFC1155)
rfc1157
rfc1905
v1
v2c
versions

 
Classes
       
Choice(ChoiceMixIn, ProtoVersionId1MixIn, Choice)
MetaMessage

 
class MetaMessage(Choice)
    A selection of SNMP protocol Messages
 
 
Method resolution order:
MetaMessage
Choice
ChoiceMixIn
ProtoVersionId1MixIn
ProtoVersionIdMixInBase
Choice
ChoiceTypeAsn1Object
FixedTypeAsn1Object
StructuredAsn1Object
Asn1Object
ChoiceMixIn
SingleFixedTypeAsn1Object
FixedTypeAsn1Object
StructuredAsn1Object
SimpleAsn1Object
BerObject

Data and other attributes defined here:
choiceComponents = [<class pysnmp.proto.rfc1157.Message>, <class pysnmp.proto.rfc1905.Message>]
choiceNames = [<pysnmp.proto.api.alpha.versions.ProtoVersionId1 instance>, <pysnmp.proto.api.alpha.versions.ProtoVersionId2c instance>]

Methods inherited from ChoiceMixIn:
apiAlphaGetCurrentComponent(self)
apiAlphaGetTerminalValue(self)
apiAlphaSetTerminalValue(self, value)
getTerminal = apiAlphaGetTerminalValue(self)

Data and other attributes inherited from ProtoVersionId1MixIn:
apiAlphaProtoVersionId = 0

Methods inherited from ProtoVersionIdMixInBase:
apiAlphaGetProtoVersionId(self)

Data and other attributes inherited from Choice:
tagCategory = 4

Methods inherited from ChoiceTypeAsn1Object:
__delitem__(self, key)
Delete component by key
__init__(self, **kwargs)
Store dictionary args
__setitem__(self, key, value)
Set component by key & value
componentFactoryBorrow(self, key)

Data and other attributes inherited from ChoiceTypeAsn1Object:
initialComponent = None

Methods inherited from FixedTypeAsn1Object:
__cmp__(self, other)
Attempt to compare the payload of instances of the same class
__getitem__(self, key)
Return component by key
__hash__(self)
Returns hash of the payload value
__len__(self)
Get length of the object
__repr__(self)
Return native representation of instance payload
__str__(self)
Return string representation of class instance
get(self, key, default=None)
Lookup by key with default
has_key(self, key)
Return true if key exists
items(self)
Return a list of tuples (key, value)
keys(self)
Return a list of keys
update(self, dict)
Merge dict to ourselves
values(self)
Return a list of values

Data and other attributes inherited from StructuredAsn1Object:
tagFormat = 32

Methods inherited from Asn1Object:
getUnderlyingTag(self)

Data and other attributes inherited from Asn1Object:
allowedTypes = ()
constraints = ()
tagClass = 0
tagId = None

Methods inherited from SingleFixedTypeAsn1Object:
berDecode(self, input)
decode = berDecode(self, input)

Methods inherited from FixedTypeAsn1Object:
berEncode(self)
Choose optimised version of berEncode for this class
berEncodeWOutSub(self)
berEncodeWSub() -> octet string
 
For classes which do *not* have a _berEncode only!
 
Note:
    This should be bound by a metaclass on looking
    at the final class, *not* as is done now by
    binding at time-of-use.
berEncodeWSub(self)
berEncodeWSub() -> octet string
 
For classes which *have* a _berEncode only!
 
Note:
    This should be bound by a metaclass on looking
    at the final class, *not* as is done now by
    binding at time-of-use.
encode = berEncode(self)
Choose optimised version of berEncode for this class

Methods inherited from StructuredAsn1Object:
berUnwrapHeader(self, input)
Decode BER header, return (data, rest)
berWrapHeader(self, input)
Add BER header to data chunk if needed

Methods inherited from BerObject:
berDecodeLength(self, input)
berDecodeLength(input) -> (length, size)
 
Return the data item's length (integer) and the size of length
data (integer).
berEncodeLength(self, length)
berEncodeLength(length) -> octet string
 
BER encode ASN.1 data item length (integer).
berEncodeTag(self, (tagClass, tagFormat, tagId)=(None, None, None))
BER encode ASN.1 type tag

 
Data
        __path__ = ['/home/mcfletch/pylive/pysnmp/proto/api/alpha']
getBulkRequestPduType = <pysnmp.proto.api.alpha.pdutypes.GetBulkRequestPduType instance>
getNextRequestPduType = <pysnmp.proto.api.alpha.pdutypes.GetNextRequestPduType instance>
getRequestPduType = <pysnmp.proto.api.alpha.pdutypes.GetRequestPduType instance>
getResponsePduType = <pysnmp.proto.api.alpha.pdutypes.GetResponsePduType instance>
informRequestPduType = <pysnmp.proto.api.alpha.pdutypes.InformRequestPduType instance>
protoVersionId1 = <pysnmp.proto.api.alpha.versions.ProtoVersionId1 instance>
protoVersionId2c = <pysnmp.proto.api.alpha.versions.ProtoVersionId2c instance>
protoVersions = {<pysnmp.proto.api.alpha.versions.ProtoVersionId1 instance>: <module 'pysnmp.proto.api.alpha.v1' from '/home/mcfletch/pylive/pysnmp/proto/api/alpha/v1.pyc'>, <pysnmp.proto.api.alpha.versions.ProtoVersionId2c instance>: <module 'pysnmp.proto.api.alpha.v2c' from '/home/mcfletch/pylive/pysnmp/proto/api/alpha/v2c.pyc'>}
reportPduType = <pysnmp.proto.api.alpha.pdutypes.ReportPduType instance>
responsePduType = <pysnmp.proto.api.alpha.pdutypes.GetResponsePduType instance>
setRequestPduType = <pysnmp.proto.api.alpha.pdutypes.SetRequestPduType instance>
trapPduType = <pysnmp.proto.api.alpha.pdutypes.TrapPduType instance>