C# Class SimpleSyncStarter.Form1

Mostra file Open project: Sage/SData-Contracts

Public Methods

Method Description
Form1 ( ) : System

Protected Methods

Method Description
Dispose ( bool disposing ) : void

Clean up any resources being used.

Private Methods

Method Description
DeleteSyncSource ( string EndPoint, string trackingId ) : HttpStatusCode
DeleteSyncTarget ( string EndPoint, string trackingId ) : HttpStatusCode
Form1_Load ( object sender, EventArgs e ) : void
GetNextPagingUrl ( string responseFeed ) : string
GetPage ( string pageUrl, string &responsePayload ) : HttpStatusCode
GetPollingMillis ( string responseFeed ) : int
GetRunCounter ( ) : int
GetSyncDigest ( string EndPoint, string trackingId, string &responsePayload ) : HttpStatusCode
GetSyncSource ( string EndPoint, string trackingId, string &responsePayload ) : HttpStatusCode
GetSyncTarget ( string EndPoint, string trackingId, string &responsePayload ) : HttpStatusCode
InitializeComponent ( ) : void

Required method for Designer support - do not modify the contents of this method with the code editor.

PostSyncResults ( string EndPoint, DateTime runStamp, string requestPayload ) : HttpStatusCode
PostSyncResults ( string endpoint, string requestPayload ) : HttpStatusCode
PostSyncSource ( string EndPoint, string trackingId, string requestPayload, string &responsePayload ) : HttpStatusCode
PostSyncTarget ( string EndPoint, string trackingId, string requestPayload, string &responsePayload ) : HttpStatusCode
SaveResponse ( string xml, string fileName ) : void
SetRunCounter ( int newRunCounter ) : void
StartSync ( string EndPointSource, string EndPointTarget ) : void
btnClose_Click ( object sender, EventArgs e ) : void
btn_1to2_Click ( object sender, EventArgs e ) : void
btn_2to1_Click ( object sender, EventArgs e ) : void
doRequest ( HttpMethod httpMethod, string url, string contentType, string userName, string password, string requestPayload, string &responsePayload, bool responseStreamExpected ) : HttpStatusCode

Method Details

Dispose() protected method

Clean up any resources being used.
protected Dispose ( bool disposing ) : void
disposing bool true if managed resources should be disposed; otherwise, false.
return void

Form1() public method

public Form1 ( ) : System
return System