RemotingClient.php
1 <?php
2 /**
3  * wCMF - wemove Content Management Framework
4  * Copyright (C) 2005-2015 wemove digital solutions GmbH
5  *
6  * Licensed under the terms of the MIT License.
7  *
8  * See the LICENSE file distributed with this work for
9  * additional information.
10  */
11 namespace wcmf\lib\service;
12 
14 
15 /**
16  * RemotingClient defines the interface for clients to be used
17  * with RemotingServer.
18  *
19  * @author ingo herwig <ingo@wemove.com>
20  */
21 interface RemotingClient {
22 
23  /**
24  * Do a call to the remote server.
25  * @param $request A Request instance
26  * @return A Response instance
27  */
28  public function call(Request $request);
29 }
30 ?>
Request holds the request values that are used as input to Controller instances.
Definition: Request.php:20
RemotingClient defines the interface for clients to be used with RemotingServer.
Service related interfaces and classes.
Definition: namespaces.php:92
call(Request $request)
Do a call to the remote server.