Subversion Repositories HomeAutomation

Rev

Go to most recent revision | Blame | Last modification | View Log | SVN | RSS feed

  1. /*
  2.  * MbPacketReceiver.java
  3.  *
  4.  * Created on den 24 augusti 2003, 23:59
  5.  */
  6. package Macbeth.System;
  7.  
  8. /**
  9.  * Implement this interface if your class contains
  10.  * functionality for receiving Macbeth packets. Note
  11.  * that receiving a packet is not the same as handling
  12.  * packets. Handling packets refers to the process
  13.  * or parsing them and reacting to the data found
  14.  * in their contents, while receiving simply refers
  15.  * to the process of taking care of an incoming packet
  16.  * (and putting it onto a packet queue or invoking a
  17.  * handler).
  18.  * @author Jimmy
  19.  */
  20. public interface MbPacketReceiver {
  21.     /**
  22.      * This is called when someone sends you a packet.
  23.      */
  24.     public void packetReceived(MbPacket p);
  25. }