local.tomas.obex.api
Class ObexByteHeader

java.lang.Object
  extended by local.tomas.obex.api.ObexHeader
      extended by local.tomas.obex.api.ObexByteHeader

public class ObexByteHeader
extends ObexHeader


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

Field Detail

HEADER_TYPE

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

ObexByteHeader

public ObexByteHeader(int headerId,
                      int value)
Method Detail

getValue

public byte getValue()

sendBodyTo

public void sendBodyTo(ObexPacketBuilder builder)
                throws ObexException
Specified by:
sendBodyTo in class ObexHeader
Throws:
ObexException

getHeaderType

public int getHeaderType()
Specified by:
getHeaderType in class ObexHeader


Copyright © 2007 null. All Rights Reserved.