You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
25 lines
795 B
25 lines
795 B
#
|
|
# This file is part of pysnmp software.
|
|
#
|
|
# Copyright (c) 2005-2019, Ilya Etingof <etingof@gmail.com>
|
|
# License: http://snmplabs.com/pysnmp/license.html
|
|
#
|
|
# Copyright (C) 2008 Truelite Srl <info@truelite.it>
|
|
# Author: Filippo Giunchedi <filippo@truelite.it>
|
|
#
|
|
# This program is free software; you can redistribute it and/or modify
|
|
# it under the terms of the BSD 2-Clause License as shipped with pysnmp.
|
|
#
|
|
# Description: twisted DatagramProtocol UDP transport
|
|
#
|
|
from pysnmp.carrier.twisted.dispatch import TwistedDispatcher
|
|
from pysnmp.carrier.base import AbstractTransport
|
|
|
|
|
|
class AbstractTwistedTransport(AbstractTransport):
|
|
protoTransportDispatcher = TwistedDispatcher
|
|
|
|
def __init__(self, sock=None, sockMap=None):
|
|
self._writeQ = []
|
|
AbstractTransport.__init__(self)
|