next up previous contents
Next: Example Up: Library interface Previous: Client part   Contents

Server part

When a server receive a piece of a distributed data, PaCO++ gives the descriptor with the method setDescr. After PaCO++ will give a pointer of the data with the method insertData. If the data is cut into different parts, element_nb identifies the piece of data. If insertData returns true, the distributed data is completed. In this case, PaCO++ demands the argument with the method getServerData.

Figure: Server side abstract interface
\begin{figure}\begin{verbatimtab}
virtual bool insertData
(void* rcptBuf, unsi...
...ng & length) = 0;
virtual void serverFree() = 0;
\end{verbatimtab}
\end{figure}



2013-04-10