@@ -83,7 +83,6 @@ |
||
83 | 83 | * @param ObjectEventDispatcher $dispatcher the dispatcher to dispatch the event |
84 | 84 | * @param mixed $subject the subject for the event |
85 | 85 | * @param string $name the name of the event |
86 | - * @param array $parameters the headers for the event |
|
87 | 86 | * @return |
88 | 87 | */ |
89 | 88 | public function buildAndDispatch(ObjectEventDispatcher $dispatcher, $subject, $name, array $headers = array()){ |
@@ -56,7 +56,6 @@ discard block |
||
56 | 56 | * sets the channel to send requests from the gateway |
57 | 57 | * |
58 | 58 | * @access public |
59 | - * @param \PEIP\INF\Channel\Channel $replyChannel The default channel to receive requests from the gateway |
|
60 | 59 | * @return |
61 | 60 | */ |
62 | 61 | public function setRequestChannel(\PEIP\INF\Channel\Channel $requestChannel){ |
@@ -109,7 +108,7 @@ discard block |
||
109 | 108 | * sends and receives a request/message through the gateway |
110 | 109 | * |
111 | 110 | * @access public |
112 | - * @param mixed $content the content/payload for the message to send |
|
111 | + * @param \Order $content the content/payload for the message to send |
|
113 | 112 | * @return mixed content/payload of the received message |
114 | 113 | */ |
115 | 114 | public function sendAndReceive($content){ |
@@ -188,7 +188,7 @@ |
||
188 | 188 | |
189 | 189 | /** |
190 | 190 | * @access protected |
191 | - * @param $commandName |
|
191 | + * @param string $commandName |
|
192 | 192 | * @param $callable |
193 | 193 | * @return |
194 | 194 | */ |
@@ -33,10 +33,10 @@ |
||
33 | 33 | * Send a message, blocking until either the message is accepted or the |
34 | 34 | * specified timeout period elapses. |
35 | 35 | * |
36 | - * @param message the {@link Message} to send |
|
37 | - * @param timeout the timeout in milliseconds |
|
36 | + * @param message \PEIP\INF\Message\Message {@link Message} to send |
|
37 | + * @param timeout integer timeout in milliseconds |
|
38 | 38 | * |
39 | - * @return <code>true</code> if the message is sent successfully, |
|
39 | + * @return null|boolean if the message is sent successfully, |
|
40 | 40 | * <code>false</false> if the specified timeout period elapses or |
41 | 41 | * the send is interrupted |
42 | 42 | */ |