12345678910111213141516171819202122 |
- // Copyright (C) 2013 by Yan Huang <yhuang@cs.umd.edu>
- // Improved by Xiao Shaun Wang <wangxiao@cs.umd.edu>
- 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;
- }
|