public static interface RpcDispatcher.Marshaller
限定符和类型 | 方法和说明 |
---|---|
java.lang.Object |
objectFromBuffer(byte[] buf,
int offset,
int length) |
Buffer |
objectToBuffer(java.lang.Object obj)
Marshals the object into a byte[] buffer and returns a Buffer with a ref to the underlying byte[] buffer,
offset and length.
|
Buffer objectToBuffer(java.lang.Object obj) throws java.lang.Exception
obj
- java.lang.Exception
java.lang.Object objectFromBuffer(byte[] buf, int offset, int length) throws java.lang.Exception
java.lang.Exception