public synchronized void add ( int requestId , ReceiveListener rl , SendListener s ) { if ( TraceComponent . isAnyTracingEnabled ( ) && tc . isEntryEnabled ( ) ) SibTr . entry ( this , tc , "add" , new Object [ ] { "" + requestId , rl , s } ) ; if ( containsId ( requestId ) ) { if ( TraceComponent . isAnyTracingEnabled ( ) && tc . isDebugEnabled ( ) ) debugTraceTable ( "id (" + requestId + ") already in table" ) ; throw new SIErrorException ( nls . getFormattedMessage ( "REQIDTABLE_INTERNAL_SICJ0058" , null , "REQIDTABLE_INTERNAL_SICJ0058" ) ) ; // D226223 } RequestIdTableEntry newEntry = new RequestIdTableEntry ( requestId , rl , s ) ; table . put ( newEntry , newEntry ) ; if ( TraceComponent . isAnyTracingEnabled ( ) && tc . isEntryEnabled ( ) ) SibTr . exit ( this , tc , "add" ) ; }
Adds an entry to the request ID table using the specified request ID .