org.mobicents.protocols.ss7.map.api.errors.MAPErrorMessage Java Examples

The following examples show how to use org.mobicents.protocols.ss7.map.api.errors.MAPErrorMessage. You can vote up the ones you like or vote down the ones you don't like, and go to the original project or source file by following the links above each example. You may check out the related API usage on the sidebar.
Example #1
Source File: MobileCoreNetworkInterfaceSbb.java    From gmlc with GNU Affero General Public License v3.0 5 votes vote down vote up
public void onErrorComponent(ErrorComponent event, ActivityContextInterface aci) {
  if (this.logger.isFineEnabled()) {
    this.logger.fine("\nReceived onErrorComponent = " + event);
  } else {
    this.logger.severe("\nReceived onErrorComponent = " + event);
  }

  MAPErrorMessage mapErrorMessage = event.getMAPErrorMessage();
  long error_code = mapErrorMessage.getErrorCode().longValue();

  this.handleLocationResponse(
      (error_code == MAPErrorCode.unknownSubscriber ? MLPResponse.MLPResultType.UNKNOWN_SUBSCRIBER
          : MLPResponse.MLPResultType.SYSTEM_FAILURE), null, "ReturnError: " + String.valueOf(error_code) + " : "
          + event.getMAPErrorMessage());
}
 
Example #2
Source File: SS7Honeypot.java    From SigFW with GNU Affero General Public License v3.0 4 votes vote down vote up
@Override
public void onErrorComponent(MAPDialog mapDialog, Long invokeId, MAPErrorMessage mapErrorMessage) {
    logger.error(String.format("onErrorComponent for Dialog=%d and invokeId=%d MAPErrorMessage=%s",
            mapDialog.getLocalDialogId(), invokeId, mapErrorMessage));
}
 
Example #3
Source File: SS7Firewall.java    From SigFW with GNU Affero General Public License v3.0 4 votes vote down vote up
@Override
public void onErrorComponent(MAPDialog mapDialog, Long invokeId, MAPErrorMessage mapErrorMessage) {
    logger.error(String.format("onErrorComponent for Dialog=%d and invokeId=%d MAPErrorMessage=%s",
            mapDialog.getLocalDialogId(), invokeId, mapErrorMessage));
}
 
Example #4
Source File: SS7Server.java    From SigFW with GNU Affero General Public License v3.0 4 votes vote down vote up
@Override
public void onErrorComponent(MAPDialog mapDialog, Long invokeId, MAPErrorMessage mapErrorMessage) {
    logger.error(String.format("onErrorComponent for Dialog=%d and invokeId=%d MAPErrorMessage=%s",
            mapDialog.getLocalDialogId(), invokeId, mapErrorMessage));
}
 
Example #5
Source File: ProvideSubscriberInformationResp.java    From SigPloit with MIT License 4 votes vote down vote up
public void onErrorComponent(MAPDialog mapDialog, Long invokeId, MAPErrorMessage mapErrorMessage) {
    logger.error(String.format("onErrorComponent for Dialog=%d and invokeId=%d MAPErrorMessage=%s",
            mapDialog.getLocalDialogId(), invokeId, mapErrorMessage));
}
 
Example #6
Source File: SendRoutingInfoResp.java    From SigPloit with MIT License 4 votes vote down vote up
public void onErrorComponent(MAPDialog mapDialog, Long invokeId, MAPErrorMessage mapErrorMessage) {
    logger.error(String.format("onErrorComponent for Dialog=%d and invokeId=%d MAPErrorMessage=%s",
            mapDialog.getLocalDialogId(), invokeId, mapErrorMessage));
}
 
Example #7
Source File: AnyTimeInterrogationResp.java    From SigPloit with MIT License 4 votes vote down vote up
public void onErrorComponent(MAPDialog mapDialog, Long invokeId, MAPErrorMessage mapErrorMessage) {
    logger.error(String.format("onErrorComponent for Dialog=%d and invokeId=%d MAPErrorMessage=%s",
            mapDialog.getLocalDialogId(), invokeId, mapErrorMessage));
}
 
Example #8
Source File: SriSMResp.java    From SigPloit with MIT License 4 votes vote down vote up
public void onErrorComponent(MAPDialog mapDialog, Long invokeId, MAPErrorMessage mapErrorMessage) {
    logger.error(String.format("onErrorComponent for Dialog=%d and invokeId=%d MAPErrorMessage=%s",
            mapDialog.getLocalDialogId(), invokeId, mapErrorMessage));
}
 
Example #9
Source File: SendRoutingInfoForGPRS.java    From SigPloit with MIT License 4 votes vote down vote up
public void onErrorComponent(MAPDialog mapDialog, Long invokeId, MAPErrorMessage mapErrorMessage) {
    logger.error(String.format("onErrorComponent for Dialog=%d and invokeId=%d MAPErrorMessage=%s",
            mapDialog.getLocalDialogId(), invokeId, mapErrorMessage));
}
 
Example #10
Source File: SendIMSIResp.java    From SigPloit with MIT License 4 votes vote down vote up
public void onErrorComponent(MAPDialog mapDialog, Long invokeId, MAPErrorMessage mapErrorMessage) {
    logger.error(String.format("onErrorComponent for Dialog=%d and invokeId=%d MAPErrorMessage=%s",
            mapDialog.getLocalDialogId(), invokeId, mapErrorMessage));
}
 
Example #11
Source File: UpdateLocationResp.java    From SigPloit with MIT License 4 votes vote down vote up
public void onErrorComponent(MAPDialog mapDialog, Long invokeId, MAPErrorMessage mapErrorMessage) {
    logger.error(String.format("onErrorComponent for Dialog=%d and invokeId=%d MAPErrorMessage=%s",
            mapDialog.getLocalDialogId(), invokeId, mapErrorMessage));
}
 
Example #12
Source File: Client.java    From gmlc with GNU Affero General Public License v3.0 4 votes vote down vote up
@Override
public void onErrorComponent(MAPDialog arg0, Long arg1, MAPErrorMessage arg2) {
  // TODO Auto-generated method stub

}
 
Example #13
Source File: Server.java    From gmlc with GNU Affero General Public License v3.0 2 votes vote down vote up
public void onErrorComponent(MAPDialog arg0, Long arg1, MAPErrorMessage arg2) {
  // TODO Auto-generated method stub

}
 
Example #14
Source File: ClientServer.java    From gmlc with GNU Affero General Public License v3.0 2 votes vote down vote up
public void onErrorComponent(MAPDialog arg0, Long arg1, MAPErrorMessage arg2) {
  // TODO Auto-generated method stub

}