MessageAttributeInterface.java :  » UnTagged » sneakbox » com » jstun » core » attribute » Android Open Source

Android Open Source » UnTagged » sneakbox 
sneakbox » com » jstun » core » attribute » MessageAttributeInterface.java
/*
 * This file is part of JSTUN. 
 * 
 * Copyright (c) 2005 Thomas King <king@t-king.de> - All rights
 * reserved.
 * 
 * This software is licensed under either the GNU Public License (GPL),
 * or the Apache 2.0 license. Copies of both license agreements are
 * included in this distribution.
 */

package com.jstun.core.attribute;

public interface MessageAttributeInterface {
  public enum MessageAttributeType { MappedAddress, ResponseAddress, ChangeRequest, SourceAddress, ChangedAddress, Username, Password, MessageIntegrity, ErrorCode, UnknownAttribute, ReflectedFrom, Dummy };
  final static int MAPPEDADDRESS = 0x0001;
  final static int RESPONSEADDRESS = 0x0002;
  final static int CHANGEREQUEST = 0x0003;
  final static int SOURCEADDRESS = 0x0004;
  final static int CHANGEDADDRESS = 0x0005;
  final static int USERNAME = 0x0006;
  final static int PASSWORD = 0x0007;
  final static int MESSAGEINTEGRITY = 0x0008;
  final static int ERRORCODE = 0x0009;
  final static int UNKNOWNATTRIBUTE = 0x000a;
  final static int REFLECTEDFROM = 0x000b;
  final static int DUMMY = 0x0000;
}
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.