InternalMessage.java :  » Network » adhoc-on-android » adhoc » aodv » pdu » Android Open Source

Android Open Source » Network » adhoc on android 
adhoc on android » adhoc » aodv » pdu » InternalMessage.java
package adhoc.aodv.pdu;

import adhoc.aodv.exception.BadPduFormatException;
import adhoc.etc.Debug;

public class InternalMessage extends AodvPDU{

  
  public InternalMessage(byte pduType, int destinationAddress){
    this.pduType = pduType;
    this.destAddress = destinationAddress;
  }
  
  
  @Override
  public void parseBytes(byte[] rawPdu) throws BadPduFormatException {
    Debug.print("DO NOT USE");
    
  }

  @Override
  public byte[] toBytes() {
    Debug.print("DO NOT USE");
    return null;
  }

}
java2s.com  | Contact Us | Privacy Policy
Copyright 2009 - 12 Demo Source and Support. All rights reserved.
All other trademarks are property of their respective owners.