A protocol for content-based communication in disconnected mobile ad hoc networks