Commit 32d13316 by 王欣伟

ice接口开发完成

1 parent 129d98de
Showing 290 changed files with 4794 additions and 5 deletions
......@@ -12,22 +12,46 @@
<artifactId>ne-shield-devicemonitor</artifactId>
<properties>
<neshield.common.version>1.0-SNAPSHOT</neshield.common.version>
<neshield.devicemonitor.api.version>1.0-SNAPSHOT</neshield.devicemonitor.api.version>
<ice.client.version>3.5.1</ice.client.version>
</properties>
<dependencies>
<dependency>
<groupId>com.glsx</groupId>
<artifactId>rest-admin-alliance</artifactId>
</dependency>
<dependency>
<groupId>com.glsx</groupId>
<artifactId>glsx-ne-shield-common</artifactId>
<version>${neshield.common.version}</version>
<scope>compile</scope>
</dependency>
<!-- ice -->
<dependency>
<groupId>Ice</groupId>
<artifactId>Ice</artifactId>
<version>${ice.client.version}</version>
</dependency>
<!-- devicemonitor-api -->
<dependency>
<groupId>com.glsx</groupId>
<artifactId>rest-admin-mybatis</artifactId>
<artifactId>ne-shield-devicemonitor-api</artifactId>
<version>${neshield.devicemonitor.api.version}</version>
</dependency>
<!-- swagger -->
<dependency>
<groupId>com.glsx</groupId>
<artifactId>glsx-ne-shield-common</artifactId>
<version>1.0-SNAPSHOT</version>
<scope>compile</scope>
<artifactId>rest-admin-swagger2</artifactId>
<version>${neshield.common.version}</version>
</dependency>
</dependencies>
<build>
......
......@@ -23,7 +23,7 @@ import static java.util.TimeZone.getTimeZone;
@EnableFeignClients(basePackages = {"cn.com.glsx.*.api"})
@EnableTransactionManagement
@EnableMBeanExport(registration = RegistrationPolicy.IGNORE_EXISTING)
@SpringBootApplication(scanBasePackages = {"cn.com.glsx.admin", "cn.com.glsx.auth"})
@SpringBootApplication(scanBasePackages = {"cn.com.glsx.devicemonitor", "cn.com.glsx.auth"})
public class Application {
public static void main(String[] args) {
......
package cn.com.glsx.devicemonitor.common;
import org.apache.commons.lang.StringUtils;
/**
* @author wangxw
* @version 1.0.0
* @ClassName BussinessExceptionEnum.java
* @description: 业务异常 信息
*
* --- 错误码规则:11(开头) + 11(开发者编号) + 0001(错误码编号)
* 1、项目标识:开头两位
* 2、开发者编号:两位
* 3、业务错误信息:4位
*
* eg:11110001
*
* @createTime 2021年05月21日 09:30:00
*/
public enum BussinessExceptionEnum {
UNSUPORT_DEVICE("11110001", "未支持的设备类型");
/**
* 错误码
*/
private String code;
/**
* 错误描述
*/
private String message;
BussinessExceptionEnum() {
}
BussinessExceptionEnum(String code, String message) {
this.code = code;
this.message = message;
}
public String getCode() {
return code;
}
public String getMessage() {
return message;
}
/**
* 通过编码获取异常信息
* @param code
* @return
*/
public BussinessExceptionEnum findByCode(String code) {
if (StringUtils.isEmpty(code)) {
return null;
}
BussinessExceptionEnum[] exceptionEnumArray = BussinessExceptionEnum.values();
for (int i = 0; i < exceptionEnumArray.length; i++) {
BussinessExceptionEnum bussinessExceptionEnum = exceptionEnumArray[i];
if (bussinessExceptionEnum.code.equals(code)) {
return bussinessExceptionEnum;
}
}
return null;
}
}
package cn.com.glsx.devicemonitor.config;
import lombok.Data;
import org.springframework.boot.context.properties.ConfigurationProperties;
import org.springframework.stereotype.Component;
/**
* @author wangxw
* @version 1.0.0
* @ClassName IceProperties.java
* @description: ${description}
* @createTime 2021年05月20日 13:53:00
*/
@Data
@Component
@ConfigurationProperties("ice.server")
public class IceProperties {
/**
* ice服务 普通超时时间
*/
private Integer iceLowTimeout;
/**
* ice服务 大批量数据超时时间
*/
private Integer iceHighTimeout;
/**
* ice接口调用次数:(默认1次)
*/
private Integer refreshCount = 1;
/**
* ice获取历史位置点数据个数
*/
private Integer locationHistoryCount = 1999;
/**
* gps服务地址
*/
private String hdaoGpsServer;
/**
* poiSearch服务地址
*/
private String poiSearchNearServer;
/**
* bs基站 服务地址
*/
private String bsServer;
}
package cn.com.glsx.devicemonitor.config;
import cn.com.glsx.devicemonitor.iceprotocol.bs.BaseStationServicePrx;
import cn.com.glsx.devicemonitor.iceprotocol.bs.BaseStationServicePrxHelper;
import cn.com.glsx.devicemonitor.iceprotocol.hdao.DaoGpsServicePrx;
import cn.com.glsx.devicemonitor.iceprotocol.hdao.DaoGpsServicePrxHelper;
import cn.com.glsx.devicemonitor.iceprotocol.poisearch.IPOISearchNearPrx;
import cn.com.glsx.devicemonitor.iceprotocol.poisearch.IPOISearchNearPrxHelper;
import lombok.RequiredArgsConstructor;
import lombok.extern.slf4j.Slf4j;
import org.springframework.boot.context.properties.EnableConfigurationProperties;
import org.springframework.context.annotation.Bean;
import org.springframework.context.annotation.Configuration;
/**
* @author wangxw
* @version 1.0.0
* @ClassName IceServerConfig.java
* @description: ${description}
* @createTime 2021年05月20日 14:18:00
*/
@Slf4j
@RequiredArgsConstructor
@Configuration(proxyBeanMethods = false)
@EnableConfigurationProperties(IceProperties.class)
public class IceServerConfig {
// ice服务配置信息
private final IceProperties iceProperties;
@Bean
public DaoGpsServicePrx daoGpsServicePrx() {
// test_env : "HDaoGpsSvc:default -h 192.168.3.101 -p 23479";
// release_env : "HDaoGpsSvc:default -h 192.168.5.26 -p 23470:default -h 192.168.5.27 -p 23470";
String url = iceProperties.getHdaoGpsServer();
Ice.Communicator ic = Ice.Util.initialize();
Ice.ObjectPrx base = ic.stringToProxy(url).ice_timeout(iceProperties.getIceLowTimeout());
DaoGpsServicePrx prx= DaoGpsServicePrxHelper.checkedCast(base);
log.info("ICE init HDaoGpsSvc server:" + iceProperties.getHdaoGpsServer() + " success!");
return prx;
}
@Bean
public IPOISearchNearPrx ipoiSearchNearPrx() {
// test_env : "PoiSearchNear:default -h 47.107.239.127 -p 10081";
// release_env : "PoiSearchNear:default -h poi.ice.glsx.com -p 10081";
String url = iceProperties.getPoiSearchNearServer();
Ice.Communicator ic = Ice.Util.initialize();
Ice.ObjectPrx base = ic.stringToProxy(url).ice_timeout(iceProperties.getIceLowTimeout());
IPOISearchNearPrx prx= IPOISearchNearPrxHelper.checkedCast(base);
log.info("ICE init PoiSearchNear server:" + iceProperties.getPoiSearchNearServer() + " success!");
return prx;
}
@Bean
public BaseStationServicePrx baseStationServicePrx() {
// test_env : "BsdObjectId:default -h 192.168.3.101 -p 10945";
// release_env : "BsdObjectId:default -h 192.168.5.27 -p 10945:default -h 192.168.5.26 -p 10945";
String url = iceProperties.getBsServer();
Ice.Communicator ic = Ice.Util.initialize();
Ice.ObjectPrx base = ic.stringToProxy(url).ice_timeout(iceProperties.getIceLowTimeout());
BaseStationServicePrx prx= BaseStationServicePrxHelper.checkedCast(base);
log.info("ICE init BsdObjectId server:" + iceProperties.getBsServer() + " success!");
return prx;
}
}
// **********************************************************************
//
// Copyright (c) 2003-2013 ZeroC, Inc. All rights reserved.
//
// This copy of Ice is licensed to you under the terms described in the
// ICE_LICENSE file included in this distribution.
//
// **********************************************************************
//
// Ice version 3.5.1
//
// <auto-generated>
//
// Generated from file `bsd.ice'
//
// Warning: do not edit this file.
//
// </auto-generated>
//
package cn.com.glsx.devicemonitor.iceprotocol.bs;
public interface BaseStationService extends Ice.Object,
_BaseStationServiceOperations, _BaseStationServiceOperationsNC
{
public static final long serialVersionUID = -4927076960967750416L;
}
// **********************************************************************
//
// Copyright (c) 2003-2013 ZeroC, Inc. All rights reserved.
//
// This copy of Ice is licensed to you under the terms described in the
// ICE_LICENSE file included in this distribution.
//
// **********************************************************************
//
// Ice version 3.5.1
//
// <auto-generated>
//
// Generated from file `bsd.ice'
//
// Warning: do not edit this file.
//
// </auto-generated>
//
package cn.com.glsx.devicemonitor.iceprotocol.bs;
public final class BaseStationServiceHolder extends Ice.ObjectHolderBase<BaseStationService>
{
public
BaseStationServiceHolder()
{
}
public
BaseStationServiceHolder(BaseStationService value)
{
this.value = value;
}
public void
patch(Ice.Object v)
{
if(v == null || v instanceof BaseStationService)
{
value = (BaseStationService)v;
}
else
{
IceInternal.Ex.throwUOE(type(), v);
}
}
public String
type()
{
return _BaseStationServiceDisp.ice_staticId();
}
}
// **********************************************************************
//
// Copyright (c) 2003-2013 ZeroC, Inc. All rights reserved.
//
// This copy of Ice is licensed to you under the terms described in the
// ICE_LICENSE file included in this distribution.
//
// **********************************************************************
//
// Ice version 3.5.1
//
// <auto-generated>
//
// Generated from file `bsd.ice'
//
// Warning: do not edit this file.
//
// </auto-generated>
//
package cn.com.glsx.devicemonitor.iceprotocol.bs;
public interface BaseStationServicePrx extends Ice.ObjectPrx
{
public boolean GetGpsByBs(BsDataReq req, BsDataRespHolder resp);
public boolean GetGpsByBs(BsDataReq req, BsDataRespHolder resp, java.util.Map<String, String> __ctx);
public Ice.AsyncResult begin_GetGpsByBs(BsDataReq req);
public Ice.AsyncResult begin_GetGpsByBs(BsDataReq req, java.util.Map<String, String> __ctx);
public Ice.AsyncResult begin_GetGpsByBs(BsDataReq req, Ice.Callback __cb);
public Ice.AsyncResult begin_GetGpsByBs(BsDataReq req, java.util.Map<String, String> __ctx, Ice.Callback __cb);
public Ice.AsyncResult begin_GetGpsByBs(BsDataReq req, Callback_BaseStationService_GetGpsByBs __cb);
public Ice.AsyncResult begin_GetGpsByBs(BsDataReq req, java.util.Map<String, String> __ctx, Callback_BaseStationService_GetGpsByBs __cb);
public boolean end_GetGpsByBs(BsDataRespHolder resp, Ice.AsyncResult __result);
}
// **********************************************************************
//
// Copyright (c) 2003-2013 ZeroC, Inc. All rights reserved.
//
// This copy of Ice is licensed to you under the terms described in the
// ICE_LICENSE file included in this distribution.
//
// **********************************************************************
//
// Ice version 3.5.1
//
// <auto-generated>
//
// Generated from file `bsd.ice'
//
// Warning: do not edit this file.
//
// </auto-generated>
//
package cn.com.glsx.devicemonitor.iceprotocol.bs;
public final class BaseStationServicePrxHelper extends Ice.ObjectPrxHelperBase implements BaseStationServicePrx
{
private static final String __GetGpsByBs_name = "GetGpsByBs";
public boolean GetGpsByBs(BsDataReq req, BsDataRespHolder resp)
{
return GetGpsByBs(req, resp, null, false);
}
public boolean GetGpsByBs(BsDataReq req, BsDataRespHolder resp, java.util.Map<String, String> __ctx)
{
return GetGpsByBs(req, resp, __ctx, true);
}
private boolean GetGpsByBs(BsDataReq req, BsDataRespHolder resp, java.util.Map<String, String> __ctx, boolean __explicitCtx)
{
if(__explicitCtx && __ctx == null)
{
__ctx = _emptyContext;
}
final Ice.Instrumentation.InvocationObserver __observer = IceInternal.ObserverHelper.get(this, "GetGpsByBs", __ctx);
int __cnt = 0;
try
{
while(true)
{
Ice._ObjectDel __delBase = null;
try
{
__checkTwowayOnly("GetGpsByBs");
__delBase = __getDelegate(false);
_BaseStationServiceDel __del = (_BaseStationServiceDel)__delBase;
return __del.GetGpsByBs(req, resp, __ctx, __observer);
}
catch(IceInternal.LocalExceptionWrapper __ex)
{
__handleExceptionWrapper(__delBase, __ex, __observer);
}
catch(Ice.LocalException __ex)
{
__cnt = __handleException(__delBase, __ex, null, __cnt, __observer);
}
}
}
finally
{
if(__observer != null)
{
__observer.detach();
}
}
}
public Ice.AsyncResult begin_GetGpsByBs(BsDataReq req)
{
return begin_GetGpsByBs(req, null, false, null);
}
public Ice.AsyncResult begin_GetGpsByBs(BsDataReq req, java.util.Map<String, String> __ctx)
{
return begin_GetGpsByBs(req, __ctx, true, null);
}
public Ice.AsyncResult begin_GetGpsByBs(BsDataReq req, Ice.Callback __cb)
{
return begin_GetGpsByBs(req, null, false, __cb);
}
public Ice.AsyncResult begin_GetGpsByBs(BsDataReq req, java.util.Map<String, String> __ctx, Ice.Callback __cb)
{
return begin_GetGpsByBs(req, __ctx, true, __cb);
}
public Ice.AsyncResult begin_GetGpsByBs(BsDataReq req, Callback_BaseStationService_GetGpsByBs __cb)
{
return begin_GetGpsByBs(req, null, false, __cb);
}
public Ice.AsyncResult begin_GetGpsByBs(BsDataReq req, java.util.Map<String, String> __ctx, Callback_BaseStationService_GetGpsByBs __cb)
{
return begin_GetGpsByBs(req, __ctx, true, __cb);
}
private Ice.AsyncResult begin_GetGpsByBs(BsDataReq req, java.util.Map<String, String> __ctx, boolean __explicitCtx, IceInternal.CallbackBase __cb)
{
__checkAsyncTwowayOnly(__GetGpsByBs_name);
IceInternal.OutgoingAsync __result = new IceInternal.OutgoingAsync(this, __GetGpsByBs_name, __cb);
try
{
__result.__prepare(__GetGpsByBs_name, Ice.OperationMode.Normal, __ctx, __explicitCtx);
IceInternal.BasicStream __os = __result.__startWriteParams(Ice.FormatType.DefaultFormat);
req.__write(__os);
__result.__endWriteParams();
__result.__send(true);
}
catch(Ice.LocalException __ex)
{
__result.__exceptionAsync(__ex);
}
return __result;
}
public boolean end_GetGpsByBs(BsDataRespHolder resp, Ice.AsyncResult __result)
{
Ice.AsyncResult.__check(__result, this, __GetGpsByBs_name);
boolean __ok = __result.__wait();
try
{
if(!__ok)
{
try
{
__result.__throwUserException();
}
catch(Ice.UserException __ex)
{
throw new Ice.UnknownUserException(__ex.ice_name(), __ex);
}
}
IceInternal.BasicStream __is = __result.__startReadParams();
resp.value = new BsDataResp();
resp.value.__read(__is);
boolean __ret;
__ret = __is.readBool();
__result.__endReadParams();
return __ret;
}
catch(Ice.LocalException ex)
{
Ice.Instrumentation.InvocationObserver __obsv = __result.__getObserver();
if(__obsv != null)
{
__obsv.failed(ex.ice_name());
}
throw ex;
}
}
public static BaseStationServicePrx checkedCast(Ice.ObjectPrx __obj)
{
BaseStationServicePrx __d = null;
if(__obj != null)
{
if(__obj instanceof BaseStationServicePrx)
{
__d = (BaseStationServicePrx)__obj;
}
else
{
if(__obj.ice_isA(ice_staticId()))
{
BaseStationServicePrxHelper __h = new BaseStationServicePrxHelper();
__h.__copyFrom(__obj);
__d = __h;
}
}
}
return __d;
}
public static BaseStationServicePrx checkedCast(Ice.ObjectPrx __obj, java.util.Map<String, String> __ctx)
{
BaseStationServicePrx __d = null;
if(__obj != null)
{
if(__obj instanceof BaseStationServicePrx)
{
__d = (BaseStationServicePrx)__obj;
}
else
{
if(__obj.ice_isA(ice_staticId(), __ctx))
{
BaseStationServicePrxHelper __h = new BaseStationServicePrxHelper();
__h.__copyFrom(__obj);
__d = __h;
}
}
}
return __d;
}
public static BaseStationServicePrx checkedCast(Ice.ObjectPrx __obj, String __facet)
{
BaseStationServicePrx __d = null;
if(__obj != null)
{
Ice.ObjectPrx __bb = __obj.ice_facet(__facet);
try
{
if(__bb.ice_isA(ice_staticId()))
{
BaseStationServicePrxHelper __h = new BaseStationServicePrxHelper();
__h.__copyFrom(__bb);
__d = __h;
}
}
catch(Ice.FacetNotExistException ex)
{
}
}
return __d;
}
public static BaseStationServicePrx checkedCast(Ice.ObjectPrx __obj, String __facet, java.util.Map<String, String> __ctx)
{
BaseStationServicePrx __d = null;
if(__obj != null)
{
Ice.ObjectPrx __bb = __obj.ice_facet(__facet);
try
{
if(__bb.ice_isA(ice_staticId(), __ctx))
{
BaseStationServicePrxHelper __h = new BaseStationServicePrxHelper();
__h.__copyFrom(__bb);
__d = __h;
}
}
catch(Ice.FacetNotExistException ex)
{
}
}
return __d;
}
public static BaseStationServicePrx uncheckedCast(Ice.ObjectPrx __obj)
{
BaseStationServicePrx __d = null;
if(__obj != null)
{
if(__obj instanceof BaseStationServicePrx)
{
__d = (BaseStationServicePrx)__obj;
}
else
{
BaseStationServicePrxHelper __h = new BaseStationServicePrxHelper();
__h.__copyFrom(__obj);
__d = __h;
}
}
return __d;
}
public static BaseStationServicePrx uncheckedCast(Ice.ObjectPrx __obj, String __facet)
{
BaseStationServicePrx __d = null;
if(__obj != null)
{
Ice.ObjectPrx __bb = __obj.ice_facet(__facet);
BaseStationServicePrxHelper __h = new BaseStationServicePrxHelper();
__h.__copyFrom(__bb);
__d = __h;
}
return __d;
}
public static final String[] __ids =
{
"::BaseStationData::BaseStationService",
"::Ice::Object"
};
public static String ice_staticId()
{
return __ids[0];
}
protected Ice._ObjectDelM __createDelegateM()
{
return new _BaseStationServiceDelM();
}
protected Ice._ObjectDelD __createDelegateD()
{
return new _BaseStationServiceDelD();
}
public static void __write(IceInternal.BasicStream __os, BaseStationServicePrx v)
{
__os.writeProxy(v);
}
public static BaseStationServicePrx __read(IceInternal.BasicStream __is)
{
Ice.ObjectPrx proxy = __is.readProxy();
if(proxy != null)
{
BaseStationServicePrxHelper result = new BaseStationServicePrxHelper();
result.__copyFrom(proxy);
return result;
}
return null;
}
public static final long serialVersionUID = 0L;
}
// **********************************************************************
//
// Copyright (c) 2003-2013 ZeroC, Inc. All rights reserved.
//
// This copy of Ice is licensed to you under the terms described in the
// ICE_LICENSE file included in this distribution.
//
// **********************************************************************
//
// Ice version 3.5.1
//
// <auto-generated>
//
// Generated from file `bsd.ice'
//
// Warning: do not edit this file.
//
// </auto-generated>
//
package cn.com.glsx.devicemonitor.iceprotocol.bs;
public final class BaseStationServicePrxHolder
{
public
BaseStationServicePrxHolder()
{
}
public
BaseStationServicePrxHolder(BaseStationServicePrx value)
{
this.value = value;
}
public BaseStationServicePrx value;
}
// **********************************************************************
//
// Copyright (c) 2003-2013 ZeroC, Inc. All rights reserved.
//
// This copy of Ice is licensed to you under the terms described in the
// ICE_LICENSE file included in this distribution.
//
// **********************************************************************
//
// Ice version 3.5.1
//
// <auto-generated>
//
// Generated from file `bsd.ice'
//
// Warning: do not edit this file.
//
// </auto-generated>
//
package cn.com.glsx.devicemonitor.iceprotocol.bs;
public class BsData implements Cloneable, java.io.Serializable
{
public int mnc;
public int lac;
public int cellid;
public BsData()
{
}
public BsData(int mnc, int lac, int cellid)
{
this.mnc = mnc;
this.lac = lac;
this.cellid = cellid;
}
public boolean
equals(Object rhs)
{
if(this == rhs)
{
return true;
}
BsData _r = null;
if(rhs instanceof BsData)
{
_r = (BsData)rhs;
}
if(_r != null)
{
if(mnc != _r.mnc)
{
return false;
}
if(lac != _r.lac)
{
return false;
}
if(cellid != _r.cellid)
{
return false;
}
return true;
}
return false;
}
public int
hashCode()
{
int __h = 5381;
__h = IceInternal.HashUtil.hashAdd(__h, "::BaseStationData::BsData");
__h = IceInternal.HashUtil.hashAdd(__h, mnc);
__h = IceInternal.HashUtil.hashAdd(__h, lac);
__h = IceInternal.HashUtil.hashAdd(__h, cellid);
return __h;
}
public Object
clone()
{
Object o = null;
try
{
o = super.clone();
}
catch(CloneNotSupportedException ex)
{
assert false; // impossible
}
return o;
}
public void
__write(IceInternal.BasicStream __os)
{
__os.writeInt(mnc);
__os.writeInt(lac);
__os.writeInt(cellid);
}
public void
__read(IceInternal.BasicStream __is)
{
mnc = __is.readInt();
lac = __is.readInt();
cellid = __is.readInt();
}
@Override
public String toString() {
return "BsData [mnc=" + mnc + ", lac=" + lac + ", cellid=" + cellid
+ ", hashCode()=" + hashCode() + ", getClass()=" + getClass()
+ ", toString()=" + super.toString() + "]";
}
public static final long serialVersionUID = -1180175726157969065L;
}
// **********************************************************************
//
// Copyright (c) 2003-2013 ZeroC, Inc. All rights reserved.
//
// This copy of Ice is licensed to you under the terms described in the
// ICE_LICENSE file included in this distribution.
//
// **********************************************************************
//
// Ice version 3.5.1
//
// <auto-generated>
//
// Generated from file `bsd.ice'
//
// Warning: do not edit this file.
//
// </auto-generated>
//
package cn.com.glsx.devicemonitor.iceprotocol.bs;
public final class BsDataHolder
{
public
BsDataHolder()
{
}
public
BsDataHolder(BsData value)
{
this.value = value;
}
public BsData value;
}
// **********************************************************************
//
// Copyright (c) 2003-2013 ZeroC, Inc. All rights reserved.
//
// This copy of Ice is licensed to you under the terms described in the
// ICE_LICENSE file included in this distribution.
//
// **********************************************************************
//
// Ice version 3.5.1
//
// <auto-generated>
//
// Generated from file `bsd.ice'
//
// Warning: do not edit this file.
//
// </auto-generated>
//
package cn.com.glsx.devicemonitor.iceprotocol.bs;
public class BsDataReq implements Cloneable, java.io.Serializable
{
public BsData bs;
public BsDataReq()
{
}
public BsDataReq(BsData bs)
{
this.bs = bs;
}
public boolean
equals(Object rhs)
{
if(this == rhs)
{
return true;
}
BsDataReq _r = null;
if(rhs instanceof BsDataReq)
{
_r = (BsDataReq)rhs;
}
if(_r != null)
{
if(bs != _r.bs)
{
if(bs == null || _r.bs == null || !bs.equals(_r.bs))
{
return false;
}
}
return true;
}
return false;
}
public int
hashCode()
{
int __h = 5381;
__h = IceInternal.HashUtil.hashAdd(__h, "::BaseStationData::BsDataReq");
__h = IceInternal.HashUtil.hashAdd(__h, bs);
return __h;
}
public Object
clone()
{
Object o = null;
try
{
o = super.clone();
}
catch(CloneNotSupportedException ex)
{
assert false; // impossible
}
return o;
}
public void
__write(IceInternal.BasicStream __os)
{
bs.__write(__os);
}
public void
__read(IceInternal.BasicStream __is)
{
bs = new BsData();
bs.__read(__is);
}
public static final long serialVersionUID = -7067405279854981467L;
}
// **********************************************************************
//
// Copyright (c) 2003-2013 ZeroC, Inc. All rights reserved.
//
// This copy of Ice is licensed to you under the terms described in the
// ICE_LICENSE file included in this distribution.
//
// **********************************************************************
//
// Ice version 3.5.1
//
// <auto-generated>
//
// Generated from file `bsd.ice'
//
// Warning: do not edit this file.
//
// </auto-generated>
//
package cn.com.glsx.devicemonitor.iceprotocol.bs;
public final class BsDataReqHolder
{
public
BsDataReqHolder()
{
}
public
BsDataReqHolder(BsDataReq value)
{
this.value = value;
}
public BsDataReq value;
}
// **********************************************************************
//
// Copyright (c) 2003-2013 ZeroC, Inc. All rights reserved.
//
// This copy of Ice is licensed to you under the terms described in the
// ICE_LICENSE file included in this distribution.
//
// **********************************************************************
//
// Ice version 3.5.1
//
// <auto-generated>
//
// Generated from file `bsd.ice'
//
// Warning: do not edit this file.
//
// </auto-generated>
//
package cn.com.glsx.devicemonitor.iceprotocol.bs;
public class BsDataResp implements Cloneable, java.io.Serializable
{
public int ret;
public GpsData gps;
public BsDataResp()
{
}
public BsDataResp(int ret, GpsData gps)
{
this.ret = ret;
this.gps = gps;
}
public boolean
equals(Object rhs)
{
if(this == rhs)
{
return true;
}
BsDataResp _r = null;
if(rhs instanceof BsDataResp)
{
_r = (BsDataResp)rhs;
}
if(_r != null)
{
if(ret != _r.ret)
{
return false;
}
if(gps != _r.gps)
{
if(gps == null || _r.gps == null || !gps.equals(_r.gps))
{
return false;
}
}
return true;
}
return false;
}
public int
hashCode()
{
int __h = 5381;
__h = IceInternal.HashUtil.hashAdd(__h, "::BaseStationData::BsDataResp");
__h = IceInternal.HashUtil.hashAdd(__h, ret);
__h = IceInternal.HashUtil.hashAdd(__h, gps);
return __h;
}
public Object
clone()
{
Object o = null;
try
{
o = super.clone();
}
catch(CloneNotSupportedException ex)
{
assert false; // impossible
}
return o;
}
public void
__write(IceInternal.BasicStream __os)
{
__os.writeInt(ret);
gps.__write(__os);
}
public void
__read(IceInternal.BasicStream __is)
{
ret = __is.readInt();
gps = new GpsData();
gps.__read(__is);
}
public static final long serialVersionUID = 2440970033832249670L;
}
// **********************************************************************
//
// Copyright (c) 2003-2013 ZeroC, Inc. All rights reserved.
//
// This copy of Ice is licensed to you under the terms described in the
// ICE_LICENSE file included in this distribution.
//
// **********************************************************************
//
// Ice version 3.5.1
//
// <auto-generated>
//
// Generated from file `bsd.ice'
//
// Warning: do not edit this file.
//
// </auto-generated>
//
package cn.com.glsx.devicemonitor.iceprotocol.bs;
public final class BsDataRespHolder
{
public
BsDataRespHolder()
{
}
public
BsDataRespHolder(BsDataResp value)
{
this.value = value;
}
public BsDataResp value;
}
// **********************************************************************
//
// Copyright (c) 2003-2013 ZeroC, Inc. All rights reserved.
//
// This copy of Ice is licensed to you under the terms described in the
// ICE_LICENSE file included in this distribution.
//
// **********************************************************************
//
// Ice version 3.5.1
//
// <auto-generated>
//
// Generated from file `bsd.ice'
//
// Warning: do not edit this file.
//
// </auto-generated>
//
package cn.com.glsx.devicemonitor.iceprotocol.bs;
public abstract class Callback_BaseStationService_GetGpsByBs extends Ice.TwowayCallback
{
public abstract void response(boolean __ret, BsDataResp resp);
public final void __completed(Ice.AsyncResult __result)
{
BaseStationServicePrx __proxy = (BaseStationServicePrx)__result.getProxy();
boolean __ret = false;
BsDataRespHolder resp = new BsDataRespHolder();
try
{
__ret = __proxy.end_GetGpsByBs(resp, __result);
}
catch(Ice.LocalException __ex)
{
exception(__ex);
return;
}
response(__ret, resp.value);
}
}
// **********************************************************************
//
// Copyright (c) 2003-2013 ZeroC, Inc. All rights reserved.
//
// This copy of Ice is licensed to you under the terms described in the
// ICE_LICENSE file included in this distribution.
//
// **********************************************************************
//
// Ice version 3.5.1
//
// <auto-generated>
//
// Generated from file `bsd.ice'
//
// Warning: do not edit this file.
//
// </auto-generated>
//
package cn.com.glsx.devicemonitor.iceprotocol.bs;
public class GpsData implements Cloneable, java.io.Serializable
{
public int lng;
public int lat;
public String addr;
public GpsData()
{
}
public GpsData(int lng, int lat, String addr)
{
this.lng = lng;
this.lat = lat;
this.addr = addr;
}
public boolean
equals(Object rhs)
{
if(this == rhs)
{
return true;
}
GpsData _r = null;
if(rhs instanceof GpsData)
{
_r = (GpsData)rhs;
}
if(_r != null)
{
if(lng != _r.lng)
{
return false;
}
if(lat != _r.lat)
{
return false;
}
if(addr != _r.addr)
{
if(addr == null || _r.addr == null || !addr.equals(_r.addr))
{
return false;
}
}
return true;
}
return false;
}
public int
hashCode()
{
int __h = 5381;
__h = IceInternal.HashUtil.hashAdd(__h, "::BaseStationData::GpsData");
__h = IceInternal.HashUtil.hashAdd(__h, lng);
__h = IceInternal.HashUtil.hashAdd(__h, lat);
__h = IceInternal.HashUtil.hashAdd(__h, addr);
return __h;
}
public Object
clone()
{
Object o = null;
try
{
o = super.clone();
}
catch(CloneNotSupportedException ex)
{
assert false; // impossible
}
return o;
}
public void
__write(IceInternal.BasicStream __os)
{
__os.writeInt(lng);
__os.writeInt(lat);
__os.writeString(addr);
}
public void
__read(IceInternal.BasicStream __is)
{
lng = __is.readInt();
lat = __is.readInt();
addr = __is.readString();
}
public static final long serialVersionUID = -2420777293799941752L;
}
// **********************************************************************
//
// Copyright (c) 2003-2013 ZeroC, Inc. All rights reserved.
//
// This copy of Ice is licensed to you under the terms described in the
// ICE_LICENSE file included in this distribution.
//
// **********************************************************************
//
// Ice version 3.5.1
//
// <auto-generated>
//
// Generated from file `bsd.ice'
//
// Warning: do not edit this file.
//
// </auto-generated>
//
package cn.com.glsx.devicemonitor.iceprotocol.bs;
public final class GpsDataHolder
{
public
GpsDataHolder()
{
}
public
GpsDataHolder(GpsData value)
{
this.value = value;
}
public GpsData value;
}
// **********************************************************************
//
// Copyright (c) 2003-2013 ZeroC, Inc. All rights reserved.
//
// This copy of Ice is licensed to you under the terms described in the
// ICE_LICENSE file included in this distribution.
//
// **********************************************************************
//
// Ice version 3.5.1
//
// <auto-generated>
//
// Generated from file `bsd.ice'
//
// Warning: do not edit this file.
//
// </auto-generated>
//
package cn.com.glsx.devicemonitor.iceprotocol.bs;
public interface _BaseStationServiceDel extends Ice._ObjectDel
{
boolean GetGpsByBs(BsDataReq req, BsDataRespHolder resp, java.util.Map<String, String> __ctx, Ice.Instrumentation.InvocationObserver __obsv)
throws IceInternal.LocalExceptionWrapper;
}
// **********************************************************************
//
// Copyright (c) 2003-2013 ZeroC, Inc. All rights reserved.
//
// This copy of Ice is licensed to you under the terms described in the
// ICE_LICENSE file included in this distribution.
//
// **********************************************************************
//
// Ice version 3.5.1
//
// <auto-generated>
//
// Generated from file `bsd.ice'
//
// Warning: do not edit this file.
//
// </auto-generated>
//
package cn.com.glsx.devicemonitor.iceprotocol.bs;
public final class _BaseStationServiceDelD extends Ice._ObjectDelD implements _BaseStationServiceDel
{
public boolean GetGpsByBs(final BsDataReq req, final BsDataRespHolder resp, java.util.Map<String, String> __ctx, Ice.Instrumentation.InvocationObserver __observer)
throws IceInternal.LocalExceptionWrapper
{
final Ice.Current __current = new Ice.Current();
__initCurrent(__current, "GetGpsByBs", Ice.OperationMode.Normal, __ctx);
final Ice.BooleanHolder __result = new Ice.BooleanHolder();
IceInternal.Direct __direct = null;
try
{
__direct = new IceInternal.Direct(__current)
{
public Ice.DispatchStatus run(Ice.Object __obj)
{
BaseStationService __servant = null;
if(__obj == null || __obj instanceof BaseStationService)
{
__servant = (BaseStationService)__obj;
}
else
{
throw new Ice.OperationNotExistException(__current.id, __current.facet, __current.operation);
}
__result.value = __servant.GetGpsByBs(req, resp, __current);
return Ice.DispatchStatus.DispatchOK;
}
};
try
{
Ice.DispatchStatus __status = __direct.getServant().__collocDispatch(__direct);
if(__status == Ice.DispatchStatus.DispatchUserException)
{
__direct.throwUserException();
}
assert __status == Ice.DispatchStatus.DispatchOK;
return __result.value;
}
finally
{
__direct.destroy();
}
}
catch(Ice.SystemException __ex)
{
throw __ex;
}
catch(Throwable __ex)
{
IceInternal.LocalExceptionWrapper.throwWrapper(__ex);
}
return __result.value;
}
}
// **********************************************************************
//
// Copyright (c) 2003-2013 ZeroC, Inc. All rights reserved.
//
// This copy of Ice is licensed to you under the terms described in the
// ICE_LICENSE file included in this distribution.
//
// **********************************************************************
//
// Ice version 3.5.1
//
// <auto-generated>
//
// Generated from file `bsd.ice'
//
// Warning: do not edit this file.
//
// </auto-generated>
//
package cn.com.glsx.devicemonitor.iceprotocol.bs;
public final class _BaseStationServiceDelM extends Ice._ObjectDelM implements _BaseStationServiceDel
{
public boolean
GetGpsByBs(BsDataReq req, BsDataRespHolder resp, java.util.Map<String, String> __ctx, Ice.Instrumentation.InvocationObserver __observer)
throws IceInternal.LocalExceptionWrapper
{
IceInternal.Outgoing __og = __handler.getOutgoing("GetGpsByBs", Ice.OperationMode.Normal, __ctx, __observer);
try
{
try
{
IceInternal.BasicStream __os = __og.startWriteParams(Ice.FormatType.DefaultFormat);
req.__write(__os);
__og.endWriteParams();
}
catch(Ice.LocalException __ex)
{
__og.abort(__ex);
}
boolean __ok = __og.invoke();
try
{
if(!__ok)
{
try
{
__og.throwUserException();
}
catch(Ice.UserException __ex)
{
throw new Ice.UnknownUserException(__ex.ice_name(), __ex);
}
}
IceInternal.BasicStream __is = __og.startReadParams();
resp.value = new BsDataResp();
resp.value.__read(__is);
boolean __ret;
__ret = __is.readBool();
__og.endReadParams();
return __ret;
}
catch(Ice.LocalException __ex)
{
throw new IceInternal.LocalExceptionWrapper(__ex, false);
}
}
finally
{
__handler.reclaimOutgoing(__og);
}
}
}
// **********************************************************************
//
// Copyright (c) 2003-2013 ZeroC, Inc. All rights reserved.
//
// This copy of Ice is licensed to you under the terms described in the
// ICE_LICENSE file included in this distribution.
//
// **********************************************************************
//
// Ice version 3.5.1
//
// <auto-generated>
//
// Generated from file `bsd.ice'
//
// Warning: do not edit this file.
//
// </auto-generated>
//
package cn.com.glsx.devicemonitor.iceprotocol.bs;
public abstract class _BaseStationServiceDisp extends Ice.ObjectImpl implements BaseStationService
{
protected void
ice_copyStateFrom(Ice.Object __obj)
throws CloneNotSupportedException
{
throw new CloneNotSupportedException();
}
public static final String[] __ids =
{
"::BaseStationData::BaseStationService",
"::Ice::Object"
};
public boolean ice_isA(String s)
{
return java.util.Arrays.binarySearch(__ids, s) >= 0;
}
public boolean ice_isA(String s, Ice.Current __current)
{
return java.util.Arrays.binarySearch(__ids, s) >= 0;
}
public String[] ice_ids()
{
return __ids;
}
public String[] ice_ids(Ice.Current __current)
{
return __ids;
}
public String ice_id()
{
return __ids[0];
}
public String ice_id(Ice.Current __current)
{
return __ids[0];
}
public static String ice_staticId()
{
return __ids[0];
}
public final boolean GetGpsByBs(BsDataReq req, BsDataRespHolder resp)
{
return GetGpsByBs(req, resp, null);
}
public static Ice.DispatchStatus ___GetGpsByBs(BaseStationService __obj, IceInternal.Incoming __inS, Ice.Current __current)
{
__checkMode(Ice.OperationMode.Normal, __current.mode);
IceInternal.BasicStream __is = __inS.startReadParams();
BsDataReq req;
req = new BsDataReq();
req.__read(__is);
__inS.endReadParams();
BsDataRespHolder resp = new BsDataRespHolder();
boolean __ret = __obj.GetGpsByBs(req, resp, __current);
IceInternal.BasicStream __os = __inS.__startWriteParams(Ice.FormatType.DefaultFormat);
resp.value.__write(__os);
__os.writeBool(__ret);
__inS.__endWriteParams(true);
return Ice.DispatchStatus.DispatchOK;
}
private final static String[] __all =
{
"GetGpsByBs",
"ice_id",
"ice_ids",
"ice_isA",
"ice_ping"
};
public Ice.DispatchStatus __dispatch(IceInternal.Incoming in, Ice.Current __current)
{
int pos = java.util.Arrays.binarySearch(__all, __current.operation);
if(pos < 0)
{
throw new Ice.OperationNotExistException(__current.id, __current.facet, __current.operation);
}
switch(pos)
{
case 0:
{
return ___GetGpsByBs(this, in, __current);
}
case 1:
{
return ___ice_id(this, in, __current);
}
case 2:
{
return ___ice_ids(this, in, __current);
}
case 3:
{
return ___ice_isA(this, in, __current);
}
case 4:
{
return ___ice_ping(this, in, __current);
}
}
assert(false);
throw new Ice.OperationNotExistException(__current.id, __current.facet, __current.operation);
}
protected void __writeImpl(IceInternal.BasicStream __os)
{
__os.startWriteSlice(ice_staticId(), -1, true);
__os.endWriteSlice();
}
protected void __readImpl(IceInternal.BasicStream __is)
{
__is.startReadSlice();
__is.endReadSlice();
}
public static final long serialVersionUID = 0L;
}
// **********************************************************************
//
// Copyright (c) 2003-2013 ZeroC, Inc. All rights reserved.
//
// This copy of Ice is licensed to you under the terms described in the
// ICE_LICENSE file included in this distribution.
//
// **********************************************************************
//
// Ice version 3.5.1
//
// <auto-generated>
//
// Generated from file `bsd.ice'
//
// Warning: do not edit this file.
//
// </auto-generated>
//
package cn.com.glsx.devicemonitor.iceprotocol.bs;
public interface _BaseStationServiceOperations
{
boolean GetGpsByBs(BsDataReq req, BsDataRespHolder resp, Ice.Current __current);
}
// **********************************************************************
//
// Copyright (c) 2003-2013 ZeroC, Inc. All rights reserved.
//
// This copy of Ice is licensed to you under the terms described in the
// ICE_LICENSE file included in this distribution.
//
// **********************************************************************
//
// Ice version 3.5.1
//
// <auto-generated>
//
// Generated from file `bsd.ice'
//
// Warning: do not edit this file.
//
// </auto-generated>
//
package cn.com.glsx.devicemonitor.iceprotocol.bs;
public interface _BaseStationServiceOperationsNC
{
boolean GetGpsByBs(BsDataReq req, BsDataRespHolder resp);
}
// **********************************************************************
//
// Copyright (c) 2003-2013 ZeroC, Inc. All rights reserved.
//
// This copy of Ice is licensed to you under the terms described in the
// ICE_LICENSE file included in this distribution.
//
// **********************************************************************
//
// Ice version 3.5.1
//
// <auto-generated>
//
// Generated from file `HDao_gps.ice'
//
// Warning: do not edit this file.
//
// </auto-generated>
//
package cn.com.glsx.devicemonitor.iceprotocol.hdao;
public class AlarmGetRequest implements Cloneable, java.io.Serializable
{
public long userID;
public int apType;
public int startTime;
public int endTime;
public int reqCount;
public AlarmGetRequest()
{
}
public AlarmGetRequest(long userID, int apType, int startTime, int endTime, int reqCount)
{
this.userID = userID;
this.apType = apType;
this.startTime = startTime;
this.endTime = endTime;
this.reqCount = reqCount;
}
public boolean
equals(Object rhs)
{
if(this == rhs)
{
return true;
}
AlarmGetRequest _r = null;
if(rhs instanceof AlarmGetRequest)
{
_r = (AlarmGetRequest)rhs;
}
if(_r != null)
{
if(userID != _r.userID)
{
return false;
}
if(apType != _r.apType)
{
return false;
}
if(startTime != _r.startTime)
{
return false;
}
if(endTime != _r.endTime)
{
return false;
}
if(reqCount != _r.reqCount)
{
return false;
}
return true;
}
return false;
}
public int
hashCode()
{
int __h = 5381;
__h = IceInternal.HashUtil.hashAdd(__h, "::HDaoGps::AlarmGetRequest");
__h = IceInternal.HashUtil.hashAdd(__h, userID);
__h = IceInternal.HashUtil.hashAdd(__h, apType);
__h = IceInternal.HashUtil.hashAdd(__h, startTime);
__h = IceInternal.HashUtil.hashAdd(__h, endTime);
__h = IceInternal.HashUtil.hashAdd(__h, reqCount);
return __h;
}
public Object
clone()
{
Object o = null;
try
{
o = super.clone();
}
catch(CloneNotSupportedException ex)
{
assert false; // impossible
}
return o;
}
public void
__write(IceInternal.BasicStream __os)
{
__os.writeLong(userID);
__os.writeInt(apType);
__os.writeInt(startTime);
__os.writeInt(endTime);
__os.writeInt(reqCount);
}
public void
__read(IceInternal.BasicStream __is)
{
userID = __is.readLong();
apType = __is.readInt();
startTime = __is.readInt();
endTime = __is.readInt();
reqCount = __is.readInt();
}
public static final long serialVersionUID = -3754636485595147263L;
}
// **********************************************************************
//
// Copyright (c) 2003-2013 ZeroC, Inc. All rights reserved.
//
// This copy of Ice is licensed to you under the terms described in the
// ICE_LICENSE file included in this distribution.
//
// **********************************************************************
//
// Ice version 3.5.1
//
// <auto-generated>
//
// Generated from file `HDao_gps.ice'
//
// Warning: do not edit this file.
//
// </auto-generated>
//
package cn.com.glsx.devicemonitor.iceprotocol.hdao;
public final class AlarmGetRequestHolder
{
public
AlarmGetRequestHolder()
{
}
public
AlarmGetRequestHolder(AlarmGetRequest value)
{
this.value = value;
}
public AlarmGetRequest value;
}
// **********************************************************************
//
// Copyright (c) 2003-2013 ZeroC, Inc. All rights reserved.
//
// This copy of Ice is licensed to you under the terms described in the
// ICE_LICENSE file included in this distribution.
//
// **********************************************************************
//
// Ice version 3.5.1
//
// <auto-generated>
//
// Generated from file `HDao_gps.ice'
//
// Warning: do not edit this file.
//
// </auto-generated>
//
package cn.com.glsx.devicemonitor.iceprotocol.hdao;
public class AlarmGetResponse implements Cloneable, java.io.Serializable
{
public int oprResult;
public AlarmRecord[] records;
public boolean fullFlag;
public int lastAlarmTime;
public AlarmGetResponse()
{
}
public AlarmGetResponse(int oprResult, AlarmRecord[] records, boolean fullFlag, int lastAlarmTime)
{
this.oprResult = oprResult;
this.records = records;
this.fullFlag = fullFlag;
this.lastAlarmTime = lastAlarmTime;
}
public boolean
equals(Object rhs)
{
if(this == rhs)
{
return true;
}
AlarmGetResponse _r = null;
if(rhs instanceof AlarmGetResponse)
{
_r = (AlarmGetResponse)rhs;
}
if(_r != null)
{
if(oprResult != _r.oprResult)
{
return false;
}
if(!java.util.Arrays.equals(records, _r.records))
{
return false;
}
if(fullFlag != _r.fullFlag)
{
return false;
}
if(lastAlarmTime != _r.lastAlarmTime)
{
return false;
}
return true;
}
return false;
}
public int
hashCode()
{
int __h = 5381;
__h = IceInternal.HashUtil.hashAdd(__h, "::HDaoGps::AlarmGetResponse");
__h = IceInternal.HashUtil.hashAdd(__h, oprResult);
__h = IceInternal.HashUtil.hashAdd(__h, records);
__h = IceInternal.HashUtil.hashAdd(__h, fullFlag);
__h = IceInternal.HashUtil.hashAdd(__h, lastAlarmTime);
return __h;
}
public Object
clone()
{
Object o = null;
try
{
o = super.clone();
}
catch(CloneNotSupportedException ex)
{
assert false; // impossible
}
return o;
}
public void
__write(IceInternal.BasicStream __os)
{
__os.writeInt(oprResult);
AlarmRecordsHelper.write(__os, records);
__os.writeBool(fullFlag);
__os.writeInt(lastAlarmTime);
}
public void
__read(IceInternal.BasicStream __is)
{
oprResult = __is.readInt();
records = AlarmRecordsHelper.read(__is);
fullFlag = __is.readBool();
lastAlarmTime = __is.readInt();
}
public static final long serialVersionUID = 7054347308621578722L;
}
// **********************************************************************
//
// Copyright (c) 2003-2013 ZeroC, Inc. All rights reserved.
//
// This copy of Ice is licensed to you under the terms described in the
// ICE_LICENSE file included in this distribution.
//
// **********************************************************************
//
// Ice version 3.5.1
//
// <auto-generated>
//
// Generated from file `HDao_gps.ice'
//
// Warning: do not edit this file.
//
// </auto-generated>
//
package cn.com.glsx.devicemonitor.iceprotocol.hdao;
public final class AlarmGetResponseHolder
{
public
AlarmGetResponseHolder()
{
}
public
AlarmGetResponseHolder(AlarmGetResponse value)
{
this.value = value;
}
public AlarmGetResponse value;
}
// **********************************************************************
//
// Copyright (c) 2003-2013 ZeroC, Inc. All rights reserved.
//
// This copy of Ice is licensed to you under the terms described in the
// ICE_LICENSE file included in this distribution.
//
// **********************************************************************
//
// Ice version 3.5.1
//
// <auto-generated>
//
// Generated from file `HDao_gps.ice'
//
// Warning: do not edit this file.
//
// </auto-generated>
//
package cn.com.glsx.devicemonitor.iceprotocol.hdao;
public class AlarmRecord implements Cloneable, java.io.Serializable
{
public int alarmTime;
public int alarmState;
public AlarmRecord()
{
}
public AlarmRecord(int alarmTime, int alarmState)
{
this.alarmTime = alarmTime;
this.alarmState = alarmState;
}
public boolean
equals(Object rhs)
{
if(this == rhs)
{
return true;
}
AlarmRecord _r = null;
if(rhs instanceof AlarmRecord)
{
_r = (AlarmRecord)rhs;
}
if(_r != null)
{
if(alarmTime != _r.alarmTime)
{
return false;
}
if(alarmState != _r.alarmState)
{
return false;
}
return true;
}
return false;
}
public int
hashCode()
{
int __h = 5381;
__h = IceInternal.HashUtil.hashAdd(__h, "::HDaoGps::AlarmRecord");
__h = IceInternal.HashUtil.hashAdd(__h, alarmTime);
__h = IceInternal.HashUtil.hashAdd(__h, alarmState);
return __h;
}
public Object
clone()
{
Object o = null;
try
{
o = super.clone();
}
catch(CloneNotSupportedException ex)
{
assert false; // impossible
}
return o;
}
public void
__write(IceInternal.BasicStream __os)
{
__os.writeInt(alarmTime);
__os.writeInt(alarmState);
}
public void
__read(IceInternal.BasicStream __is)
{
alarmTime = __is.readInt();
alarmState = __is.readInt();
}
public static final long serialVersionUID = -4693436816629426831L;
}
// **********************************************************************
//
// Copyright (c) 2003-2013 ZeroC, Inc. All rights reserved.
//
// This copy of Ice is licensed to you under the terms described in the
// ICE_LICENSE file included in this distribution.
//
// **********************************************************************
//
// Ice version 3.5.1
//
// <auto-generated>
//
// Generated from file `HDao_gps.ice'
//
// Warning: do not edit this file.
//
// </auto-generated>
//
package cn.com.glsx.devicemonitor.iceprotocol.hdao;
public final class AlarmRecordHolder
{
public
AlarmRecordHolder()
{
}
public
AlarmRecordHolder(AlarmRecord value)
{
this.value = value;
}
public AlarmRecord value;
}
// **********************************************************************
//
// Copyright (c) 2003-2013 ZeroC, Inc. All rights reserved.
//
// This copy of Ice is licensed to you under the terms described in the
// ICE_LICENSE file included in this distribution.
//
// **********************************************************************
//
// Ice version 3.5.1
//
// <auto-generated>
//
// Generated from file `HDao_gps.ice'
//
// Warning: do not edit this file.
//
// </auto-generated>
//
package cn.com.glsx.devicemonitor.iceprotocol.hdao;
public final class AlarmRecordsHelper
{
public static void
write(IceInternal.BasicStream __os, AlarmRecord[] __v)
{
if(__v == null)
{
__os.writeSize(0);
}
else
{
__os.writeSize(__v.length);
for(int __i0 = 0; __i0 < __v.length; __i0++)
{
__v[__i0].__write(__os);
}
}
}
public static AlarmRecord[]
read(IceInternal.BasicStream __is)
{
AlarmRecord[] __v;
final int __len0 = __is.readAndCheckSeqSize(8);
__v = new AlarmRecord[__len0];
for(int __i0 = 0; __i0 < __len0; __i0++)
{
__v[__i0] = new AlarmRecord();
__v[__i0].__read(__is);
}
return __v;
}
}
// **********************************************************************
//
// Copyright (c) 2003-2013 ZeroC, Inc. All rights reserved.
//
// This copy of Ice is licensed to you under the terms described in the
// ICE_LICENSE file included in this distribution.
//
// **********************************************************************
//
// Ice version 3.5.1
//
// <auto-generated>
//
// Generated from file `HDao_gps.ice'
//
// Warning: do not edit this file.
//
// </auto-generated>
//
package cn.com.glsx.devicemonitor.iceprotocol.hdao;
public final class AlarmRecordsHolder
{
public
AlarmRecordsHolder()
{
}
public
AlarmRecordsHolder(AlarmRecord[] value)
{
this.value = value;
}
public AlarmRecord[] value;
}
// **********************************************************************
//
// Copyright (c) 2003-2013 ZeroC, Inc. All rights reserved.
//
// This copy of Ice is licensed to you under the terms described in the
// ICE_LICENSE file included in this distribution.
//
// **********************************************************************
//
// Ice version 3.5.1
//
// <auto-generated>
//
// Generated from file `HDao_gps.ice'
//
// Warning: do not edit this file.
//
// </auto-generated>
//
package cn.com.glsx.devicemonitor.iceprotocol.hdao;
public class BatchGpsDevInfoRequest implements Cloneable, java.io.Serializable
{
public long[] userIds;
public int extraMapReq;
public int seqNo;
public BatchGpsDevInfoRequest()
{
}
public BatchGpsDevInfoRequest(long[] userIds, int extraMapReq, int seqNo)
{
this.userIds = userIds;
this.extraMapReq = extraMapReq;
this.seqNo = seqNo;
}
public boolean
equals(Object rhs)
{
if(this == rhs)
{
return true;
}
BatchGpsDevInfoRequest _r = null;
if(rhs instanceof BatchGpsDevInfoRequest)
{
_r = (BatchGpsDevInfoRequest)rhs;
}
if(_r != null)
{
if(!java.util.Arrays.equals(userIds, _r.userIds))
{
return false;
}
if(extraMapReq != _r.extraMapReq)
{
return false;
}
if(seqNo != _r.seqNo)
{
return false;
}
return true;
}
return false;
}
public int
hashCode()
{
int __h = 5381;
__h = IceInternal.HashUtil.hashAdd(__h, "::HDaoGps::BatchGpsDevInfoRequest");
__h = IceInternal.HashUtil.hashAdd(__h, userIds);
__h = IceInternal.HashUtil.hashAdd(__h, extraMapReq);
__h = IceInternal.HashUtil.hashAdd(__h, seqNo);
return __h;
}
public Object
clone()
{
Object o = null;
try
{
o = super.clone();
}
catch(CloneNotSupportedException ex)
{
assert false; // impossible
}
return o;
}
public void
__write(IceInternal.BasicStream __os)
{
UserIdSeqHelper.write(__os, userIds);
__os.writeInt(extraMapReq);
__os.writeInt(seqNo);
}
public void
__read(IceInternal.BasicStream __is)
{
userIds = UserIdSeqHelper.read(__is);
extraMapReq = __is.readInt();
seqNo = __is.readInt();
}
public static final long serialVersionUID = 6287704385978578483L;
}
// **********************************************************************
//
// Copyright (c) 2003-2013 ZeroC, Inc. All rights reserved.
//
// This copy of Ice is licensed to you under the terms described in the
// ICE_LICENSE file included in this distribution.
//
// **********************************************************************
//
// Ice version 3.5.1
//
// <auto-generated>
//
// Generated from file `HDao_gps.ice'
//
// Warning: do not edit this file.
//
// </auto-generated>
//
package cn.com.glsx.devicemonitor.iceprotocol.hdao;
public final class BatchGpsDevInfoRequestHolder
{
public
BatchGpsDevInfoRequestHolder()
{
}
public
BatchGpsDevInfoRequestHolder(BatchGpsDevInfoRequest value)
{
this.value = value;
}
public BatchGpsDevInfoRequest value;
}
// **********************************************************************
//
// Copyright (c) 2003-2013 ZeroC, Inc. All rights reserved.
//
// This copy of Ice is licensed to you under the terms described in the
// ICE_LICENSE file included in this distribution.
//
// **********************************************************************
//
// Ice version 3.5.1
//
// <auto-generated>
//
// Generated from file `HDao_gps.ice'
//
// Warning: do not edit this file.
//
// </auto-generated>
//
package cn.com.glsx.devicemonitor.iceprotocol.hdao;
/**
* batchResult:
* 0: ok for all users;
* 1: ok for part, the succesful part of device info is followed;
* -1: failed, the followed gpsDevInfo is meaningless.
**/
public class BatchGpsDevInfoResponse implements Cloneable, java.io.Serializable
{
public int batchResult;
public GpsDevInfo[] gpsDevInfos;
public BatchGpsDevInfoResponse()
{
}
public BatchGpsDevInfoResponse(int batchResult, GpsDevInfo[] gpsDevInfos)
{
this.batchResult = batchResult;
this.gpsDevInfos = gpsDevInfos;
}
public boolean
equals(Object rhs)
{
if(this == rhs)
{
return true;
}
BatchGpsDevInfoResponse _r = null;
if(rhs instanceof BatchGpsDevInfoResponse)
{
_r = (BatchGpsDevInfoResponse)rhs;
}
if(_r != null)
{
if(batchResult != _r.batchResult)
{
return false;
}
if(!java.util.Arrays.equals(gpsDevInfos, _r.gpsDevInfos))
{
return false;
}
return true;
}
return false;
}
public int
hashCode()
{
int __h = 5381;
__h = IceInternal.HashUtil.hashAdd(__h, "::HDaoGps::BatchGpsDevInfoResponse");
__h = IceInternal.HashUtil.hashAdd(__h, batchResult);
__h = IceInternal.HashUtil.hashAdd(__h, gpsDevInfos);
return __h;
}
public Object
clone()
{
Object o = null;
try
{
o = super.clone();
}
catch(CloneNotSupportedException ex)
{
assert false; // impossible
}
return o;
}
public void
__write(IceInternal.BasicStream __os)
{
__os.writeInt(batchResult);
GpsDevInfoSeqHelper.write(__os, gpsDevInfos);
}
public void
__read(IceInternal.BasicStream __is)
{
batchResult = __is.readInt();
gpsDevInfos = GpsDevInfoSeqHelper.read(__is);
}
public static final long serialVersionUID = -3834720778168813516L;
}
// **********************************************************************
//
// Copyright (c) 2003-2013 ZeroC, Inc. All rights reserved.
//
// This copy of Ice is licensed to you under the terms described in the
// ICE_LICENSE file included in this distribution.
//
// **********************************************************************
//
// Ice version 3.5.1
//
// <auto-generated>
//
// Generated from file `HDao_gps.ice'
//
// Warning: do not edit this file.
//
// </auto-generated>
//
package cn.com.glsx.devicemonitor.iceprotocol.hdao;
public final class BatchGpsDevInfoResponseHolder
{
public
BatchGpsDevInfoResponseHolder()
{
}
public
BatchGpsDevInfoResponseHolder(BatchGpsDevInfoResponse value)
{
this.value = value;
}
public BatchGpsDevInfoResponse value;
}
// **********************************************************************
//
// Copyright (c) 2003-2013 ZeroC, Inc. All rights reserved.
//
// This copy of Ice is licensed to you under the terms described in the
// ICE_LICENSE file included in this distribution.
//
// **********************************************************************
//
// Ice version 3.5.1
//
// <auto-generated>
//
// Generated from file `HDao_gps.ice'
//
// Warning: do not edit this file.
//
// </auto-generated>
//
package cn.com.glsx.devicemonitor.iceprotocol.hdao;
public class BatteryRecord implements Cloneable, java.io.Serializable
{
public int gpsTime;
public int battery;
public int storeTime;
public BatteryRecord()
{
}
public BatteryRecord(int gpsTime, int battery, int storeTime)
{
this.gpsTime = gpsTime;
this.battery = battery;
this.storeTime = storeTime;
}
public boolean
equals(Object rhs)
{
if(this == rhs)
{
return true;
}
BatteryRecord _r = null;
if(rhs instanceof BatteryRecord)
{
_r = (BatteryRecord)rhs;
}
if(_r != null)
{
if(gpsTime != _r.gpsTime)
{
return false;
}
if(battery != _r.battery)
{
return false;
}
if(storeTime != _r.storeTime)
{
return false;
}
return true;
}
return false;
}
public int
hashCode()
{
int __h = 5381;
__h = IceInternal.HashUtil.hashAdd(__h, "::HDaoGps::BatteryRecord");
__h = IceInternal.HashUtil.hashAdd(__h, gpsTime);
__h = IceInternal.HashUtil.hashAdd(__h, battery);
__h = IceInternal.HashUtil.hashAdd(__h, storeTime);
return __h;
}
public Object
clone()
{
Object o = null;
try
{
o = super.clone();
}
catch(CloneNotSupportedException ex)
{
assert false; // impossible
}
return o;
}
public void
__write(IceInternal.BasicStream __os)
{
__os.writeInt(gpsTime);
__os.writeInt(battery);
__os.writeInt(storeTime);
}
public void
__read(IceInternal.BasicStream __is)
{
gpsTime = __is.readInt();
battery = __is.readInt();
storeTime = __is.readInt();
}
public static final long serialVersionUID = -2067707541108564068L;
}
// **********************************************************************
//
// Copyright (c) 2003-2013 ZeroC, Inc. All rights reserved.
//
// This copy of Ice is licensed to you under the terms described in the
// ICE_LICENSE file included in this distribution.
//
// **********************************************************************
//
// Ice version 3.5.1
//
// <auto-generated>
//
// Generated from file `HDao_gps.ice'
//
// Warning: do not edit this file.
//
// </auto-generated>
//
package cn.com.glsx.devicemonitor.iceprotocol.hdao;
public final class BatteryRecordHolder
{
public
BatteryRecordHolder()
{
}
public
BatteryRecordHolder(BatteryRecord value)
{
this.value = value;
}
public BatteryRecord value;
}
// **********************************************************************
//
// Copyright (c) 2003-2013 ZeroC, Inc. All rights reserved.
//
// This copy of Ice is licensed to you under the terms described in the
// ICE_LICENSE file included in this distribution.
//
// **********************************************************************
//
// Ice version 3.5.1
//
// <auto-generated>
//
// Generated from file `HDao_gps.ice'
//
// Warning: do not edit this file.
//
// </auto-generated>
//
package cn.com.glsx.devicemonitor.iceprotocol.hdao;
/**
* history BaseStation record
**/
public class BsGetRequest implements Cloneable, java.io.Serializable
{
public long userID;
public int apType;
public int startTime;
public int endTime;
public int reqCount;
public BsGetRequest()
{
}
public BsGetRequest(long userID, int apType, int startTime, int endTime, int reqCount)
{
this.userID = userID;
this.apType = apType;
this.startTime = startTime;
this.endTime = endTime;
this.reqCount = reqCount;
}
public boolean
equals(Object rhs)
{
if(this == rhs)
{
return true;
}
BsGetRequest _r = null;
if(rhs instanceof BsGetRequest)
{
_r = (BsGetRequest)rhs;
}
if(_r != null)
{
if(userID != _r.userID)
{
return false;
}
if(apType != _r.apType)
{
return false;
}
if(startTime != _r.startTime)
{
return false;
}
if(endTime != _r.endTime)
{
return false;
}
if(reqCount != _r.reqCount)
{
return false;
}
return true;
}
return false;
}
public int
hashCode()
{
int __h = 5381;
__h = IceInternal.HashUtil.hashAdd(__h, "::HDaoGps::BsGetRequest");
__h = IceInternal.HashUtil.hashAdd(__h, userID);
__h = IceInternal.HashUtil.hashAdd(__h, apType);
__h = IceInternal.HashUtil.hashAdd(__h, startTime);
__h = IceInternal.HashUtil.hashAdd(__h, endTime);
__h = IceInternal.HashUtil.hashAdd(__h, reqCount);
return __h;
}
public Object
clone()
{
Object o = null;
try
{
o = super.clone();
}
catch(CloneNotSupportedException ex)
{
assert false; // impossible
}
return o;
}
public void
__write(IceInternal.BasicStream __os)
{
__os.writeLong(userID);
__os.writeInt(apType);
__os.writeInt(startTime);
__os.writeInt(endTime);
__os.writeInt(reqCount);
}
public void
__read(IceInternal.BasicStream __is)
{
userID = __is.readLong();
apType = __is.readInt();
startTime = __is.readInt();
endTime = __is.readInt();
reqCount = __is.readInt();
}
public static final long serialVersionUID = 3348109610768716323L;
}
// **********************************************************************
//
// Copyright (c) 2003-2013 ZeroC, Inc. All rights reserved.
//
// This copy of Ice is licensed to you under the terms described in the
// ICE_LICENSE file included in this distribution.
//
// **********************************************************************
//
// Ice version 3.5.1
//
// <auto-generated>
//
// Generated from file `HDao_gps.ice'
//
// Warning: do not edit this file.
//
// </auto-generated>
//
package cn.com.glsx.devicemonitor.iceprotocol.hdao;
public final class BsGetRequestHolder
{
public
BsGetRequestHolder()
{
}
public
BsGetRequestHolder(BsGetRequest value)
{
this.value = value;
}
public BsGetRequest value;
}
// **********************************************************************
//
// Copyright (c) 2003-2013 ZeroC, Inc. All rights reserved.
//
// This copy of Ice is licensed to you under the terms described in the
// ICE_LICENSE file included in this distribution.
//
// **********************************************************************
//
// Ice version 3.5.1
//
// <auto-generated>
//
// Generated from file `HDao_gps.ice'
//
// Warning: do not edit this file.
//
// </auto-generated>
//
package cn.com.glsx.devicemonitor.iceprotocol.hdao;
public class BsGetResponse implements Cloneable, java.io.Serializable
{
public int oprResult;
public BsRecord[] records;
public BsGetResponse()
{
}
public BsGetResponse(int oprResult, BsRecord[] records)
{
this.oprResult = oprResult;
this.records = records;
}
public boolean
equals(Object rhs)
{
if(this == rhs)
{
return true;
}
BsGetResponse _r = null;
if(rhs instanceof BsGetResponse)
{
_r = (BsGetResponse)rhs;
}
if(_r != null)
{
if(oprResult != _r.oprResult)
{
return false;
}
if(!java.util.Arrays.equals(records, _r.records))
{
return false;
}
return true;
}
return false;
}
public int
hashCode()
{
int __h = 5381;
__h = IceInternal.HashUtil.hashAdd(__h, "::HDaoGps::BsGetResponse");
__h = IceInternal.HashUtil.hashAdd(__h, oprResult);
__h = IceInternal.HashUtil.hashAdd(__h, records);
return __h;
}
public Object
clone()
{
Object o = null;
try
{
o = super.clone();
}
catch(CloneNotSupportedException ex)
{
assert false; // impossible
}
return o;
}
public void
__write(IceInternal.BasicStream __os)
{
__os.writeInt(oprResult);
BsRecordsHelper.write(__os, records);
}
public void
__read(IceInternal.BasicStream __is)
{
oprResult = __is.readInt();
records = BsRecordsHelper.read(__is);
}
public static final long serialVersionUID = -8093956956733053997L;
}
// **********************************************************************
//
// Copyright (c) 2003-2013 ZeroC, Inc. All rights reserved.
//
// This copy of Ice is licensed to you under the terms described in the
// ICE_LICENSE file included in this distribution.
//
// **********************************************************************
//
// Ice version 3.5.1
//
// <auto-generated>
//
// Generated from file `HDao_gps.ice'
//
// Warning: do not edit this file.
//
// </auto-generated>
//
package cn.com.glsx.devicemonitor.iceprotocol.hdao;
public final class BsGetResponseHolder
{
public
BsGetResponseHolder()
{
}
public
BsGetResponseHolder(BsGetResponse value)
{
this.value = value;
}
public BsGetResponse value;
}
// **********************************************************************
//
// Copyright (c) 2003-2013 ZeroC, Inc. All rights reserved.
//
// This copy of Ice is licensed to you under the terms described in the
// ICE_LICENSE file included in this distribution.
//
// **********************************************************************
//
// Ice version 3.5.1
//
// <auto-generated>
//
// Generated from file `HDao_gps.ice'
//
// Warning: do not edit this file.
//
// </auto-generated>
//
package cn.com.glsx.devicemonitor.iceprotocol.hdao;
public class BsInfo implements Cloneable, java.io.Serializable
{
public int lac;
public int cellId;
public int signal;
public BsInfo()
{
}
public BsInfo(int lac, int cellId, int signal)
{
this.lac = lac;
this.cellId = cellId;
this.signal = signal;
}
public boolean
equals(Object rhs)
{
if(this == rhs)
{
return true;
}
BsInfo _r = null;
if(rhs instanceof BsInfo)
{
_r = (BsInfo)rhs;
}
if(_r != null)
{
if(lac != _r.lac)
{
return false;
}
if(cellId != _r.cellId)
{
return false;
}
if(signal != _r.signal)
{
return false;
}
return true;
}
return false;
}
public int
hashCode()
{
int __h = 5381;
__h = IceInternal.HashUtil.hashAdd(__h, "::HDaoGps::BsInfo");
__h = IceInternal.HashUtil.hashAdd(__h, lac);
__h = IceInternal.HashUtil.hashAdd(__h, cellId);
__h = IceInternal.HashUtil.hashAdd(__h, signal);
return __h;
}
public Object
clone()
{
Object o = null;
try
{
o = super.clone();
}
catch(CloneNotSupportedException ex)
{
assert false; // impossible
}
return o;
}
public void
__write(IceInternal.BasicStream __os)
{
__os.writeInt(lac);
__os.writeInt(cellId);
__os.writeInt(signal);
}
public void
__read(IceInternal.BasicStream __is)
{
lac = __is.readInt();
cellId = __is.readInt();
signal = __is.readInt();
}
public static final long serialVersionUID = -6141235578307705906L;
}
// **********************************************************************
//
// Copyright (c) 2003-2013 ZeroC, Inc. All rights reserved.
//
// This copy of Ice is licensed to you under the terms described in the
// ICE_LICENSE file included in this distribution.
//
// **********************************************************************
//
// Ice version 3.5.1
//
// <auto-generated>
//
// Generated from file `HDao_gps.ice'
//
// Warning: do not edit this file.
//
// </auto-generated>
//
package cn.com.glsx.devicemonitor.iceprotocol.hdao;
public final class BsInfoArrayHelper
{
public static void
write(IceInternal.BasicStream __os, BsInfo[] __v)
{
if(__v == null)
{
__os.writeSize(0);
}
else
{
__os.writeSize(__v.length);
for(int __i0 = 0; __i0 < __v.length; __i0++)
{
__v[__i0].__write(__os);
}
}
}
public static BsInfo[]
read(IceInternal.BasicStream __is)
{
BsInfo[] __v;
final int __len0 = __is.readAndCheckSeqSize(12);
__v = new BsInfo[__len0];
for(int __i0 = 0; __i0 < __len0; __i0++)
{
__v[__i0] = new BsInfo();
__v[__i0].__read(__is);
}
return __v;
}
}
// **********************************************************************
//
// Copyright (c) 2003-2013 ZeroC, Inc. All rights reserved.
//
// This copy of Ice is licensed to you under the terms described in the
// ICE_LICENSE file included in this distribution.
//
// **********************************************************************
//
// Ice version 3.5.1
//
// <auto-generated>
//
// Generated from file `HDao_gps.ice'
//
// Warning: do not edit this file.
//
// </auto-generated>
//
package cn.com.glsx.devicemonitor.iceprotocol.hdao;
public final class BsInfoArrayHolder
{
public
BsInfoArrayHolder()
{
}
public
BsInfoArrayHolder(BsInfo[] value)
{
this.value = value;
}
public BsInfo[] value;
}
// **********************************************************************
//
// Copyright (c) 2003-2013 ZeroC, Inc. All rights reserved.
//
// This copy of Ice is licensed to you under the terms described in the
// ICE_LICENSE file included in this distribution.
//
// **********************************************************************
//
// Ice version 3.5.1
//
// <auto-generated>
//
// Generated from file `HDao_gps.ice'
//
// Warning: do not edit this file.
//
// </auto-generated>
//
package cn.com.glsx.devicemonitor.iceprotocol.hdao;
public final class BsInfoHolder
{
public
BsInfoHolder()
{
}
public
BsInfoHolder(BsInfo value)
{
this.value = value;
}
public BsInfo value;
}
// **********************************************************************
//
// Copyright (c) 2003-2013 ZeroC, Inc. All rights reserved.
//
// This copy of Ice is licensed to you under the terms described in the
// ICE_LICENSE file included in this distribution.
//
// **********************************************************************
//
// Ice version 3.5.1
//
// <auto-generated>
//
// Generated from file `HDao_gps.ice'
//
// Warning: do not edit this file.
//
// </auto-generated>
//
package cn.com.glsx.devicemonitor.iceprotocol.hdao;
public class BsRecord implements Cloneable, java.io.Serializable
{
public int gpsTime;
public int storeTime;
public int mcc;
public int mnc;
public BsInfo[] bsInfos;
public BsRecord()
{
}
public BsRecord(int gpsTime, int storeTime, int mcc, int mnc, BsInfo[] bsInfos)
{
this.gpsTime = gpsTime;
this.storeTime = storeTime;
this.mcc = mcc;
this.mnc = mnc;
this.bsInfos = bsInfos;
}
public boolean
equals(Object rhs)
{
if(this == rhs)
{
return true;
}
BsRecord _r = null;
if(rhs instanceof BsRecord)
{
_r = (BsRecord)rhs;
}
if(_r != null)
{
if(gpsTime != _r.gpsTime)
{
return false;
}
if(storeTime != _r.storeTime)
{
return false;
}
if(mcc != _r.mcc)
{
return false;
}
if(mnc != _r.mnc)
{
return false;
}
if(!java.util.Arrays.equals(bsInfos, _r.bsInfos))
{
return false;
}
return true;
}
return false;
}
public int
hashCode()
{
int __h = 5381;
__h = IceInternal.HashUtil.hashAdd(__h, "::HDaoGps::BsRecord");
__h = IceInternal.HashUtil.hashAdd(__h, gpsTime);
__h = IceInternal.HashUtil.hashAdd(__h, storeTime);
__h = IceInternal.HashUtil.hashAdd(__h, mcc);
__h = IceInternal.HashUtil.hashAdd(__h, mnc);
__h = IceInternal.HashUtil.hashAdd(__h, bsInfos);
return __h;
}
public Object
clone()
{
Object o = null;
try
{
o = super.clone();
}
catch(CloneNotSupportedException ex)
{
assert false; // impossible
}
return o;
}
public void
__write(IceInternal.BasicStream __os)
{
__os.writeInt(gpsTime);
__os.writeInt(storeTime);
__os.writeInt(mcc);
__os.writeInt(mnc);
BsInfoArrayHelper.write(__os, bsInfos);
}
public void
__read(IceInternal.BasicStream __is)
{
gpsTime = __is.readInt();
storeTime = __is.readInt();
mcc = __is.readInt();
mnc = __is.readInt();
bsInfos = BsInfoArrayHelper.read(__is);
}
public static final long serialVersionUID = 1328093076371208236L;
}
// **********************************************************************
//
// Copyright (c) 2003-2013 ZeroC, Inc. All rights reserved.
//
// This copy of Ice is licensed to you under the terms described in the
// ICE_LICENSE file included in this distribution.
//
// **********************************************************************
//
// Ice version 3.5.1
//
// <auto-generated>
//
// Generated from file `HDao_gps.ice'
//
// Warning: do not edit this file.
//
// </auto-generated>
//
package cn.com.glsx.devicemonitor.iceprotocol.hdao;
public final class BsRecordHolder
{
public
BsRecordHolder()
{
}
public
BsRecordHolder(BsRecord value)
{
this.value = value;
}
public BsRecord value;
}
// **********************************************************************
//
// Copyright (c) 2003-2013 ZeroC, Inc. All rights reserved.
//
// This copy of Ice is licensed to you under the terms described in the
// ICE_LICENSE file included in this distribution.
//
// **********************************************************************
//
// Ice version 3.5.1
//
// <auto-generated>
//
// Generated from file `HDao_gps.ice'
//
// Warning: do not edit this file.
//
// </auto-generated>
//
package cn.com.glsx.devicemonitor.iceprotocol.hdao;
public final class BsRecordsHelper
{
public static void
write(IceInternal.BasicStream __os, BsRecord[] __v)
{
if(__v == null)
{
__os.writeSize(0);
}
else
{
__os.writeSize(__v.length);
for(int __i0 = 0; __i0 < __v.length; __i0++)
{
__v[__i0].__write(__os);
}
}
}
public static BsRecord[]
read(IceInternal.BasicStream __is)
{
BsRecord[] __v;
final int __len0 = __is.readAndCheckSeqSize(17);
__v = new BsRecord[__len0];
for(int __i0 = 0; __i0 < __len0; __i0++)
{
__v[__i0] = new BsRecord();
__v[__i0].__read(__is);
}
return __v;
}
}
// **********************************************************************
//
// Copyright (c) 2003-2013 ZeroC, Inc. All rights reserved.
//
// This copy of Ice is licensed to you under the terms described in the
// ICE_LICENSE file included in this distribution.
//
// **********************************************************************
//
// Ice version 3.5.1
//
// <auto-generated>
//
// Generated from file `HDao_gps.ice'
//
// Warning: do not edit this file.
//
// </auto-generated>
//
package cn.com.glsx.devicemonitor.iceprotocol.hdao;
public final class BsRecordsHolder
{
public
BsRecordsHolder()
{
}
public
BsRecordsHolder(BsRecord[] value)
{
this.value = value;
}
public BsRecord[] value;
}
// **********************************************************************
//
// Copyright (c) 2003-2013 ZeroC, Inc. All rights reserved.
//
// This copy of Ice is licensed to you under the terms described in the
// ICE_LICENSE file included in this distribution.
//
// **********************************************************************
//
// Ice version 3.5.1
//
// <auto-generated>
//
// Generated from file `HDao_gps.ice'
//
// Warning: do not edit this file.
//
// </auto-generated>
//
package cn.com.glsx.devicemonitor.iceprotocol.hdao;
public class BsWorkModeGetRequest implements Cloneable, java.io.Serializable
{
public long userID;
public int apType;
public int startTime;
public int endTime;
public int reqCount;
public BsWorkModeGetRequest()
{
}
public BsWorkModeGetRequest(long userID, int apType, int startTime, int endTime, int reqCount)
{
this.userID = userID;
this.apType = apType;
this.startTime = startTime;
this.endTime = endTime;
this.reqCount = reqCount;
}
public boolean
equals(Object rhs)
{
if(this == rhs)
{
return true;
}
BsWorkModeGetRequest _r = null;
if(rhs instanceof BsWorkModeGetRequest)
{
_r = (BsWorkModeGetRequest)rhs;
}
if(_r != null)
{
if(userID != _r.userID)
{
return false;
}
if(apType != _r.apType)
{
return false;
}
if(startTime != _r.startTime)
{
return false;
}
if(endTime != _r.endTime)
{
return false;
}
if(reqCount != _r.reqCount)
{
return false;
}
return true;
}
return false;
}
public int
hashCode()
{
int __h = 5381;
__h = IceInternal.HashUtil.hashAdd(__h, "::HDaoGps::BsWorkModeGetRequest");
__h = IceInternal.HashUtil.hashAdd(__h, userID);
__h = IceInternal.HashUtil.hashAdd(__h, apType);
__h = IceInternal.HashUtil.hashAdd(__h, startTime);
__h = IceInternal.HashUtil.hashAdd(__h, endTime);
__h = IceInternal.HashUtil.hashAdd(__h, reqCount);
return __h;
}
public Object
clone()
{
Object o = null;
try
{
o = super.clone();
}
catch(CloneNotSupportedException ex)
{
assert false; // impossible
}
return o;
}
public void
__write(IceInternal.BasicStream __os)
{
__os.writeLong(userID);
__os.writeInt(apType);
__os.writeInt(startTime);
__os.writeInt(endTime);
__os.writeInt(reqCount);
}
public void
__read(IceInternal.BasicStream __is)
{
userID = __is.readLong();
apType = __is.readInt();
startTime = __is.readInt();
endTime = __is.readInt();
reqCount = __is.readInt();
}
public static final long serialVersionUID = 4381286516000313377L;
}
// **********************************************************************
//
// Copyright (c) 2003-2013 ZeroC, Inc. All rights reserved.
//
// This copy of Ice is licensed to you under the terms described in the
// ICE_LICENSE file included in this distribution.
//
// **********************************************************************
//
// Ice version 3.5.1
//
// <auto-generated>
//
// Generated from file `HDao_gps.ice'
//
// Warning: do not edit this file.
//
// </auto-generated>
//
package cn.com.glsx.devicemonitor.iceprotocol.hdao;
public final class BsWorkModeGetRequestHolder
{
public
BsWorkModeGetRequestHolder()
{
}
public
BsWorkModeGetRequestHolder(BsWorkModeGetRequest value)
{
this.value = value;
}
public BsWorkModeGetRequest value;
}
// **********************************************************************
//
// Copyright (c) 2003-2013 ZeroC, Inc. All rights reserved.
//
// This copy of Ice is licensed to you under the terms described in the
// ICE_LICENSE file included in this distribution.
//
// **********************************************************************
//
// Ice version 3.5.1
//
// <auto-generated>
//
// Generated from file `HDao_gps.ice'
//
// Warning: do not edit this file.
//
// </auto-generated>
//
package cn.com.glsx.devicemonitor.iceprotocol.hdao;
public class BsWorkModeGetResponse implements Cloneable, java.io.Serializable
{
public int oprResult;
public BsWorkModeRecord[] records;
public BsWorkModeGetResponse()
{
}
public BsWorkModeGetResponse(int oprResult, BsWorkModeRecord[] records)
{
this.oprResult = oprResult;
this.records = records;
}
public boolean
equals(Object rhs)
{
if(this == rhs)
{
return true;
}
BsWorkModeGetResponse _r = null;
if(rhs instanceof BsWorkModeGetResponse)
{
_r = (BsWorkModeGetResponse)rhs;
}
if(_r != null)
{
if(oprResult != _r.oprResult)
{
return false;
}
if(!java.util.Arrays.equals(records, _r.records))
{
return false;
}
return true;
}
return false;
}
public int
hashCode()
{
int __h = 5381;
__h = IceInternal.HashUtil.hashAdd(__h, "::HDaoGps::BsWorkModeGetResponse");
__h = IceInternal.HashUtil.hashAdd(__h, oprResult);
__h = IceInternal.HashUtil.hashAdd(__h, records);
return __h;
}
public Object
clone()
{
Object o = null;
try
{
o = super.clone();
}
catch(CloneNotSupportedException ex)
{
assert false; // impossible
}
return o;
}
public void
__write(IceInternal.BasicStream __os)
{
__os.writeInt(oprResult);
BsWorkModeRecordsHelper.write(__os, records);
}
public void
__read(IceInternal.BasicStream __is)
{
oprResult = __is.readInt();
records = BsWorkModeRecordsHelper.read(__is);
}
public static final long serialVersionUID = 8985783764598807953L;
}
// **********************************************************************
//
// Copyright (c) 2003-2013 ZeroC, Inc. All rights reserved.
//
// This copy of Ice is licensed to you under the terms described in the
// ICE_LICENSE file included in this distribution.
//
// **********************************************************************
//
// Ice version 3.5.1
//
// <auto-generated>
//
// Generated from file `HDao_gps.ice'
//
// Warning: do not edit this file.
//
// </auto-generated>
//
package cn.com.glsx.devicemonitor.iceprotocol.hdao;
public final class BsWorkModeGetResponseHolder
{
public
BsWorkModeGetResponseHolder()
{
}
public
BsWorkModeGetResponseHolder(BsWorkModeGetResponse value)
{
this.value = value;
}
public BsWorkModeGetResponse value;
}
// **********************************************************************
//
// Copyright (c) 2003-2013 ZeroC, Inc. All rights reserved.
//
// This copy of Ice is licensed to you under the terms described in the
// ICE_LICENSE file included in this distribution.
//
// **********************************************************************
//
// Ice version 3.5.1
//
// <auto-generated>
//
// Generated from file `HDao_gps.ice'
//
// Warning: do not edit this file.
//
// </auto-generated>
//
package cn.com.glsx.devicemonitor.iceprotocol.hdao;
public class BsWorkModeRecord implements Cloneable, java.io.Serializable
{
public int gpsTime;
public int storeTime;
public int mcc;
public int mnc;
public BsInfo[] bsInfos;
public int gsensor;
public int workmode;
public BsWorkModeRecord()
{
}
public BsWorkModeRecord(int gpsTime, int storeTime, int mcc, int mnc, BsInfo[] bsInfos, int gsensor, int workmode)
{
this.gpsTime = gpsTime;
this.storeTime = storeTime;
this.mcc = mcc;
this.mnc = mnc;
this.bsInfos = bsInfos;
this.gsensor = gsensor;
this.workmode = workmode;
}
public boolean
equals(Object rhs)
{
if(this == rhs)
{
return true;
}
BsWorkModeRecord _r = null;
if(rhs instanceof BsWorkModeRecord)
{
_r = (BsWorkModeRecord)rhs;
}
if(_r != null)
{
if(gpsTime != _r.gpsTime)
{
return false;
}
if(storeTime != _r.storeTime)
{
return false;
}
if(mcc != _r.mcc)
{
return false;
}
if(mnc != _r.mnc)
{
return false;
}
if(!java.util.Arrays.equals(bsInfos, _r.bsInfos))
{
return false;
}
if(gsensor != _r.gsensor)
{
return false;
}
if(workmode != _r.workmode)
{
return false;
}
return true;
}
return false;
}
public int
hashCode()
{
int __h = 5381;
__h = IceInternal.HashUtil.hashAdd(__h, "::HDaoGps::BsWorkModeRecord");
__h = IceInternal.HashUtil.hashAdd(__h, gpsTime);
__h = IceInternal.HashUtil.hashAdd(__h, storeTime);
__h = IceInternal.HashUtil.hashAdd(__h, mcc);
__h = IceInternal.HashUtil.hashAdd(__h, mnc);
__h = IceInternal.HashUtil.hashAdd(__h, bsInfos);
__h = IceInternal.HashUtil.hashAdd(__h, gsensor);
__h = IceInternal.HashUtil.hashAdd(__h, workmode);
return __h;
}
public Object
clone()
{
Object o = null;
try
{
o = super.clone();
}
catch(CloneNotSupportedException ex)
{
assert false; // impossible
}
return o;
}
public void
__write(IceInternal.BasicStream __os)
{
__os.writeInt(gpsTime);
__os.writeInt(storeTime);
__os.writeInt(mcc);
__os.writeInt(mnc);
BsInfoArrayHelper.write(__os, bsInfos);
__os.writeInt(gsensor);
__os.writeInt(workmode);
}
public void
__read(IceInternal.BasicStream __is)
{
gpsTime = __is.readInt();
storeTime = __is.readInt();
mcc = __is.readInt();
mnc = __is.readInt();
bsInfos = BsInfoArrayHelper.read(__is);
gsensor = __is.readInt();
workmode = __is.readInt();
}
public static final long serialVersionUID = -5017340778083374883L;
}
// **********************************************************************
//
// Copyright (c) 2003-2013 ZeroC, Inc. All rights reserved.
//
// This copy of Ice is licensed to you under the terms described in the
// ICE_LICENSE file included in this distribution.
//
// **********************************************************************
//
// Ice version 3.5.1
//
// <auto-generated>
//
// Generated from file `HDao_gps.ice'
//
// Warning: do not edit this file.
//
// </auto-generated>
//
package cn.com.glsx.devicemonitor.iceprotocol.hdao;
public final class BsWorkModeRecordHolder
{
public
BsWorkModeRecordHolder()
{
}
public
BsWorkModeRecordHolder(BsWorkModeRecord value)
{
this.value = value;
}
public BsWorkModeRecord value;
}
// **********************************************************************
//
// Copyright (c) 2003-2013 ZeroC, Inc. All rights reserved.
//
// This copy of Ice is licensed to you under the terms described in the
// ICE_LICENSE file included in this distribution.
//
// **********************************************************************
//
// Ice version 3.5.1
//
// <auto-generated>
//
// Generated from file `HDao_gps.ice'
//
// Warning: do not edit this file.
//
// </auto-generated>
//
package cn.com.glsx.devicemonitor.iceprotocol.hdao;
public final class BsWorkModeRecordsHelper
{
public static void
write(IceInternal.BasicStream __os, BsWorkModeRecord[] __v)
{
if(__v == null)
{
__os.writeSize(0);
}
else
{
__os.writeSize(__v.length);
for(int __i0 = 0; __i0 < __v.length; __i0++)
{
__v[__i0].__write(__os);
}
}
}
public static BsWorkModeRecord[]
read(IceInternal.BasicStream __is)
{
BsWorkModeRecord[] __v;
final int __len0 = __is.readAndCheckSeqSize(25);
__v = new BsWorkModeRecord[__len0];
for(int __i0 = 0; __i0 < __len0; __i0++)
{
__v[__i0] = new BsWorkModeRecord();
__v[__i0].__read(__is);
}
return __v;
}
}
// **********************************************************************
//
// Copyright (c) 2003-2013 ZeroC, Inc. All rights reserved.
//
// This copy of Ice is licensed to you under the terms described in the
// ICE_LICENSE file included in this distribution.
//
// **********************************************************************
//
// Ice version 3.5.1
//
// <auto-generated>
//
// Generated from file `HDao_gps.ice'
//
// Warning: do not edit this file.
//
// </auto-generated>
//
package cn.com.glsx.devicemonitor.iceprotocol.hdao;
public final class BsWorkModeRecordsHolder
{
public
BsWorkModeRecordsHolder()
{
}
public
BsWorkModeRecordsHolder(BsWorkModeRecord[] value)
{
this.value = value;
}
public BsWorkModeRecord[] value;
}
// **********************************************************************
//
// Copyright (c) 2003-2013 ZeroC, Inc. All rights reserved.
//
// This copy of Ice is licensed to you under the terms described in the
// ICE_LICENSE file included in this distribution.
//
// **********************************************************************
//
// Ice version 3.5.1
//
// <auto-generated>
//
// Generated from file `HDao_gps.ice'
//
// Warning: do not edit this file.
//
// </auto-generated>
//
package cn.com.glsx.devicemonitor.iceprotocol.hdao;
public abstract class Callback_DaoGpsService_convGeoGps extends Ice.TwowayCallback
{
public abstract void response(boolean __ret, ConvResponseResult rsp);
public final void __completed(Ice.AsyncResult __result)
{
DaoGpsServicePrx __proxy = (DaoGpsServicePrx)__result.getProxy();
boolean __ret = false;
ConvResponseResultHolder rsp = new ConvResponseResultHolder();
try
{
__ret = __proxy.end_convGeoGps(rsp, __result);
}
catch(Ice.LocalException __ex)
{
exception(__ex);
return;
}
response(__ret, rsp.value);
}
}
// **********************************************************************
//
// Copyright (c) 2003-2013 ZeroC, Inc. All rights reserved.
//
// This copy of Ice is licensed to you under the terms described in the
// ICE_LICENSE file included in this distribution.
//
// **********************************************************************
//
// Ice version 3.5.1
//
// <auto-generated>
//
// Generated from file `HDao_gps.ice'
//
// Warning: do not edit this file.
//
// </auto-generated>
//
package cn.com.glsx.devicemonitor.iceprotocol.hdao;
public abstract class Callback_DaoGpsService_getBsRecords extends Ice.TwowayCallback
{
public abstract void response(boolean __ret, BsGetResponse res);
public final void __completed(Ice.AsyncResult __result)
{
DaoGpsServicePrx __proxy = (DaoGpsServicePrx)__result.getProxy();
boolean __ret = false;
BsGetResponseHolder res = new BsGetResponseHolder();
try
{
__ret = __proxy.end_getBsRecords(res, __result);
}
catch(Ice.LocalException __ex)
{
exception(__ex);
return;
}
response(__ret, res.value);
}
}
// **********************************************************************
//
// Copyright (c) 2003-2013 ZeroC, Inc. All rights reserved.
//
// This copy of Ice is licensed to you under the terms described in the
// ICE_LICENSE file included in this distribution.
//
// **********************************************************************
//
// Ice version 3.5.1
//
// <auto-generated>
//
// Generated from file `HDao_gps.ice'
//
// Warning: do not edit this file.
//
// </auto-generated>
//
package cn.com.glsx.devicemonitor.iceprotocol.hdao;
public abstract class Callback_DaoGpsService_getBsWorkModeRecords extends Ice.TwowayCallback
{
public abstract void response(boolean __ret, BsWorkModeGetResponse res);
public final void __completed(Ice.AsyncResult __result)
{
DaoGpsServicePrx __proxy = (DaoGpsServicePrx)__result.getProxy();
boolean __ret = false;
BsWorkModeGetResponseHolder res = new BsWorkModeGetResponseHolder();
try
{
__ret = __proxy.end_getBsWorkModeRecords(res, __result);
}
catch(Ice.LocalException __ex)
{
exception(__ex);
return;
}
response(__ret, res.value);
}
}
// **********************************************************************
//
// Copyright (c) 2003-2013 ZeroC, Inc. All rights reserved.
//
// This copy of Ice is licensed to you under the terms described in the
// ICE_LICENSE file included in this distribution.
//
// **********************************************************************
//
// Ice version 3.5.1
//
// <auto-generated>
//
// Generated from file `HDao_gps.ice'
//
// Warning: do not edit this file.
//
// </auto-generated>
//
package cn.com.glsx.devicemonitor.iceprotocol.hdao;
public abstract class Callback_DaoGpsService_getDataCardInfo extends Ice.TwowayCallback
{
public abstract void response(boolean __ret, DataCardGetResponse res);
public final void __completed(Ice.AsyncResult __result)
{
DaoGpsServicePrx __proxy = (DaoGpsServicePrx)__result.getProxy();
boolean __ret = false;
DataCardGetResponseHolder res = new DataCardGetResponseHolder();
try
{
__ret = __proxy.end_getDataCardInfo(res, __result);
}
catch(Ice.LocalException __ex)
{
exception(__ex);
return;
}
response(__ret, res.value);
}
}
// **********************************************************************
//
// Copyright (c) 2003-2013 ZeroC, Inc. All rights reserved.
//
// This copy of Ice is licensed to you under the terms described in the
// ICE_LICENSE file included in this distribution.
//
// **********************************************************************
//
// Ice version 3.5.1
//
// <auto-generated>
//
// Generated from file `HDao_gps.ice'
//
// Warning: do not edit this file.
//
// </auto-generated>
//
package cn.com.glsx.devicemonitor.iceprotocol.hdao;
public abstract class Callback_DaoGpsService_getDayLastGpsRecord extends Ice.TwowayCallback
{
public abstract void response(boolean __ret, DayLastGpsGetResponse res);
public final void __completed(Ice.AsyncResult __result)
{
DaoGpsServicePrx __proxy = (DaoGpsServicePrx)__result.getProxy();
boolean __ret = false;
DayLastGpsGetResponseHolder res = new DayLastGpsGetResponseHolder();
try
{
__ret = __proxy.end_getDayLastGpsRecord(res, __result);
}
catch(Ice.LocalException __ex)
{
exception(__ex);
return;
}
response(__ret, res.value);
}
}
// **********************************************************************
//
// Copyright (c) 2003-2013 ZeroC, Inc. All rights reserved.
//
// This copy of Ice is licensed to you under the terms described in the
// ICE_LICENSE file included in this distribution.
//
// **********************************************************************
//
// Ice version 3.5.1
//
// <auto-generated>
//
// Generated from file `HDao_gps.ice'
//
// Warning: do not edit this file.
//
// </auto-generated>
//
package cn.com.glsx.devicemonitor.iceprotocol.hdao;
public abstract class Callback_DaoGpsService_getDevicesGpsInfo extends Ice.TwowayCallback
{
public abstract void response(boolean __ret, BatchGpsDevInfoResponse res);
public final void __completed(Ice.AsyncResult __result)
{
DaoGpsServicePrx __proxy = (DaoGpsServicePrx)__result.getProxy();
boolean __ret = false;
BatchGpsDevInfoResponseHolder res = new BatchGpsDevInfoResponseHolder();
try
{
__ret = __proxy.end_getDevicesGpsInfo(res, __result);
}
catch(Ice.LocalException __ex)
{
exception(__ex);
return;
}
response(__ret, res.value);
}
}
// **********************************************************************
//
// Copyright (c) 2003-2013 ZeroC, Inc. All rights reserved.
//
// This copy of Ice is licensed to you under the terms described in the
// ICE_LICENSE file included in this distribution.
//
// **********************************************************************
//
// Ice version 3.5.1
//
// <auto-generated>
//
// Generated from file `HDao_gps.ice'
//
// Warning: do not edit this file.
//
// </auto-generated>
//
package cn.com.glsx.devicemonitor.iceprotocol.hdao;
public abstract class Callback_DaoGpsService_getDevicesTotalCount extends Ice.TwowayCallback
{
public abstract void response(boolean __ret, DevicesTotalCountRes res);
public final void __completed(Ice.AsyncResult __result)
{
DaoGpsServicePrx __proxy = (DaoGpsServicePrx)__result.getProxy();
boolean __ret = false;
DevicesTotalCountResHolder res = new DevicesTotalCountResHolder();
try
{
__ret = __proxy.end_getDevicesTotalCount(res, __result);
}
catch(Ice.LocalException __ex)
{
exception(__ex);
return;
}
response(__ret, res.value);
}
}
// **********************************************************************
//
// Copyright (c) 2003-2013 ZeroC, Inc. All rights reserved.
//
// This copy of Ice is licensed to you under the terms described in the
// ICE_LICENSE file included in this distribution.
//
// **********************************************************************
//
// Ice version 3.5.1
//
// <auto-generated>
//
// Generated from file `HDao_gps.ice'
//
// Warning: do not edit this file.
//
// </auto-generated>
//
package cn.com.glsx.devicemonitor.iceprotocol.hdao;
public abstract class Callback_DaoGpsService_getFirstBsRecord extends Ice.TwowayCallback
{
public abstract void response(boolean __ret, BsGetResponse res);
public final void __completed(Ice.AsyncResult __result)
{
DaoGpsServicePrx __proxy = (DaoGpsServicePrx)__result.getProxy();
boolean __ret = false;
BsGetResponseHolder res = new BsGetResponseHolder();
try
{
__ret = __proxy.end_getFirstBsRecord(res, __result);
}
catch(Ice.LocalException __ex)
{
exception(__ex);
return;
}
response(__ret, res.value);
}
}
// **********************************************************************
//
// Copyright (c) 2003-2013 ZeroC, Inc. All rights reserved.
//
// This copy of Ice is licensed to you under the terms described in the
// ICE_LICENSE file included in this distribution.
//
// **********************************************************************
//
// Ice version 3.5.1
//
// <auto-generated>
//
// Generated from file `HDao_gps.ice'
//
// Warning: do not edit this file.
//
// </auto-generated>
//
package cn.com.glsx.devicemonitor.iceprotocol.hdao;
public abstract class Callback_DaoGpsService_getFirstGpsBsRecord extends Ice.TwowayCallback
{
public abstract void response(boolean __ret, GpsBsGetResponse res);
public final void __completed(Ice.AsyncResult __result)
{
DaoGpsServicePrx __proxy = (DaoGpsServicePrx)__result.getProxy();
boolean __ret = false;
GpsBsGetResponseHolder res = new GpsBsGetResponseHolder();
try
{
__ret = __proxy.end_getFirstGpsBsRecord(res, __result);
}
catch(Ice.LocalException __ex)
{
exception(__ex);
return;
}
response(__ret, res.value);
}
}
// **********************************************************************
//
// Copyright (c) 2003-2013 ZeroC, Inc. All rights reserved.
//
// This copy of Ice is licensed to you under the terms described in the
// ICE_LICENSE file included in this distribution.
//
// **********************************************************************
//
// Ice version 3.5.1
//
// <auto-generated>
//
// Generated from file `HDao_gps.ice'
//
// Warning: do not edit this file.
//
// </auto-generated>
//
package cn.com.glsx.devicemonitor.iceprotocol.hdao;
public abstract class Callback_DaoGpsService_getFirstGpsRecord extends Ice.TwowayCallback
{
public abstract void response(boolean __ret, GpsGetResponse res);
public final void __completed(Ice.AsyncResult __result)
{
DaoGpsServicePrx __proxy = (DaoGpsServicePrx)__result.getProxy();
boolean __ret = false;
GpsGetResponseHolder res = new GpsGetResponseHolder();
try
{
__ret = __proxy.end_getFirstGpsRecord(res, __result);
}
catch(Ice.LocalException __ex)
{
exception(__ex);
return;
}
response(__ret, res.value);
}
}
// **********************************************************************
//
// Copyright (c) 2003-2013 ZeroC, Inc. All rights reserved.
//
// This copy of Ice is licensed to you under the terms described in the
// ICE_LICENSE file included in this distribution.
//
// **********************************************************************
//
// Ice version 3.5.1
//
// <auto-generated>
//
// Generated from file `HDao_gps.ice'
//
// Warning: do not edit this file.
//
// </auto-generated>
//
package cn.com.glsx.devicemonitor.iceprotocol.hdao;
public abstract class Callback_DaoGpsService_getGpsBsRecords extends Ice.TwowayCallback
{
public abstract void response(boolean __ret, GpsBsGetResponse res);
public final void __completed(Ice.AsyncResult __result)
{
DaoGpsServicePrx __proxy = (DaoGpsServicePrx)__result.getProxy();
boolean __ret = false;
GpsBsGetResponseHolder res = new GpsBsGetResponseHolder();
try
{
__ret = __proxy.end_getGpsBsRecords(res, __result);
}
catch(Ice.LocalException __ex)
{
exception(__ex);
return;
}
response(__ret, res.value);
}
}
// **********************************************************************
//
// Copyright (c) 2003-2013 ZeroC, Inc. All rights reserved.
//
// This copy of Ice is licensed to you under the terms described in the
// ICE_LICENSE file included in this distribution.
//
// **********************************************************************
//
// Ice version 3.5.1
//
// <auto-generated>
//
// Generated from file `HDao_gps.ice'
//
// Warning: do not edit this file.
//
// </auto-generated>
//
package cn.com.glsx.devicemonitor.iceprotocol.hdao;
public abstract class Callback_DaoGpsService_getGpsRecords extends Ice.TwowayCallback
{
public abstract void response(boolean __ret, GpsGetResponse res);
public final void __completed(Ice.AsyncResult __result)
{
DaoGpsServicePrx __proxy = (DaoGpsServicePrx)__result.getProxy();
boolean __ret = false;
GpsGetResponseHolder res = new GpsGetResponseHolder();
try
{
__ret = __proxy.end_getGpsRecords(res, __result);
}
catch(Ice.LocalException __ex)
{
exception(__ex);
return;
}
response(__ret, res.value);
}
}
// **********************************************************************
//
// Copyright (c) 2003-2013 ZeroC, Inc. All rights reserved.
//
// This copy of Ice is licensed to you under the terms described in the
// ICE_LICENSE file included in this distribution.
//
// **********************************************************************
//
// Ice version 3.5.1
//
// <auto-generated>
//
// Generated from file `HDao_gps.ice'
//
// Warning: do not edit this file.
//
// </auto-generated>
//
package cn.com.glsx.devicemonitor.iceprotocol.hdao;
public abstract class Callback_DaoGpsService_getGpsRecordsByImei extends Ice.TwowayCallback
{
public abstract void response(boolean __ret, GpsGetExResponse res);
public final void __completed(Ice.AsyncResult __result)
{
DaoGpsServicePrx __proxy = (DaoGpsServicePrx)__result.getProxy();
boolean __ret = false;
GpsGetExResponseHolder res = new GpsGetExResponseHolder();
try
{
__ret = __proxy.end_getGpsRecordsByImei(res, __result);
}
catch(Ice.LocalException __ex)
{
exception(__ex);
return;
}
response(__ret, res.value);
}
}
This diff could not be displayed because it is too large.
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!