All Downloads are FREE. Search and download functionalities are using the official Maven repository.

org.jdiameter.api.s13.events.JMEIdentityCheckRequest Maven / Gradle / Ivy

/*
 * TeleStax, Open Source Cloud Communications
 * Copyright 2011-2016, TeleStax Inc. and individual contributors
 * by the @authors tag.
 *
 * This program is free software: you can redistribute it and/or modify
 * under the terms of the GNU Affero General Public License as
 * published by the Free Software Foundation; either version 3 of
 * the License, or (at your option) any later version.
 *
 * This program is distributed in the hope that it will be useful,
 * but WITHOUT ANY WARRANTY; without even the implied warranty of
 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
 * GNU Affero General Public License for more details.
 *
 * You should have received a copy of the GNU Affero General Public License
 * along with this program.  If not, see 
 */

package org.jdiameter.api.s13.events;

import org.jdiameter.api.Avp;
import org.jdiameter.api.app.AppRequestEvent;

/**
 * The ECR command, indicated by the Command-Code field set to 324 and the 'R' bit set in the Command Flags field, is
 * sent by MME or SGSN to EIR to check the Mobile Equipment's identity status (e.g. to check that it has not been
 * stolen, or, to verify that it does not have faults).
 */
@SuppressWarnings("all") //3rd party lib
public interface JMEIdentityCheckRequest extends AppRequestEvent {

    String _SHORT_NAME = "ECR";
    String _LONG_NAME = "ME-Identity-Check-Request";
    int code = 324;

    Avp getTerminalInformationAvp();

    boolean hasIMEI();

    String getIMEI();

    boolean hasTgpp2MEID();

    byte[] getTgpp2MEID();

    boolean hasSoftwareVersion();

    String getSoftwareVersion();

    boolean isUserNameAVPPresent();

    String getUserName();
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy