public function send(RemoteMethodInterface $remoteMethod)
    {
        return $this->getApplication()->search(PersistenceContextInterface::IDENTIFIER)->invoke($remoteMethod, $this->getSessions());
    }
public function send(RemoteMethodInterface $remoteMethod)
    {
        return $this->getApplication()->search(PersistenceContextInterface::IDENTIFIER)->invoke($remoteMethod, $this->getSessions());
    }
public function send ( RemoteMethodInterface $ remoteMethod ) { return $ this -> getApplication ( ) -> search ( PersistenceContextInterface :: IDENTIFIER ) -> invoke ( $ remoteMethod , $ this -> getSessions ( ) ) ; }
Sends the remote method call to the container instance.

@param \AppserverIo\RemoteMethodInvocation\RemoteMethodInterface $remoteMethod The remote method instance

@return mixed The response from the container
@see \AppserverIo\RemoteMethodInvocation\ConnectionInterface::send()
Sends the remote method call to the container instance .