I am writing a chatting application in Java with my servets are processing requests.
i have created a room and now i want to create one-to-one chat i.e. private chatting within the room.
when i send message to the room as,
Chat chat = muChatObj.createPrivateChat(String room@conference.myserver.com/nick, MessageListener listener)
{ public void processMessage(file:///D:/mandar/one-to-one/smack_3_0_4/smack_3_0_4/javadoc/org/jivesoftware/sm ack/Chat.html chat,
file:///D:/mandar/one-to-one/smack_3_0_4/smack_3_0_4/javadoc/org/jivesoftware/sm ack/packet/Message.html message) { //code }
});
but i didn’t get any reply from room and also message is not going to the second user.
please show me some way to proceed.
Thanks in advance for all sujestions.