ExampleMessage.java :  » Network » kayao » kayao » client » network » message » Android Open Source

Android Open Source » Network » kayao 
kayao » kayao » client » network » message » ExampleMessage.java
package kayao.client.network.message;


public class ExampleMessage extends Message {
  private static final int RETRIES = 1;
  private static final int TIMEOUT_LENGTH_MILLIS = 2000;
  private static final int PRIORITY = PRIORITY_LOW;
  
  public ExampleMessage(String targetAddress) {
    super(targetAddress, RETRIES, TIMEOUT_LENGTH_MILLIS, PRIORITY);
  }

  @Override
  public void createPacketData() {
    // TODO Auto-generated method stub
  }
  
  public static void processPacketData(byte[] data) {
    // TODO
  }
  @Override
  public String type() {
    // TODO Auto-generated method stub
    return "Example";
  }
}
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.