UserSession session = new UserSession(sessionId, transport, client);
session.subscribeToClose(this);
mActiveSessions.put(sessionId, session);
} catch (TException te) {
LOG.error("Could not create callback RPC connection to " + host + ":" + port);
throw new CallbackConnectionError();
}
}
return sessionId.toThrift();
}