public function errorAllPendingCalls()
    {
        foreach ($this->calls as $call) {
            $call->getCallerSession()->sendMessage(ErrorMessage::createErrorMessageFromMessage($call->getCallMessage(), 'wamp.error.canceled'));
        }
    }
public function errorAllPendingCalls()
    {
        foreach ($this->calls as $call) {
            $call->getCallerSession()->sendMessage(ErrorMessage::createErrorMessageFromMessage($call->getCallMessage(), 'wamp.error.canceled'));
        }
    }
public function errorAllPendingCalls ( ) { foreach ( $ this -> calls as $ call ) { $ call -> getCallerSession ( ) -> sendMessage ( ErrorMessage :: createErrorMessageFromMessage ( $ call -> getCallMessage ( ) , 'wamp.error.canceled' ) ) ; } }
This will send error messages on all pending calls
This is used when a session disconnects before completing a call
This will send error messages on all pending calls This is used when a session disconnects before completing a call