| @@ 247-254 (lines=8) @@ | ||
| 244 | case \XMLReader::END_ELEMENT: |
|
| 245 | if ($xmlReader->name == 'Message') |
|
| 246 | {
|
|
| 247 | if ($messageId != NULL) |
|
| 248 | {
|
|
| 249 | $this->result(Agent::SUCCESS, true); |
|
| 250 | } |
|
| 251 | else |
|
| 252 | {
|
|
| 253 | $this->result(Agent::SUCCESS, false); |
|
| 254 | } |
|
| 255 | } |
|
| 256 | break; |
|
| 257 | } |
|
| @@ 260-267 (lines=8) @@ | ||
| 257 | } |
|
| 258 | } |
|
| 259 | ||
| 260 | if ($messageId != NULL) |
|
| 261 | {
|
|
| 262 | $this->result(Agent::SUCCESS, true); |
|
| 263 | } |
|
| 264 | else |
|
| 265 | {
|
|
| 266 | $this->result(Agent::SUCCESS, false); |
|
| 267 | } |
|
| 268 | ||
| 269 | if ($errorCode!=NULL) |
|
| 270 | $this->result(Agent::CODE, $errorCode); |
|