Package rtpi.packets

Examples of rtpi.packets.SubcomponentReportInfo


    return;

  //System.out.println("Got RtcpiSubcomponentReportPacket: " + packet);
  LinkedList subcomponents = packet.getSubcomponentReportInfo();
 
  SubcomponentReportInfo info = null;
 
  long subID=0;
  int active=0;
  byte[] name=null;

  for(ListIterator iter=subcomponents.listIterator();iter.hasNext();) {
      info = (SubcomponentReportInfo) iter.next();
     
      subID = info.getSubcomponentID();
      active = info.getActive();
      name = info.getApplicationLevelName();

      //System.out.println("Active is: " + active);

      if (name==null && applicationLevelNames) {
    System.err.println("Rtpi: received SUBREP packet without application level names,");
View Full Code Here


      if (info2!=null) {
    if (!info2.timedOut((int)currentDeterministicTransmissionInterval*2)) {
        continue;
    }
      }     
      SubcomponentReportInfo srInfo = new SubcomponentReportInfo(subID.longValue(), 0, info.getApplicationLevelName());
      list.add(srInfo);     
  }

  for (Enumeration iter=localActiveSubcomponents.keys();iter.hasMoreElements();) {
      Long subID = (Long) iter.nextElement();
      info = (SubcomponentInfo) localActiveSubcomponents.get(subID);
      info2 = (SubcomponentInfo) remoteActiveSubcomponents.get(subID);
      if (info2!=null) {
    if (!info2.timedOut((int)currentDeterministicTransmissionInterval*2)) {
        continue;
    }
      }
      SubcomponentReportInfo srInfo = new SubcomponentReportInfo(subID.longValue(), 1, info.getApplicationLevelName());
      list.add(srInfo);     
  }

  if (list.size() == 0)
      return null;
View Full Code Here

TOP

Related Classes of rtpi.packets.SubcomponentReportInfo

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.