* The SyrupConnection over which SQL statements are executed.
* @return The Context of a PTask.
*/
protected Context readContext(PTask p, SyrupConnection con) throws Exception
{
EndPoint in_1 = readInEndPoint(p.key(), false, con);
EndPoint in_2 = readInEndPoint(p.key(), true, con);
EndPoint out_1 = readOutEndPoint(p.key(), false, con);
EndPoint out_2 = readOutEndPoint(p.key(), true, con);
// [TODO: check if it is necessary to read it again, or can we take the
// given parameter p?]
PTask self = readPTask(p.key(), con);