[ Index ]
 

Code source de Horde 3.1.3

Accédez au Source d'autres logiciels libresSoutenez Angelica Josefina !

title

Body

[fermer]

/lib/SyncML/ -> State.php (sommaire)

(pas de description)

Poids: 445 lignes (10 kb)
Inclus ou requis:0 fois
Référencé: 0 fois
Nécessite: 0 fichiers

Définit 1 class

SyncML_State:: (39 méthodes):
  SyncML_State()
  setDeviceInfo()
  getDeviceInfo()
  getLocName()
  getSourceURI()
  getTargetURI()
  getVersion()
  getMsgID()
  setWBXML()
  isWBXML()
  setMaxMsgSize()
  getMaxMsgSize()
  setMsgID()
  setLocName()
  setPassword()
  setSourceURI()
  setTargetURI()
  setVersion()
  setSessionID()
  isAuthorized()
  setSync()
  getSync()
  getURI()
  getURIMeta()
  getURIDevInf()
  setClientAnchorNext()
  setServerAnchorLast()
  setServerAnchorNext()
  getClientAnchorNext()
  getServerAnchorNext()
  getServerAnchorLast()
  log()
  getLog()
  getSyncIdentifier()
  getDevice()
  getExpectedResultType()
  setExpectedResultType()
  hasPendingElements()
  getPendingSyncs()


Classe: SyncML_State  - X-Ref

The SyncML_State class provides a SyncML state object.

$Horde: framework/SyncML/SyncML/State.php,v 1.17.2.8 2006/01/01 21:28:36 jan Exp $

Copyright 2003-2006 Anthony Mills <amills@pyramid6.com>

See the enclosed file COPYING for license information (LGPL). If you
did not receive this file, see http://www.fsf.org/copyleft/lgpl.html.

SyncML_State($sourceURI, $locName, $sessionID, $password = false)   X-Ref
Creates a new instance of SyncML_State.


setDeviceInfo($di)   X-Ref
Pas de description

getDeviceInfo()   X-Ref
Pas de description

getLocName()   X-Ref
Pas de description

getSourceURI()   X-Ref
Pas de description

getTargetURI()   X-Ref
Pas de description

getVersion()   X-Ref
Pas de description

getMsgID()   X-Ref
Pas de description

setWBXML($wbxml)   X-Ref
Pas de description

isWBXML()   X-Ref
Pas de description

setMaxMsgSize($s)   X-Ref
Pas de description

getMaxMsgSize()   X-Ref
Pas de description

setMsgID($msgID)   X-Ref
Setter for property msgID.

param: string $msgID  New value of property msgID.

setLocName($locName)   X-Ref
Setter for property locName.

param: string $locName  New value of property locName.

setPassword($password)   X-Ref
Pas de description

setSourceURI($sourceURI)   X-Ref
Pas de description

setTargetURI($targetURI)   X-Ref
Pas de description

setVersion($version)   X-Ref
Pas de description

setSessionID($sessionID)   X-Ref
Pas de description

isAuthorized()   X-Ref
Pas de description

setSync($target, &$sync)   X-Ref
Pas de description

getSync($target)   X-Ref
Pas de description

getURI()   X-Ref
Pas de description

getURIMeta()   X-Ref
Pas de description

getURIDevInf()   X-Ref
Pas de description

setClientAnchorNext($type, $a)   X-Ref
Pas de description

setServerAnchorLast($type, $a)   X-Ref
Pas de description

setServerAnchorNext($type, $a)   X-Ref
Pas de description

getClientAnchorNext($type)   X-Ref
Pas de description

getServerAnchorNext($type)   X-Ref
Pas de description

getServerAnchorLast($type)   X-Ref
Pas de description

log($topic)   X-Ref
The log simply counts the entries for each topic.


getLog()   X-Ref
The Log is an array where the key is the event name and the
value says how often this event occured.


getSyncIdentifier()   X-Ref
Returns an identifier used to identify the sync device in the
map. Currently "locname:sourceURI".


getDevice()   X-Ref
Pas de description

getExpectedResultType($cmdRef)   X-Ref
Returns the expected result type for a Results tag, used to redirect the
incoming command somewhere special.  For example, if we have requested
device info, the Results tag should be sent to the Put command so we can
read it in.

Clears the hash of this Command Reference before returning a value.

param: integer $cmdRef  The CmdRef of the incoming command.
return: string  The command type to redirect to, or

setExpectedResultType($cmdID, $cmdType)   X-Ref
Sets up a command redirection for a future Result command.

param: integer $cmdID    The CmdID of the command we are sending to
param: string  $cmdType  The type of command to redirect to when

hasPendingElements()   X-Ref
Check if there are any pending elements that have not been sent to due
to message sitze restrictions. These will be sent int the next msg.


getPendingSyncs()   X-Ref
Returns all syncs which have pending elements left.
Returns an array of TargetLocURIs which can be used
as a key in getSync calls.




Généré le : Sun Feb 25 18:01:28 2007 par Balluche grâce à PHPXref 0.7