local.tomas.obex.api
Class ObexIntHeader

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

public class ObexIntHeader
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
ObexIntHeader(int headerId, java.util.Date value)
           
ObexIntHeader(int headerId, int value)
           
 
Method Summary
 int getHeaderType()
           
 int getValue()
           
 java.util.Date getValueAsTime()
           
protected  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

ObexIntHeader

public ObexIntHeader(int headerId,
                     int value)

ObexIntHeader

public ObexIntHeader(int headerId,
                     java.util.Date value)
Method Detail

getValue

public int getValue()

getValueAsTime

public java.util.Date getValueAsTime()

sendBodyTo

protected 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.