Remove TODO file
[remote/remote-gui.git] / src / motecontrol / client / MoteManager.java
blob6cdd8bf6ca24582e95f799b213b9d946ed59dff6
1 package diku.distlab.motecontrolclientlib.client;
3 import diku.distlab.motecontrolclientlib.protocols.MsgPayload;
5 public abstract class MoteManager {
7 protected Session session;
8 protected MoteList moteList;
10 protected MoteManager()
12 this.moteList = new MoteList();
15 protected abstract void grantMoteControl(long mote_id);
16 protected abstract void revokeMoteControl(long mote_id);
17 protected abstract void revokeAllMoteControls();
18 protected abstract void confirm(long mote_id, MsgPayload moteMsg);
20 public abstract void requestMotes(long[] moteids);
21 public abstract void releaseMotes(long[] moteids);
22 public abstract void releaseAllMotes();
24 public MoteList getMoteList()
26 return moteList;