// Copyright (C) 2013 by Yan Huang // Improved by Xiao Shaun Wang package com.oblivm.backend.ot; import java.io.IOException; import com.oblivm.backend.gc.GCSignal; import com.oblivm.backend.network.Network; public abstract class OTReceiver { Network channel; int msgBitLength; public OTReceiver(Network channel) { this.channel = channel; } public abstract GCSignal receive(boolean c) throws IOException; public abstract GCSignal[] receive(boolean[] c) throws IOException; }