Home | History | Annotate | Download | only in jsonrpc

Lines Matching refs:UID

66     protected void handleRPCConnection(Socket sock, Integer UID, BufferedReader reader,
71 Log.d("UID " + UID);
74 if (mgrs.containsKey(UID)) {
76 receiverManager = mgrs.get(UID);
79 receiverManager = mRpcReceiverManagerFactory.create(UID);
85 Log.v("Session " + UID + " Received: " + data);
93 send(writer, JsonRpcResult.error(id, new RpcError("Unknown RPC: " + method)), UID);
97 send(writer, JsonRpcResult.result(id, rpc.invoke(receiverManager, params)), UID);
100 send(writer, JsonRpcResult.error(id, t), UID);
110 mgrs.remove(UID);
117 private void send(PrintWriter writer, JSONObject result, int UID) {
120 Log.v("Session " + UID + " Sent: " + result);