类 IDLProxyObject
java.lang.Object
com.baidu.bjf.remoting.protobuf.IDLProxyObject
IDL parsed proxy object.
- 从以下版本开始:
- 1.0.2
- 作者:
- xiemalin
-
构造器概要
构造器构造器说明IDLProxyObject(Codec codec, Object target, Class<?> cls) default construtor to setCodectarget. -
方法概要
-
构造器详细资料
-
IDLProxyObject
default construtor to setCodectarget.- 参数:
codec- the codectarget- the targetcls- the cls
-
-
方法详细资料
-
isCached
public boolean isCached()Checks if is cached.- 返回:
- true, if is cached
-
setCached
public void setCached(boolean cached) Sets the cached.- 参数:
cached- the new cached
-
newInstnace
New instnace.- 返回:
- the IDL proxy object
-
put
Put.- 参数:
field- the fieldvalue- the value- 返回:
- the IDL proxy object
-
get
Gets the.- 参数:
field- the field- 返回:
- the object
-
encode
Encode.- 返回:
- the byte[]
- 抛出:
IOException- Signals that an I/O exception has occurred.
-
decode
Decode.- 参数:
bb- the bb- 返回:
- the IDL proxy object
- 抛出:
IOException- Signals that an I/O exception has occurred.
-
clearFieldCache
public void clearFieldCache()Clear field cache. -
getTarget
Gets the target.- 返回:
- the target
-