Hubiquitus Android  0.6.1
Android client for hubiquitus protocol
org.hubiquitus.hapi.hStructures.HMessageOptions Class Reference

List of all members.

Public Member Functions

String getRef ()
void setRef (String ref)
String getConvid ()
void setConvid (String convid)
HMessagePriority getPriority ()
void setPriority (HMessagePriority priority)
long getRelevance ()
void setRelevance (long relevance)
Integer getRelevanceOffset ()
void setRelevanceOffset (Integer relevanceOffset)
Boolean getPersistent ()
void setPersistent (Boolean persistent)
HLocation getLocation ()
void setLocation (HLocation location)
String getAuthor ()
void setAuthor (String author)
JSONObject getHeaders ()
void setHeaders (JSONObject headers)
long getPublished ()
void setPublished (long published)
Integer getTimeout ()
void setTimeout (Integer timeout)

Detailed Description

Version:
0.6 hAPI MessageOption. For more info, see Hubiquitus reference

Member Function Documentation

Returns:
author of this message. NULL if undefined
Returns:
conversation id. NULL if undefined

The list of headers attached to this message.

Returns:
Headers. NULL if undefined

The geographical location to which the message refer.

Returns:
location. NULL if undefined

Persistent if false.

Returns:
persist message or not. NULL if undefined

If UNDEFINED, priority lower to 0.

Returns:
priority.

Date-time when the message is publish

Returns:
relevance. NULL if undefined
Returns:
The msgid of the message refered to

Date-time until which the message is considered as relevant.

Returns:
relevance. NULL if undefined

Time (in ms) to wait for a response before hAPI sends a timeout

Returns:
timeout. 0 if undefined.

You can use this option to indicate a duration in ms. If you use this parameter, it will override the relevance one by updating the date-time for the relevance of the hMessage.

Parameters:
relevanceOffset

The documentation for this class was generated from the following file:
 All Classes Functions Variables