Logo Search packages:      
Sourcecode: gabber version File versions  Download package

string Session::getNextID (  ) 

Get the next available id Using this function ensures that ids are not repeated in the same Session.

A string containing a valid id.

Definition at line 148 of file jabberoo-session.cc.

Referenced by queryNamespace().

     char buf[8];
     snprintf(buf, 8, "j%u", _ID++);
     return string(buf);

Generated by  Doxygen 1.6.0   Back to index