Type.registerNamespace('gw_new.WS');
gw_new.WS.MatchEvents=function() {
gw_new.WS.MatchEvents.initializeBase(this);
this._timeout = 0;
this._userContext = null;
this._succeeded = null;
this._failed = null;
}
gw_new.WS.MatchEvents.prototype={
_get_path:function() {
 var p = this.get_path();
 if (p) return p;
 else return gw_new.WS.MatchEvents._staticInstance.get_path();},
GetLatestTime:function(timestamp,succeededCallback, failedCallback, userContext) {
/// <param name="timestamp" type="Number">System.Int64</param>
/// <param name="succeededCallback" type="Function" optional="true" mayBeNull="true"></param>
/// <param name="failedCallback" type="Function" optional="true" mayBeNull="true"></param>
/// <param name="userContext" optional="true" mayBeNull="true"></param>
return this._invoke(this._get_path(), 'GetLatestTime',false,{timestamp:timestamp},succeededCallback,failedCallback,userContext); }}
gw_new.WS.MatchEvents.registerClass('gw_new.WS.MatchEvents',Sys.Net.WebServiceProxy);
gw_new.WS.MatchEvents._staticInstance = new gw_new.WS.MatchEvents();
gw_new.WS.MatchEvents.set_path = function(value) {
gw_new.WS.MatchEvents._staticInstance.set_path(value); }
gw_new.WS.MatchEvents.get_path = function() { 
/// <value type="String" mayBeNull="true">The service url.</value>
return gw_new.WS.MatchEvents._staticInstance.get_path();}
gw_new.WS.MatchEvents.set_timeout = function(value) {
gw_new.WS.MatchEvents._staticInstance.set_timeout(value); }
gw_new.WS.MatchEvents.get_timeout = function() { 
/// <value type="Number">The service timeout.</value>
return gw_new.WS.MatchEvents._staticInstance.get_timeout(); }
gw_new.WS.MatchEvents.set_defaultUserContext = function(value) { 
gw_new.WS.MatchEvents._staticInstance.set_defaultUserContext(value); }
gw_new.WS.MatchEvents.get_defaultUserContext = function() { 
/// <value mayBeNull="true">The service default user context.</value>
return gw_new.WS.MatchEvents._staticInstance.get_defaultUserContext(); }
gw_new.WS.MatchEvents.set_defaultSucceededCallback = function(value) { 
 gw_new.WS.MatchEvents._staticInstance.set_defaultSucceededCallback(value); }
gw_new.WS.MatchEvents.get_defaultSucceededCallback = function() { 
/// <value type="Function" mayBeNull="true">The service default succeeded callback.</value>
return gw_new.WS.MatchEvents._staticInstance.get_defaultSucceededCallback(); }
gw_new.WS.MatchEvents.set_defaultFailedCallback = function(value) { 
gw_new.WS.MatchEvents._staticInstance.set_defaultFailedCallback(value); }
gw_new.WS.MatchEvents.get_defaultFailedCallback = function() { 
/// <value type="Function" mayBeNull="true">The service default failed callback.</value>
return gw_new.WS.MatchEvents._staticInstance.get_defaultFailedCallback(); }
gw_new.WS.MatchEvents.set_path("/WS/MatchEvents.asmx");
gw_new.WS.MatchEvents.GetLatestTime= function(timestamp,onSuccess,onFailed,userContext) {
/// <param name="timestamp" type="Number">System.Int64</param>
/// <param name="succeededCallback" type="Function" optional="true" mayBeNull="true"></param>
/// <param name="failedCallback" type="Function" optional="true" mayBeNull="true"></param>
/// <param name="userContext" optional="true" mayBeNull="true"></param>
gw_new.WS.MatchEvents._staticInstance.GetLatestTime(timestamp,onSuccess,onFailed,userContext); }
