Defined the interface for a simple communication protocol.