def read_banner(self): data = pyknc.knc_read(self.conn, 1024) p = pyarrayhash.parse_init() while 1: obj = pyarrayhash.parse(p, data) if obj: break data = pyknc.knc_read(self.conn, 1024) self.banner = True return obj
def read(self, ln): return pyknc.knc_read(self.conn, ln)