00001 <?php 00002 00003 /* 00004 * This file is part of the PEIP package. 00005 * (c) 2010 Timo Michna <timomichna/yahoo.de> 00006 * 00007 * For the full copyright and license information, please view the LICENSE 00008 * file that was distributed with this source code. 00009 */ 00010 00021 interface PEIP_INF_Messaging_Gateway { 00022 00023 public function setRequestChannel(PEIP_INF_Channel $requestChannel); 00024 00025 public function setReplyChannel(PEIP_INF_Channel $replyChannel); 00026 00027 public function send($content); 00028 00029 public function receive(); 00030 00031 public function sendAndReceive($content); 00032 00033 }