Package org.protocol.gtp.prime.messages

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

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

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

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

  public GtpPrimeRedirectionResponse(short cause) {
    super();
    this.getHeader().setMessageType(
        GtpPrime3gppConstants.GTP_PRIME_REDIRECTION_RESPONSE);
    this.addInformationElement(new GtpPrimeInformationElementTV(
        GtpPrime3gppConstants.GTP_PRIME_IET_CAUSE,
        cause));       
  }

  public GtpPrimeRedirectionResponse(GtpPrimeHeader header, byte[] message) {
    super(header, message);
  }
 
}
TOP

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

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.