public class IDLProxyObject extends Object
| 构造器和说明 |
|---|
IDLProxyObject(Codec codec,
Object target,
Class<?> cls)
default construtor to set
Codec target |
| 限定符和类型 | 方法和说明 |
|---|---|
void |
clearFieldCache() |
IDLProxyObject |
decode(byte[] bb) |
byte[] |
encode() |
Object |
get(String field) |
Object |
getTarget()
get the target
|
boolean |
isCached()
get the cached
|
IDLProxyObject |
newInstnace() |
IDLProxyObject |
put(String field,
Object value) |
void |
setCached(boolean cached)
set cached value to cached
|
public boolean isCached()
public void setCached(boolean cached)
cached - the cached to setpublic IDLProxyObject newInstnace()
public IDLProxyObject put(String field, Object value)
public byte[] encode()
throws IOException
IOExceptionpublic IDLProxyObject decode(byte[] bb) throws IOException
IOExceptionpublic void clearFieldCache()
public Object getTarget()
Copyright © 2016 Baidu, Inc.. All rights reserved.