Example #1
0
 def connection_made(self, transport):
     self.transport=transport
     request = VNICPromiscuousLevelPacket()
     if self.level != None: request.set = self.level
     transport.write(request.__serialize__())
Example #2
0
 def __init__(self, level=None):
     self.level = level
     self.currentVnicLevel = None
     self.deserializer = VNICPromiscuousLevelPacket.Deserializer()