def __init__(self, loop=None, disconnect_callback=None) -> None:
if loop:<EOL><INDENT>self.loop = loop<EOL><DEDENT>else:<EOL><INDENT>self.loop = asyncio.get_event_loop()<EOL><DEDENT>self.packet = '<STR_LIT>'<EOL>self.buffer = '<STR_LIT>'<EOL>self.disconnect_callback = disconnect_callback<EOL>
Initialize class.