Chat function ( String arg0 , String arg1 , MessageListener arg2 ) { if ( arg1 == null ) { arg1 = nextID ( ) ; } Chat loc0 = threadChats . get ( arg1 ) ; if ( loc0 != null ) { throw new IllegalArgumentException ( "srini_string" ) ; } loc0 = createChat ( arg0 , arg1 , true ) ; loc0 . addMessageListener ( arg2 ) ; return loc0 ; }
creates a new chat using the specified thread id , then returns it . concode_field_sep Set<ChatManagerListener> chatManagerListeners concode_elem_sep Map<String,Chat> jidChats concode_elem_sep Map<PacketInterceptor,PacketFilter> interceptors concode_elem_sep Map<String,Chat> baseJidChats concode_elem_sep Connection connection concode_elem_sep String prefix concode_elem_sep Map<String,Chat> threadChats concode_elem_sep long id concode_field_sep String nextID concode_elem_sep Collection<ChatManagerListener> getChatListeners concode_elem_sep PacketCollector createPacketCollector concode_elem_sep void deliverMessage concode_elem_sep void addChatListener concode_elem_sep Chat getUserChat concode_elem_sep void sendMessage concode_elem_sep void removeChatListener concode_elem_sep void addOutgoingMessageInterceptor concode_elem_sep void addOutgoingMessageInterceptor concode_elem_sep Chat getThreadChat