/* 400 */ oldRenderingID = this.remoteImage.handleEvent(opID, idx, shapeState, oldSrc);
/* */ }
/* */ catch (RemoteException re)
/* */ {
/* 406 */ String message = JaiI18N.getString("RMIServerProxy7");
/* 407 */ this.listener.errorOccurred(message, new RemoteImagingException(message, re), this, false);
/* */ }
/* */
/* 414 */ oldRMISP.id = oldRenderingID;
/* 415 */ this.id = opID;
/* */ }
/* */ else
/* */ {
/* 426 */ Object oldValue = null; Object newValue = null;
/* */
/* 428 */ if (propName.equals("operationname"))
/* */ {
/* 430 */ oldValue = event.getOldValue();
/* 431 */ newValue = event.getNewValue();
/* */ }
/* 433 */ else if (propName.equals("parameterblock"))
/* */ {
/* 435 */ ParameterBlock oldPB = (ParameterBlock)event.getOldValue();
/* 436 */ Vector oldSrcs = oldPB.getSources();
/* 437 */ oldPB.removeSources();
/* */
/* 439 */ ParameterBlock newPB = (ParameterBlock)event.getNewValue();
/* 440 */ Vector newSrcs = newPB.getSources();
/* 441 */ newPB.removeSources();
/* */
/* 444 */ JAIRMIUtil.checkClientParameters(oldPB, this.serverName);
/* 445 */ JAIRMIUtil.checkClientParameters(newPB, this.serverName);
/* */
/* 447 */ oldPB.setSources(JAIRMIUtil.replaceSourcesWithId(oldSrcs, this.serverName));
/* */
/* 449 */ newPB.setSources(JAIRMIUtil.replaceSourcesWithId(newSrcs, this.serverName));
/* */
/* 452 */ oldValue = oldPB;
/* 453 */ newValue = newPB;
/* */ }
/* 455 */ else if (propName.equals("sources"))
/* */ {
/* 457 */ Vector oldSrcs = (Vector)event.getOldValue();
/* 458 */ Vector newSrcs = (Vector)event.getNewValue();
/* */
/* 460 */ oldValue = JAIRMIUtil.replaceSourcesWithId(oldSrcs, this.serverName);
/* */
/* 462 */ newValue = JAIRMIUtil.replaceSourcesWithId(newSrcs, this.serverName);
/* */ }
/* 465 */ else if (propName.equals("parameters"))
/* */ {
/* 467 */ Vector oldParameters = (Vector)event.getOldValue();
/* 468 */ Vector newParameters = (Vector)event.getNewValue();
/* */
/* 471 */ JAIRMIUtil.checkClientParameters(oldParameters, this.serverName);
/* 472 */ JAIRMIUtil.checkClientParameters(newParameters, this.serverName);
/* */
/* 474 */ oldValue = oldParameters;
/* 475 */ newValue = newParameters;
/* */ }
/* 477 */ else if (propName.equals("renderinghints"))
/* */ {
/* 479 */ RenderingHints oldRH = (RenderingHints)event.getOldValue();
/* 480 */ RenderingHints newRH = (RenderingHints)event.getNewValue();
/* */
/* 482 */ oldValue = SerializerFactory.getState(oldRH, null);
/* 483 */ newValue = SerializerFactory.getState(newRH, null);
/* */ } else {
/* 485 */ throw new RemoteImagingException(JaiI18N.getString("RMIServerProxy4"));
/* */ }
/* */
/* 489 */ Long oldRenderingID = null;
/* */ try
/* */ {
/* 492 */ oldRenderingID = this.remoteImage.handleEvent(opID, propName, oldValue, newValue);
/* */
/* 497 */ this.remoteImage.incrementRefCount(oldRenderingID);
/* */ } catch (RemoteException re) {
/* 499 */ String message = JaiI18N.getString("RMIServerProxy7");
/* 500 */ this.listener.errorOccurred(message, new RemoteImagingException(message, re), this, false);
/* */ }
/* */
/* 506 */ oldRMISP.id = oldRenderingID;
/* 507 */ this.id = opID;
/* */ }