question: register a particular listener for a particular message type . more than one listener can be registered for each message type . concode_field_sep Message template concode_elem_sep MessageListener listener concode_elem_sep boolean DEBUG concode_elem_sep PhoenixSource source concode_elem_sep boolean DISPLAY_ERROR_MSGS concode_elem_sep Hashtable templateTbl concode_field_sep void deregisterListener concode_elem_sep void packetReceived concode_elem_sep int hashCode concode_elem_sep boolean equals concode_elem_sep void error
target: void function ( Message arg0 , MessageListener arg1 ) { Integer loc0 = new Integer ( arg0 . loc0 ( ) ) ; Vector loc1 = ( Vector ) templateTbl . get ( loc0 ) ; if ( loc1 == null ) { loc1 = new Vector ( ) ; } loc1 . addElement ( new msgTemplate ( arg0 , arg1 ) ) ; templateTbl . put ( loc0 , loc1 ) ; }