Stanza LinkLocal::Stream::read() { if(in.isEmpty()) return Stanza(); else { Stanza *sp = in.first(); Stanza s = *sp; in.removeFirst(); delete sp; return s; } }
Message2 Message2::createEmpty() { return Message2(Stanza()); }