/** * Binds a server end-point to a client end-point (internally, it creates a {@link __UIBinding} instance), allowing the synchronization from server to client but not the oposite way * It also set the bound direction to {@link __IEndPoing::BIND_DIRECTION_S2C} to both end-points * * @param __IServerEndPoint $sep * @param __IClientEndPoint $cep */ public function bindFromServerToClient(__IServerEndPoint $sep, __IClientEndPoint $cep) { $cep->setBoundDirection(__IEndPoint::BIND_DIRECTION_S2C); $sep->setBoundDirection(__IEndPoint::BIND_DIRECTION_S2C); $ui_binding = new __UIBinding($sep, $cep); $this->registerUIBinding($ui_binding); }