Class PSRpcCall
- java.lang.Object
 - 
- org.apache.sysds.runtime.controlprogram.paramserv.rpc.PSRpcObject
 - 
- org.apache.sysds.runtime.controlprogram.paramserv.rpc.PSRpcCall
 
 
 
- 
public class PSRpcCall extends PSRpcObject
 
- 
- 
Field Summary
- 
Fields inherited from class org.apache.sysds.runtime.controlprogram.paramserv.rpc.PSRpcObject
PULL, PUSH 
 - 
 
- 
Constructor Summary
Constructors Constructor Description PSRpcCall(int method, int workerID, ListObject data)PSRpcCall(ByteBuffer buffer) 
- 
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voiddeserialize(ByteBuffer buffer)ListObjectgetData()intgetMethod()intgetWorkerID()ByteBufferserialize() 
 - 
 
- 
- 
Constructor Detail
- 
PSRpcCall
public PSRpcCall(int method, int workerID, ListObject data) 
- 
PSRpcCall
public PSRpcCall(ByteBuffer buffer) throws IOException
- Throws:
 IOException
 
 - 
 
- 
Method Detail
- 
getMethod
public int getMethod()
 
- 
getWorkerID
public int getWorkerID()
 
- 
getData
public ListObject getData()
 
- 
deserialize
public void deserialize(ByteBuffer buffer) throws IOException
- Specified by:
 deserializein classPSRpcObject- Throws:
 IOException
 
- 
serialize
public ByteBuffer serialize() throws IOException
- Specified by:
 serializein classPSRpcObject- Throws:
 IOException
 
 - 
 
 -