How to set room types


how can i set room types (e.g. General, Private, Adult etc ) in open fire, and how can i query room list with types in smack.

Hi, i tried to set room types in room properties, but do not know how to query these properties at client side (smack). anybody will help me plz.