6 * @author Lukas Pokorny (lukas_pokorny@centrum.cz)
7 * @author CTU FEE Prague - Department of Control Engineering (dce.felk.cvut.cz)
8 * @author Project ORTE - OCERA Real Time Ethernet (www.ocera.org)
9 * @author dedication to Kj
12 * This program is free software; you can redistribute it and/or modify
13 * it under the terms of the GNU General Public License as published by
14 * the Free Software Foundation; either version 2 of the License, or
15 * (at your option) any later version.
17 * This program is distributed in the hope that it will be useful,
18 * but WITHOUT ANY WARRANTY; without even the implied warranty of
19 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
20 * GNU General Public License for more details.
24 import org.ocera.orte.types.MessageData;
25 import org.ocera.orte.types.RecvInfo;
26 //import org.ocera.orte.types.SequenceNumber;
31 * TODO To change the template for this generated type comment go to
32 * Window - Preferences - Java - Code Style - Code Templates
35 class RoboCallback extends org.ocera.orte.SubscriptionCallback
37 static public int cnt = 0;
40 //SequenceNumber sn; // only for test purposes
48 System.out.println(":j: MyCallback created..");
52 * @param recieved info
53 * @param message data instance
56 public void callback(RecvInfo info, MessageData msg)
58 //System.out.println(":j: MyCallback: new data received!");