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
IOException
public int getMethod()
public int getWorkerID()
public ListObject getData()
public void deserialize(ByteBuffer buffer) throws IOException
deserialize
in class PSRpcObject
IOException
public ByteBuffer serialize() throws IOException
serialize
in class PSRpcObject
IOException
Copyright © 2020 The Apache Software Foundation. All rights reserved.