local.tomas.obex.api
Class ObexHeader

java.lang.Object
  extended by local.tomas.obex.api.ObexHeader
Direct Known Subclasses:
ObexByteArrayHeader, ObexByteHeader, ObexIntHeader, ObexUnicodeHeader

public abstract class ObexHeader
extends java.lang.Object


Field Summary
static int APP_PARAMETERS
           
static int AUTH_CHALLENGE
           
static int AUTH_RESPONSE
           
static int BODY_CHUNK
           
static int BODY_END
           
static int CONNECTION_ID
           
static int COUNT
           
static int DESCRIPTION
           
static int HTTP
           
static int LENGTH
           
static int NAME
           
static int OBJECT_CLASS
           
static int TARGET
           
static int TIME
           
static int TYPE
           
static int WHO
           
 
Constructor Summary
protected ObexHeader(int headerId)
           
 
Method Summary
abstract  int getHeaderType()
           
 int getId()
           
protected abstract  void sendBodyTo(ObexPacketBuilder builder)
           
 void sendTo(ObexPacketBuilder builder)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

COUNT

public static final int COUNT
See Also:
Constant Field Values

NAME

public static final int NAME
See Also:
Constant Field Values

TYPE

public static final int TYPE
See Also:
Constant Field Values

LENGTH

public static final int LENGTH
See Also:
Constant Field Values

TIME

public static final int TIME
See Also:
Constant Field Values

DESCRIPTION

public static final int DESCRIPTION
See Also:
Constant Field Values

TARGET

public static final int TARGET
See Also:
Constant Field Values

HTTP

public static final int HTTP
See Also:
Constant Field Values

BODY_CHUNK

public static final int BODY_CHUNK
See Also:
Constant Field Values

BODY_END

public static final int BODY_END
See Also:
Constant Field Values

WHO

public static final int WHO
See Also:
Constant Field Values

CONNECTION_ID

public static final int CONNECTION_ID
See Also:
Constant Field Values

APP_PARAMETERS

public static final int APP_PARAMETERS
See Also:
Constant Field Values

AUTH_CHALLENGE

public static final int AUTH_CHALLENGE
See Also:
Constant Field Values

AUTH_RESPONSE

public static final int AUTH_RESPONSE
See Also:
Constant Field Values

OBJECT_CLASS

public static final int OBJECT_CLASS
See Also:
Constant Field Values
Constructor Detail

ObexHeader

protected ObexHeader(int headerId)
Method Detail

getId

public int getId()

sendTo

public void sendTo(ObexPacketBuilder builder)
            throws ObexException
Throws:
ObexException

sendBodyTo

protected abstract void sendBodyTo(ObexPacketBuilder builder)
                            throws ObexException
Throws:
ObexException

getHeaderType

public abstract int getHeaderType()


Copyright © 2007 null. All Rights Reserved.