Type.registerNamespace('eTomatoWeb.WebService');
eTomatoWeb.WebService.Stock=function() {
eTomatoWeb.WebService.Stock.initializeBase(this);
this._timeout = 0;
this._userContext = null;
this._succeeded = null;
this._failed = null;
}
eTomatoWeb.WebService.Stock.prototype={
_get_path:function() {
 var p = this.get_path();
 if (p) return p;
 else return eTomatoWeb.WebService.Stock._staticInstance.get_path();},
InformationList:function(keyword,company,code,columnDelimiter,lineDelimiter,topCount,succeededCallback, failedCallback, userContext) {
return this._invoke(this._get_path(), 'InformationList',false,{keyword:keyword,company:company,code:code,columnDelimiter:columnDelimiter,lineDelimiter:lineDelimiter,topCount:topCount},succeededCallback,failedCallback,userContext); },
JongmokSearchWebService:function(flag,item,succeededCallback, failedCallback, userContext) {
return this._invoke(this._get_path(), 'JongmokSearchWebService',false,{flag:flag,item:item},succeededCallback,failedCallback,userContext); },
TSearchHitWebService:function(item_code,item_name,REMOTE_ADDR,HTTP_HOST,HTTP_REFERER,succeededCallback, failedCallback, userContext) {
return this._invoke(this._get_path(), 'TSearchHitWebService',false,{item_code:item_code,item_name:item_name,REMOTE_ADDR:REMOTE_ADDR,HTTP_HOST:HTTP_HOST,HTTP_REFERER:HTTP_REFERER},succeededCallback,failedCallback,userContext); },
GetRealTimeJisu:function(changes,succeededCallback, failedCallback, userContext) {
return this._invoke(this._get_path(), 'GetRealTimeJisu',false,{changes:changes},succeededCallback,failedCallback,userContext); },
BindInterestedItem:function(userid,cookie,succeededCallback, failedCallback, userContext) {
return this._invoke(this._get_path(), 'BindInterestedItem',false,{userid:userid,cookie:cookie},succeededCallback,failedCallback,userContext); }}
eTomatoWeb.WebService.Stock.registerClass('eTomatoWeb.WebService.Stock',Sys.Net.WebServiceProxy);
eTomatoWeb.WebService.Stock._staticInstance = new eTomatoWeb.WebService.Stock();
eTomatoWeb.WebService.Stock.set_path = function(value) { eTomatoWeb.WebService.Stock._staticInstance.set_path(value); }
eTomatoWeb.WebService.Stock.get_path = function() { return eTomatoWeb.WebService.Stock._staticInstance.get_path(); }
eTomatoWeb.WebService.Stock.set_timeout = function(value) { eTomatoWeb.WebService.Stock._staticInstance.set_timeout(value); }
eTomatoWeb.WebService.Stock.get_timeout = function() { return eTomatoWeb.WebService.Stock._staticInstance.get_timeout(); }
eTomatoWeb.WebService.Stock.set_defaultUserContext = function(value) { eTomatoWeb.WebService.Stock._staticInstance.set_defaultUserContext(value); }
eTomatoWeb.WebService.Stock.get_defaultUserContext = function() { return eTomatoWeb.WebService.Stock._staticInstance.get_defaultUserContext(); }
eTomatoWeb.WebService.Stock.set_defaultSucceededCallback = function(value) { eTomatoWeb.WebService.Stock._staticInstance.set_defaultSucceededCallback(value); }
eTomatoWeb.WebService.Stock.get_defaultSucceededCallback = function() { return eTomatoWeb.WebService.Stock._staticInstance.get_defaultSucceededCallback(); }
eTomatoWeb.WebService.Stock.set_defaultFailedCallback = function(value) { eTomatoWeb.WebService.Stock._staticInstance.set_defaultFailedCallback(value); }
eTomatoWeb.WebService.Stock.get_defaultFailedCallback = function() { return eTomatoWeb.WebService.Stock._staticInstance.get_defaultFailedCallback(); }
eTomatoWeb.WebService.Stock.set_path("/home/webservice/stock.asmx");
eTomatoWeb.WebService.Stock.InformationList= function(keyword,company,code,columnDelimiter,lineDelimiter,topCount,onSuccess,onFailed,userContext) {eTomatoWeb.WebService.Stock._staticInstance.InformationList(keyword,company,code,columnDelimiter,lineDelimiter,topCount,onSuccess,onFailed,userContext); }
eTomatoWeb.WebService.Stock.JongmokSearchWebService= function(flag,item,onSuccess,onFailed,userContext) {eTomatoWeb.WebService.Stock._staticInstance.JongmokSearchWebService(flag,item,onSuccess,onFailed,userContext); }
eTomatoWeb.WebService.Stock.TSearchHitWebService= function(item_code,item_name,REMOTE_ADDR,HTTP_HOST,HTTP_REFERER,onSuccess,onFailed,userContext) {eTomatoWeb.WebService.Stock._staticInstance.TSearchHitWebService(item_code,item_name,REMOTE_ADDR,HTTP_HOST,HTTP_REFERER,onSuccess,onFailed,userContext); }
eTomatoWeb.WebService.Stock.GetRealTimeJisu= function(changes,onSuccess,onFailed,userContext) {eTomatoWeb.WebService.Stock._staticInstance.GetRealTimeJisu(changes,onSuccess,onFailed,userContext); }
eTomatoWeb.WebService.Stock.BindInterestedItem= function(userid,cookie,onSuccess,onFailed,userContext) {eTomatoWeb.WebService.Stock._staticInstance.BindInterestedItem(userid,cookie,onSuccess,onFailed,userContext); }
