public class PSRpcCall extends PSRpcObject
PULL, PUSH| Constructor and Description |
|---|
PSRpcCall(ByteBuffer buffer) |
PSRpcCall(int method,
int workerID,
ListObject data) |
| Modifier and Type | Method and Description |
|---|---|
void |
deserialize(ByteBuffer buffer) |
ListObject |
getData() |
int |
getMethod() |
int |
getWorkerID() |
ByteBuffer |
serialize() |
public PSRpcCall(int method,
int workerID,
ListObject data)
public PSRpcCall(ByteBuffer buffer) throws IOException
IOExceptionpublic int getMethod()
public int getWorkerID()
public ListObject getData()
public void deserialize(ByteBuffer buffer) throws IOException
deserialize in class PSRpcObjectIOExceptionpublic ByteBuffer serialize() throws IOException
serialize in class PSRpcObjectIOExceptionCopyright © 2020 The Apache Software Foundation. All rights reserved.