1. A method, comprising: receiving by a network device two or more data packets relating to an RFID device network or a sensor network; ascertaining by the network device an application layer protocol for a message contained in the two or more data packets; determining by the network device contents of the message according to the application layer protocol using a procedure that corresponds to the application layer protocol, wherein determining contents of the message includes determining contents of the two or more data packets using the procedure that corresponds to the application layer protocol and assembling the contents of the two or more data packets; determining a message classification that is associated with criteria satisfied by the message, wherein the message classification is determined based, at least in part, upon the contents of the message including RFID data; and performing by the network device at least one action according to the contents of the message, wherein performing the at least one action includes applying a rule to initiate a predetermined sequence of operations, wherein performing the at least one action according to the contents of the message includes performing one or more actions according to the message classification.