public void GetUniqueRoom(string server, string nick, RoomStateEvent callback, object state)
{
if (server == null)
throw new ArgumentNullException("server");
if (nick == null)
throw new ArgumentNullException("nick");
if (callback == null)
throw new ArgumentNullException("callback");
/*
<iq from='[email protected]/desktop'
id='unique1'
to='macbeth.shakespeare.lit'
type='get'>
<unique xmlns='http://jabber.org/protocol/muc#unique'/>
</iq>
*/
UniqueIQ iq = new UniqueIQ(m_stream.Document);
iq.To = server;
BeginIQ(iq, new IqCB(GotUnique), new UniqueState(nick, callback, state));
}