接口的使用
com.baidu.bjf.remoting.protobuf.Codec
使用Codec的程序包
-
com.baidu.bjf.remoting.protobuf中Codec的使用
修饰符和类型方法说明static <T> Codec<T>To create a protobuf proxy class for target class.static <T> Codec<T>Creates the.static <T> Codec<T>To create a protobuf proxy class for target class.static <T> Codec<T>ProtobufProxy.create(Class<T> cls, boolean debug, File path, Compiler compiler, ICodeGenerator codeGenerator) To create a protobuf proxy class for target class.static <T> Codec<T>ProtobufProxy.create(Class<T> cls, Compiler compiler, ICodeGenerator codeGenerator) To create a protobuf proxy class for target class.protected static <T> Codec<T>ProtobufProxy.doCreate(Class<T> cls, boolean debug, Compiler compiler, ICodeGenerator cg) To create a protobuf proxy class for target class.参数类型为Codec的com.baidu.bjf.remoting.protobuf中的构造器限定符构造器说明IDLProxyObject(Codec codec, Object target, Class<?> cls) default construtor to setCodectarget. -
com.baidu.bjf.remoting.protobuf.code中Codec的使用