public MAPApplicationContext getApplicationContext() { return this.wrappedDialog.getApplicationContext(); }
public SccpAddress getLocalAddress(){ return this.wrappedDialog.getLocalAddress(); }
public SccpAddress getRemoteAddress(){ return this.wrappedDialog.getRemoteAddress(); }
public void onDialogRequest(org.restcomm.slee.resource.map.events.DialogRequest evt, ActivityContextInterface aci) { this.logger.info("New MAP Dialog. Received event MAPOpenInfo " + evt); this.logger.info("New MAP Dialog. Received MAPDialog=" + evt.getMAPDialog() + " LocalAddress=[" + evt.getMAPDialog().getLocalAddress() + "] RemoteAddress=[" + evt.getMAPDialog().getRemoteAddress() + "]"); }
this.tracer.fine(String.format("Rx : onDialogTimeout for DialogId=%d", mapDialog.getLocalDialogId())); mapDialog.keepAlive(); MAPDialogWrapper mapDialogWrapper = (MAPDialogWrapper) mapDialog.getUserObject(); DialogTimeout dt = new DialogTimeout(mapDialogWrapper); this.tracer .severe(String.format("Firing %s but MAPDialogWrapper userObject is null", dt.getEventTypeName())); mapDialog.release(); return; .getWrappedDialog().getLocalDialogId()));
this.tracer.fine(String.format("Received onDialogRequest id=%d ", mapDialog.getLocalDialogId())); MAPDialogActivityHandle activityHandle = new MAPDialogActivityHandle(mapDialog.getLocalDialogId()); MAPDialogWrapper mapDialogWrapper = null; } else { this.tracer.severe(String.format("Received onDialogRequest id=%d for unknown MAPDialog class=%s", mapDialog.getLocalDialogId(), mapDialog.getClass().getName())); return; mapDialog.setUserObject(mapDialogWrapper); this.startActivity(mapDialogWrapper); this.fireEvent(event.getEventTypeName(), mapDialogWrapper.getActivityHandle(), event, EventFlags.NO_FLAGS);
public Long getLocalDialogId() { return this.wrappedDialog.getLocalDialogId(); }
@Override public long getIdleTaskTimeout() { return this.wrappedDialog.getIdleTaskTimeout(); }
public void close(boolean arg0) throws MAPException { this.wrappedDialog.close(arg0); }
public void addEricssonData(AddressString arg0, AddressString arg1) { this.wrappedDialog.addEricssonData(arg0, arg1); }
public void abort(MAPUserAbortChoice arg0) throws MAPException { this.wrappedDialog.abort(arg0); }
public boolean cancelInvocation(Long arg0) throws MAPException { return this.wrappedDialog.cancelInvocation(arg0); }
public void closeDelayed(boolean prearrangedEnd) throws MAPException { this.wrappedDialog.closeDelayed(prearrangedEnd); }
private MAPDialogActivityHandle onEvent(String eventName, MAPDialogWrapper dw, MAPEvent event, int flags) { if (dw == null) { this.tracer.severe(String.format("Firing %s but MAPDialogWrapper userObject is null", eventName)); return null; } if (this.tracer.isFineEnabled()) { this.tracer.fine(String.format("Firing %s for DialogId=%d", eventName, dw.getWrappedDialog() .getLocalDialogId())); } this.fireEvent(eventName, dw.getActivityHandle(), event, flags); return dw.getActivityHandle(); }
if (ocValue == null) new MAPParsingComponentException("", MAPParsingComponentExceptionReason.UnrecognizedOperation); MAPApplicationContextName acn = mapDialog.getApplicationContext().getApplicationContextName(); int vers = mapDialog.getApplicationContext().getApplicationContextVersion().getVersion(); int ocValueInt = (int) (long) ocValue;
if (ocValue == null) new MAPParsingComponentException("", MAPParsingComponentExceptionReason.UnrecognizedOperation); MAPApplicationContextName acn = mapDialog.getApplicationContext().getApplicationContextName(); int vers = mapDialog.getApplicationContext().getApplicationContextVersion().getVersion(); int ocValueInt = (int) (long) ocValue;
if (ocValue == null) new MAPParsingComponentException("", MAPParsingComponentExceptionReason.UnrecognizedOperation); MAPApplicationContextName acn = mapDialog.getApplicationContext().getApplicationContextName(); int vers = mapDialog.getApplicationContext().getApplicationContextVersion().getVersion(); int ocValueInt = (int) (long) ocValue;
if (ocValue == null) new MAPParsingComponentException("", MAPParsingComponentExceptionReason.UnrecognizedOperation); MAPApplicationContextName acn = mapDialog.getApplicationContext().getApplicationContextName(); int vers = mapDialog.getApplicationContext().getApplicationContextVersion().getVersion(); int ocValueInt = (int) (long) ocValue;
if (ocValue == null) new MAPParsingComponentException("", MAPParsingComponentExceptionReason.UnrecognizedOperation); MAPApplicationContextName acn = mapDialog.getApplicationContext().getApplicationContextName(); int vers = mapDialog.getApplicationContext().getApplicationContextVersion().getVersion(); int ocValueInt = (int) (long) ocValue;
MAPApplicationContextName acn = mapDialog.getApplicationContext().getApplicationContextName(); switch (ocValueInt2) { case MAPOperationCode.registerSS: