Module ImportFrom alias ImportFrom alias ImportFrom alias alias alias Assign NameStore BinOpMult Num BinOpPow Num Num ClassDef bases NameLoad body Expr Str FunctionDef arguments args NameParam defaults body Assign NameStore Call NameLoad NameLoad Expr Call AttributeLoad NameLoad attr NameLoad decorator_list FunctionDef arguments args NameParam defaults body Assign AttributeStore NameLoad attr Num Expr Call AttributeLoad NameLoad attr keyword NameLoad Expr Call AttributeLoad NameLoad attr Num Expr Call AttributeLoad NameLoad attr decorator_list FunctionDef arguments args NameParam NameParam NameParam defaults body Print Call AttributeLoad Str attr AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr Str AugAssignAdd AttributeStore NameLoad attr Num Expr Call AttributeLoad NameLoad attr decorator_list decorator_list If CompareEq NameLoad Str body Assign NameStore Call NameLoad Str Assign AttributeStore NameLoad attr NameLoad Expr Call NameLoad NameLoad Expr Call AttributeLoad NameLoad attr
N/A ranstring randomByteString twisted.internet reactor autobahn.twisted.websocket WebSocketClientFactory WebSocketClientProtocol connectWS N/A BATCH_SIZE N/A 1 N/A 2 20 StreamingHashClientProtocol N/A WebSocketClientProtocol N/A N/A 
    Streaming WebSockets client that generates stream of random octets
    sent to WebSockets server as a sequence of batches in one frame, in
    one message. The server computes a running SHA-256, which it will send
    every BATCH_SIZE octets back to us. When we receive a response, we
    repeat by sending another batch of data.
     sendOneBatch N/A N/A self N/A N/A N/A data N/A randomByteString BATCH_SIZE N/A N/A N/A self sendMessageFrameData data N/A onOpen N/A N/A self N/A N/A N/A N/A self count 0 N/A N/A N/A self beginMessage isBinary True N/A N/A N/A self beginMessageFrame 9223372036854775807 N/A N/A N/A self sendOneBatch N/A onMessage N/A N/A self payload isBinary N/A N/A N/A N/A N/A Digest for batch {} computed by server: {} format N/A self count N/A N/A payload decode utf8 N/A N/A self count 1 N/A N/A N/A self sendOneBatch N/A N/A N/A N/A __name__ __main__ N/A N/A factory N/A WebSocketClientFactory ws://127.0.0.1:9000 N/A N/A factory protocol StreamingHashClientProtocol N/A N/A connectWS factory N/A N/A N/A reactor run