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