GSP
Quick Navigator

Search Site

Unix VPS
A - Starter
B - Basic
C - Preferred
D - Commercial
MPS - Dedicated
Previous VPSs
* Sign Up! *

Support
Contact Us
Online Help
Handbooks
Domain Status
Man Pages

FAQ
Virtual Servers
Pricing
Billing
Technical

Network
Facilities
Connectivity
Topology Map

Miscellaneous
Server Agreement
Year 2038
Credits
 

USA Flag

 

 

Man Pages


Manual Reference Pages  -  PADRE::SYNC (3)

.ds Aq ’

NAME

Padre::Sync - Utility functions for handling remote Configuration Syncing

CONTENTS

DESCRIPTION

The Padre::Sync class contains logic for communicating with a remote Madre::Sync server. This class interacts with the Padre::Wx::Dialog::Sync class for user interface display.

METHODS

CWnew

The constructor returns a new Padre::Sync object, but you should normally access it via the main Padre object:



  my $manager = Padre->ide->config_sync;



First argument should be a Padre object.

CWmain

A convenience method to get to the main window.

CWconfig

A convenience method to get to the config object

CWua

A convenience method to get to the useragent object

CWregister

Attempts to register a user account with the information provided on the Sync server.

Parameters: a list of key value pairs to be interpreted as POST parameters

Returns error string if user state is already logged in or serverside error occurs.

CWlogin

Will log in to remote Sync server using given credentials. State will be updated if login successful.

CWlogout

If currently logged in, will log the Sync session out from the server. State will be updated.

CWserver_delete

Given a logged in session, will attempt to delete the config currently stored on the Sync server (if one currently exists). Will fail if not logged in.

CWlocal_to_server

Given a logged in session, will attempt to place the current local config to the Sync server.

CWserver_to_local

Given a logged in session, will replace the local config with what is stored on the server. TODO: is validation of config before replacement required?

CWenglish_status

Will return a string explaining current state of Sync dependent on $self->{state}

SEE ALSO

Padre, Padre::Config

COPYRIGHT & LICENSE

Copyright 2008-2013 The Padre development team as listed in Padre.pm.

This program is free software; you can redistribute it and/or modify it under the same terms as Perl 5 itself.

Search for    or go to Top of page |  Section 3 |  Main Index


perl v5.20.3 PADRE::SYNC (3) 2013-11-09

Powered by GSP Visit the GSP FreeBSD Man Page Interface.
Output converted with manServer 1.07.