관리-도구
편집 파일: _transport.pyc
� -�P`c @ s� d d l Z d d l Z d d l Z d d l Z d d l Z d d l Z d d l m Z m Z d d l m Z d d l m Z d d l m Z d e f d � � YZ d � Z d e j f d � � YZ e d k r� e j � n d S( i����N( t LsmErrort ErrorNumber( t SocketEOF( t DataDecoder( t DataEncodert TransPortc B s� e Z d Z d Z d � Z d � Z d � Z d � Z e d � � Z d � Z d � Z d � Z d � Z d d � Z d d � Z d � Z RS( s� Provides wire serialization by using json. Loosely conforms to json-rpc, however a length header was added so that we would have the ability to use non sax like json parsers, which are more abundant. <Zero padded 10 digit number [1..2**32] for the length followed by valid json. Notes: id field (json-rpc) is present but currently not being used. This is available to be expanded on later. i c C s� | d k r t d � � n t � } xN t | � | k rt | j j | t | � � } | sg t � � n | | 7} q'