Package org.protocol.gtp.prime.messages

Source Code of org.protocol.gtp.prime.messages.GtpPrimeDataRecordTransferResponse

/**
*
*/
package org.protocol.gtp.prime.messages;

import org.protocol.gtp.prime.GtpPrimeHeader;
import org.protocol.gtp.prime.GtpPrimeInformationElement;
import org.protocol.gtp.prime.GtpPrimeMessage;
import org.protocol.gtp.prime.constants.GtpPrime3gppConstants;
import org.protocol.gtp.prime.iet.GtpPrimeInformationElementTV;

/**
* @author krychu
*
*/
public class GtpPrimeDataRecordTransferResponse extends GtpPrimeMessage {

  /**
   *
   */
  public GtpPrimeDataRecordTransferResponse(short cause) {
    super();
    this.getHeader().setMessageType(
        GtpPrime3gppConstants.GTP_PRIME_DATA_RECORD_TRANSFER_RESPONSE);
    this.addInformationElement(new GtpPrimeInformationElementTV(
        GtpPrime3gppConstants.GTP_PRIME_IET_CAUSE,
        cause));
  }

  /**
   * @param header
   * @param message
   */
  public GtpPrimeDataRecordTransferResponse(GtpPrimeHeader header,
      byte[] message) {
    super(header, message);
  }

}
TOP

Related Classes of org.protocol.gtp.prime.messages.GtpPrimeDataRecordTransferResponse

TOP
Copyright © 2018 www.massapi.com. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.