private void dumpClientConversation ( IncidentStream is , Conversation conv ) throws SIException { // Get the conversation state ClientConversationState convState = ( ClientConversationState ) conv . getAttachment ( ) ; SICoreConnection siConn = convState . getSICoreConnection ( ) ; if ( siConn == null ) { is . writeLine ( " ** No SICoreConnection in ConversationState **" , "(Conversation is initializing?)" ) ; } else { is . writeLine ( " Connected using: " , convState . getCommsConnection ( ) ) ; is . writeLine ( " Connected to ME: " , siConn . getMeName ( ) + " [" + siConn . getMeUuid ( ) + "]" ) ; is . writeLine ( " Resolved UserId: " , siConn . getResolvedUserid ( ) ) ; is . writeLine ( " ME is version " , siConn . getApiLevelDescription ( ) ) ; // Get the proxy queue group ProxyQueueConversationGroupImpl pqgroup = ( ProxyQueueConversationGroupImpl ) convState . getProxyQueueConversationGroup ( ) ; if ( pqgroup == null ) { is . writeLine ( " Number of proxy queues found" , "0" ) ; } else { Map map = pqgroup . getProxyQueues ( ) ; // Clone it Map idToProxyQueueMap = ( Map ) ( ( HashMap ) map ) . clone ( ) ; is . writeLine ( " Number of proxy queues found" , idToProxyQueueMap . size ( ) ) ; for ( Iterator i2 = idToProxyQueueMap . values ( ) . iterator ( ) ; i2 . hasNext ( ) ; ) { ProxyQueue pq = ( ProxyQueue ) i2 . next ( ) ; is . writeLine ( " " , pq ) ; } } // Lets also introspect the details of the conversation state is . introspectAndWriteLine ( "Introspection of the conversation state:" , convState ) ; } }
This method dumps the particulars of a particular client conversation .