Module Expr Str Import alias Import alias ImportFrom alias ImportFrom alias ClassDef bases NameLoad body Expr Str ClassDef bases NameLoad body Expr Str decorator_list ClassDef bases NameLoad body Expr Str decorator_list ClassDef bases NameLoad body Expr Str decorator_list Assign NameStore Dict FunctionDef arguments args NameParam defaults body Expr Str Assign SubscriptStore AttributeLoad NameLoad attr Index Call AttributeLoad NameLoad attr NameLoad decorator_list NameLoad FunctionDef arguments args NameParam defaults body Expr Str Raise Call NameLoad decorator_list NameLoad FunctionDef arguments args NameParam NameParam defaults body Expr Str Assign NameStore Call NameLoad While NameLoad body Assign NameStore Call AttributeLoad NameLoad attr TryExcept body Assign NameStore Call AttributeLoad NameLoad attr NameLoad handlers ExceptHandler type AttributeLoad NameLoad attr body Assign NameStore NameLoad ExceptHandler type AttributeLoad NameLoad attr name NameStore body Raise AttributeLoad NameLoad attr Call NameLoad NameLoad SubscriptLoad Call AttributeLoad NameLoad attr Index Num ExceptHandler type AttributeLoad NameLoad attr name NameStore body Raise AttributeLoad NameLoad attr Call NameLoad NameLoad SubscriptLoad Call AttributeLoad NameLoad attr Index Num If CompareIs NameLoad NameLoad body Expr Call AttributeLoad NameLoad attr NameLoad Break Expr Call AttributeLoad NameLoad attr NameLoad Return NameLoad decorator_list NameLoad FunctionDef arguments args NameParam NameParam defaults body Expr Str Assign NameStore Call AttributeLoad NameLoad attr Assign NameStore Call AttributeLoad NameLoad attr Assign NameStore Call AttributeLoad NameLoad attr Assign NameStore Call NameLoad NameLoad Call AttributeLoad NameLoad attr NameLoad Expr Call AttributeLoad NameLoad attr NameLoad Num Assign NameStore Call AttributeLoad NameLoad attr If CompareNotEq NameLoad Num body Raise Call AttributeLoad NameLoad attr Str NameLoad NameLoad NameLoad NameLoad Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad If UnaryOpNot NameLoad body Raise Call AttributeLoad NameLoad attr Str NameLoad Return Call AttributeLoad NameLoad attr NameLoad NameLoad decorator_list NameLoad FunctionDef arguments args NameParam NameParam defaults Num body Assign AttributeStore NameLoad attr NameLoad decorator_list FunctionDef arguments args NameParam NameParam NameParam defaults body Expr Str Raise Call NameLoad decorator_list NameLoad FunctionDef arguments args NameParam defaults body Return AttributeLoad NameLoad attr decorator_list NameLoad FunctionDef arguments args NameParam defaults body Return BinOpMod Str TupleLoad AttributeLoad AttributeLoad NameLoad attr attr AttributeLoad NameLoad attr decorator_list FunctionDef arguments args NameParam defaults body Return Call NameLoad NameLoad decorator_list FunctionDef arguments args NameParam NameParam defaults body Expr Str Raise Call NameLoad decorator_list decorator_list
N/A N/A 
Copyright (c) 2011-2015, Agora Games, LLC All rights reserved.

https://github.com/agoragames/haigha/blob/master/LICENSE.txt
 N/A struct N/A sys collections deque haigha.reader Reader Frame N/A object N/A N/A 
    Base class for a frame.
     FrameError N/A Exception N/A N/A Base class for all frame errors N/A FormatError N/A FrameError N/A N/A The frame was mal-formed. N/A InvalidFrameType N/A FrameError N/A N/A The frame type is unknown. N/A N/A _frame_type_map N/A register N/A N/A cls N/A N/A N/A 
        Register a frame type.
         N/A N/A N/A cls _frame_type_map N/A N/A N/A cls type cls N/A classmethod type N/A N/A self N/A N/A N/A 
        Fetch the type of this frame.  Should be an octet.
         N/A N/A NotImplementedError N/A classmethod read_frames N/A N/A cls reader N/A N/A N/A 
        Read one or more frames from an IO stream.  Buffer must support file
        object interface.

        After reading, caller will need to check if there are bytes remaining
        in the stream. If there are, then that implies that there is one or
        more incomplete frames and more data needs to be read.  The position
        of the cursor in the frame stream will mark the point at which the
        last good frame was read. If the caller is expecting a sequence of
        frames and only received a part of that sequence, they are responsible
        for buffering those frames until the rest of the frames in the sequence
        have arrived.
         N/A rval N/A deque N/A True N/A N/A frame_start_pos N/A N/A reader tell N/A N/A N/A frame N/A N/A Frame _read_frame reader N/A N/A N/A N/A Reader BufferUnderflow N/A N/A frame None N/A N/A N/A Reader ReaderError N/A e N/A N/A N/A Frame FormatError N/A str e N/A N/A N/A sys exc_info N/A -1 N/A N/A N/A struct error N/A e N/A N/A N/A Frame FormatError N/A str e N/A N/A N/A sys exc_info N/A -1 N/A N/A frame None N/A N/A N/A N/A reader seek frame_start_pos N/A N/A N/A N/A rval append frame N/A rval N/A classmethod _read_frame N/A N/A cls reader N/A N/A N/A 
        Read a single frame from a Reader.  Will return None if there is an
        incomplete frame in the stream.

        Raise MissingFooter if there's a problem reading the footer byte.
         N/A frame_type N/A N/A reader read_octet N/A channel_id N/A N/A reader read_short N/A size N/A N/A reader read_long N/A payload N/A Reader reader N/A N/A reader tell size N/A N/A N/A reader seek size 1 N/A ch N/A N/A reader read_octet N/A N/A ch 206 N/A N/A N/A N/A Frame FormatError Framing error, unexpected byte: %x.  frame type %x. channel %d, payload size %d ch frame_type channel_id size N/A frame_class N/A N/A N/A cls _frame_type_map get frame_type N/A N/A frame_class N/A N/A N/A N/A Frame InvalidFrameType Unknown frame type %x frame_type N/A N/A N/A frame_class parse channel_id payload N/A classmethod __init__ N/A N/A self channel_id N/A -1 N/A N/A N/A self _channel_id channel_id N/A parse N/A N/A cls channel_id payload N/A N/A N/A 
        Subclasses need to implement parsing of their frames.  Should return
        a new instance of their type.
         N/A N/A NotImplementedError N/A classmethod channel_id N/A N/A self N/A N/A N/A N/A self _channel_id N/A property __str__ N/A N/A self N/A N/A N/A N/A %s[channel: %d] N/A N/A N/A self __class__ __name__ N/A self channel_id N/A __repr__ N/A N/A self N/A N/A N/A N/A str self N/A write_frame N/A N/A self stream N/A N/A N/A 
        Write this frame.
         N/A N/A NotImplementedError N/A N/A