Lines Matching refs:clientSession
22 * @type {remoting.ClientSession} The client session object, set once the
25 remoting.clientSession = null;
48 if (remoting.clientSession) {
49 remoting.clientSession.onResize();
59 if (remoting.clientSession) {
60 remoting.clientSession.pauseVideo(
71 if (!remoting.clientSession) {
74 if (remoting.clientSession.getMode() == remoting.ClientSession.Mode.IT2ME) {
79 remoting.clientSession.disconnect(true);
80 remoting.clientSession = null;
90 if (remoting.clientSession) {
92 remoting.clientSession.sendCtrlAltDel();
102 if (remoting.clientSession) {
104 remoting.clientSession.sendPrintScreen();
117 case remoting.ClientSession.State.CLOSED:
119 if (remoting.clientSession.getMode() ==
120 remoting.ClientSession.Mode.IT2ME) {
127 case remoting.ClientSession.State.FAILED:
128 var error = remoting.clientSession.getError();
143 remoting.clientSession.disconnect(false);
144 remoting.clientSession.removePlugin();
145 remoting.clientSession = null;
160 var mode = remoting.clientSession ? remoting.clientSession.getMode()
162 if (mode == remoting.ClientSession.Mode.IT2ME) {
187 if (!remoting.clientSession ||
188 remoting.clientSession.getState() !=
189 remoting.ClientSession.State.CONNECTED) {
192 var perfstats = remoting.clientSession.getPerfStats();
194 remoting.clientSession.logStatistics(perfstats);
342 /** @param {remoting.ClientSession} clientSession */
343 remoting.onConnected = function(clientSession) {
344 remoting.clientSession = clientSession;
345 remoting.clientSession.setOnStateChange(onClientStateChange_);
386 clientSession.requestPairing(clientName, onPairingComplete);