/** * Test if substrate is ready to send more packets. * * @return true if substrate is ready */ public boolean ready() { return sndr.ready(); }
/** Wait for Substrate to stop. */ public void join() throws Exception { sndr.join(); rcvr.join(); }
/** * Send a packet. * * @param p is a packet to be sent */ public void send(Packet p) { sndr.send(p); }
/** Start Substrate running. */ public void start() { sndr.start(); rcvr.start(); }