if (inCtx.readBoolean()) {
int sinkId = inCtx.readInt();
int factId = inCtx.readInt();
RightTupleSink sink = (RightTupleSink) inCtx.sinks.get( sinkId );
RightTupleKey key = new RightTupleKey( factId,
sink );
RightTuple rightTuple = inCtx.rightTuples.get( key );
//FIXME: stwCtx.expiringTuple = rightTuple;
}
if (inCtx.readBoolean()) {
int size = inCtx.readInt();
for (int i = 0; i < size; i++) {
int sinkId = inCtx.readInt();
int factId = inCtx.readInt();
RightTupleSink sink = (RightTupleSink) inCtx.sinks.get( sinkId );
RightTupleKey key = new RightTupleKey( factId,
sink );
RightTuple rightTuple = inCtx.rightTuples.get( key );
//FIXME: stwCtx.queue.add( rightTuple );