Package org.cipango.diameter

Examples of org.cipango.diameter.Type


    data.setGetIndex(buffer.getIndex());
    data.setPutIndex(data.getIndex() + dataLength);
   
    buffer.setGetIndex(buffer.getIndex() + (dataLength + 3 & -4));
   
    Type type = Dictionary.getInstance().getType(vendorId, code);
   
    if (type == null)
      type = Factory.newType("Unknown", vendorId, code, Common.__octetString);
   
    AVP avp = new AVP(type);
    // TODO flags
    avp.setValue(type.getDataFormat().decode(data));
   
    return avp; 
  }
View Full Code Here

TOP

Related Classes of org.cipango.diameter.Type

Copyright © 2018 www.massapicom. 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.