Example #1
0
 ClientInfo* ClientInfo::create(AbstractMessagingPort* messagingPort) {
     ClientInfo * info = _tlInfo.get();
     massert(16472, "A ClientInfo already exists for this thread", !info);
     info = new ClientInfo(messagingPort);
     _tlInfo.reset( info );
     info->_setupAuth();
     info->newRequest();
     return info;
 }