public class IDLProxyObject extends Object
| 构造器和说明 |
|---|
IDLProxyObject(Codec codec,
Object target,
Class<?> cls)
default construtor to set
Codec target. |
| 限定符和类型 | 方法和说明 |
|---|---|
void |
clearFieldCache()
Clear field cache.
|
IDLProxyObject |
decode(byte[] bb)
Decode.
|
byte[] |
encode()
Encode.
|
Object |
get(String field)
Gets the.
|
Object |
getTarget()
Gets the target.
|
boolean |
isCached()
Checks if is cached.
|
IDLProxyObject |
newInstnace()
New instnace.
|
IDLProxyObject |
put(String field,
Object value)
Put.
|
void |
setCached(boolean cached)
Sets the cached.
|
public boolean isCached()
public void setCached(boolean cached)
cached - the new cachedpublic IDLProxyObject newInstnace()
public IDLProxyObject put(String field, Object value)
field - the fieldvalue - the valuepublic byte[] encode()
throws IOException
IOException - Signals that an I/O exception has occurred.public IDLProxyObject decode(byte[] bb) throws IOException
bb - the bbIOException - Signals that an I/O exception has occurred.public void clearFieldCache()
public Object getTarget()
Copyright © 2022 Baidu, Inc.. All rights reserved.