end
end
end
+ deprecate_class! :ThriftClient => Client
end
end
end
end
-
-# TProtocol = Thrift::Protocol
-# TProtocolException = Thrift::ProtocolException
-# ThriftStruct = Thrift::Struct
-# ThriftClient = Thrift::Client
-# TProcessor = Thrift::Processor
-# TType = Thrift::Types
-# TMessageType = Thrift::MessageTypes
-# TException = Thrift::Exception
-# TApplicationException = Thrift::ApplicationException
-# TBinaryProtocol = Thrift::BinaryProtocol
attr_reader :message
end
+ deprecate_class! :TException => Exception
class ApplicationException < Exception
end
end
+ deprecate_class! :TApplicationException => ApplicationException
end
\ No newline at end of file
oprot.trans.flush()
end
end
+ deprecate_class! :TProcessor => Processor
end
end
end
-end
-
-if Thrift::DEPRECATION
- TBinaryProtocol = Thrift::BinaryProtocol
+ deprecate_class! :TBinaryProtocol => BinaryProtocol
end
class TBinaryProtocolFactory < TProtocolFactory
end
end
+ deprecate_class! :TProtocolException => ProtocolException
class Protocol
end
end
+ deprecate_class! :TProtocol => Protocol
end
class TProtocolFactory
:element => field[:element] }
end
end
+ deprecate_class! :ThriftStruct => Struct
end
SET = 14
LIST = 15
end
+ deprecate_class! :TType => Types
module MessageTypes
CALL = 1
REPLY = 2
EXCEPTION = 3
end
+ deprecate_class! :TMessageType => MessageTypes
end
\ No newline at end of file