[sync] SyncML Sync Subcommands

Anthony Mills amills at gascard.net
Sat Dec 20 11:45:25 PST 2003


Here are the classes for the Sync sub commands.  These files I put in
framework/RPC/RPC/syncml_command/sync.

Anthony
-------------- next part --------------
<?php

include_once 'Horde/RPC/syncml_state.php';

/**
 * The Horde_RPC_syncml_command class provides a SyncML implementation of the
 * Horde RPC system.
 *
 * $Horde: framework/RPC/RPC/syncml.php,v 1.6 2003/12/17 16:02:44 chuck Exp $
 *
 * Copyright 2003 Anthony Mills <amills at 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.
 *
 * @author  Anthony Mills <amills at pyramid6.com>
 * @version $Revision: 1.6 $
 * @since   Horde 3.0
 * @package Horde_RPC
 */
 
 /**
  * All variables are from the client standpoint.
  *
  *
  */
class Horde_RPC_syncml_command_sync_Add extends Horde_RPC_syncml_command_sync_Sync {
    
}

?>
-------------- next part --------------
<?php

include_once 'Horde/RPC/syncml_state.php';

/**
 * The Horde_RPC_syncml_command class provides a SyncML implementation of the
 * Horde RPC system.
 *
 * $Horde: framework/RPC/RPC/syncml.php,v 1.6 2003/12/17 16:02:44 chuck Exp $
 *
 * Copyright 2003 Anthony Mills <amills at 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.
 *
 * @author  Anthony Mills <amills at pyramid6.com>
 * @version $Revision: 1.6 $
 * @since   Horde 3.0
 * @package Horde_RPC
 */
 
 /**
  * All variables are from the client standpoint.
  *
  *
  */
class Horde_RPC_syncml_command_sync_Atomic extends Horde_RPC_syncml_command_sync_Sync {
    
}

?>
-------------- next part --------------
/*
 * ContentSyncElement.java
 *
 * Created on October 21, 2003, 11:13 PM
 */

package com.pyramid6.jsync.syncml.command.sync;

import com.pyramid6.content.*;

/**
 *
 * @author  anthony
 */
public abstract class ContentSyncElement extends SyncElement {

    protected Content content;
    
    protected String charset = "UTF-8";
    
    public String getCharset() {
        return charset;
    }
    
    public void setCharset(String charset) {
        this.charset = charset;
    }
    
    public Content getContent() {
        return content;
    }
    
    public void setContent(Content content) {
        this.content = content;
    }
    
}


More information about the sync mailing list