Namespaces | |
| client | |
| server | |
Functions | |
| def | SerializeThriftMsg |
| def | DeserializeThriftMsg |
Serialization helpers
| def damn_at.serialization.DeserializeThriftMsg | ( | msg, | |
| data, | |||
protocol_type = TBinaryProtocol.TBinaryProtocol |
|||
| ) |
Deserialize a thrift message using the given protocol.
The default protocol is binary.
Args:
msg: the Thrift object to serialize.
data: the data to read from.
protocol_type: the Thrift protocol class to use.
Returns:
Message object passed in (post-parsing).

| def damn_at.serialization.SerializeThriftMsg | ( | msg, | |
protocol_type = TBinaryProtocol.TBinaryProtocol |
|||
| ) |
Serialize a thrift message using the given protocol.
The default protocol is binary.
Args:
msg: the Thrift object to serialize.
protocol_type: the Thrift protocol class to use.
Returns:
A string of the serialized object.

1.8.6