1234567891011121314151617181920212223 |
- // 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 OTSender {
- Network channel;
- int msgBitLength;
- public OTSender(int bitLen, Network channel) {
- this.channel = channel;
- msgBitLength = bitLen;
- }
- public abstract void send(GCSignal[] m) throws IOException;
- public abstract void send(GCSignal[][] m) throws IOException;
- }
|