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