Examples of GtpPrimeMessage


Examples of org.protocol.gtp.prime.GtpPrimeMessage

  public GtpPrimeRedirectionRequest(GtpPrimeHeader header, byte[] message) {
    super(header,message)
  }
 
  public GtpPrimeMessage getResponse() {
    GtpPrimeMessage msg = GtpPrimeMessageFactory.createRedirectionResponseMessage(GtpPrime3gppConstants.GTP_PRIME_IET_CAUSE_REQUEST_ACCEPTED);
    msg.getHeader().setSequenceNumber(this.getHeader().getSequenceNumber()+1);
    return msg;   
  }
View Full Code Here

Examples of org.protocol.gtp.prime.GtpPrimeMessage

  public GtpPrimeNodeAliveRequest(GtpPrimeHeader header, byte[] message) {
    super(header, message);
  }
 
  public GtpPrimeMessage getResponse() {
    GtpPrimeMessage msg = GtpPrimeMessageFactory.createNodeAliveResponseMessage();
    msg.getHeader().setSequenceNumber(this.getHeader().getSequenceNumber()+1);
    return msg;   
  }
View Full Code Here

Examples of org.protocol.gtp.prime.GtpPrimeMessage

 
    public void messageReceived(ChannelHandlerContext ctx, MessageEvent event)
  throws Exception
    {
      Object msg = event.getMessage();
      GtpPrimeMessage response = null;
      if (msg instanceof GtpPrimeEchoRequest)
      {
        response = handleGtpPrimeMessage((GtpPrimeEchoRequest)msg);       
      }
      if (msg instanceof GtpPrimeNodeAliveRequest)
View Full Code Here

Examples of org.protocol.gtp.prime.GtpPrimeMessage

  public GtpPrimeEchoRequest(GtpPrimeHeader header, byte[] message) {
    super(header,message)
  }
 
  public GtpPrimeMessage getResponse(short restartTimer) {
    GtpPrimeMessage msg = GtpPrimeMessageFactory.createEchoResponseMessage(restartTimer);
    msg.getHeader().setSequenceNumber(this.getHeader().getSequenceNumber()+1);
    return msg;   
  }
View Full Code Here
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.