attachClient method
void
attachClient(
- IBaseSession baseSession
Implementation
void attachClient(IBaseSession baseSession) {
String realm = baseSession.realm();
if (!_realms.containsKey(realm)) {
throw Exception("cannot attach client to non-existent realm $realm");
}
_realms[realm]?.attachClient(baseSession);
}