Skip to content
Toggle navigation
Projects
Groups
Snippets
Help
eshiled-new
/
ne-shield-devicemonitor
This project
Loading...
Sign in
Toggle navigation
Go to a project
Project
Repository
Issues
0
Merge Requests
0
Pipelines
Wiki
Settings
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Commit 8bb77b1f
authored
May 07, 2022
by
向延琳
Browse Files
Options
Browse Files
Tag
Download
Email Patches
Plain Diff
增加ice接口
1 parent
4656d6b8
Show whitespace changes
Inline
Side-by-side
Showing
24 changed files
with
1782 additions
and
0 deletions
src/main/java/cn/com/glsx/devicemonitor/iceprotocol/resident/Callback_FspService_GetFsp.java
src/main/java/cn/com/glsx/devicemonitor/iceprotocol/resident/FspReq.java
src/main/java/cn/com/glsx/devicemonitor/iceprotocol/resident/FspReqHolder.java
src/main/java/cn/com/glsx/devicemonitor/iceprotocol/resident/FspResp.java
src/main/java/cn/com/glsx/devicemonitor/iceprotocol/resident/FspRespHolder.java
src/main/java/cn/com/glsx/devicemonitor/iceprotocol/resident/FspService.java
src/main/java/cn/com/glsx/devicemonitor/iceprotocol/resident/FspServiceHolder.java
src/main/java/cn/com/glsx/devicemonitor/iceprotocol/resident/FspServicePrx.java
src/main/java/cn/com/glsx/devicemonitor/iceprotocol/resident/FspServicePrxHelper.java
src/main/java/cn/com/glsx/devicemonitor/iceprotocol/resident/FspServicePrxHolder.java
src/main/java/cn/com/glsx/devicemonitor/iceprotocol/resident/GpsLoc.java
src/main/java/cn/com/glsx/devicemonitor/iceprotocol/resident/GpsLocHolder.java
src/main/java/cn/com/glsx/devicemonitor/iceprotocol/resident/PeriodType.java
src/main/java/cn/com/glsx/devicemonitor/iceprotocol/resident/PeriodTypeHolder.java
src/main/java/cn/com/glsx/devicemonitor/iceprotocol/resident/ResideBaseInfo.java
src/main/java/cn/com/glsx/devicemonitor/iceprotocol/resident/ResideBaseInfoHolder.java
src/main/java/cn/com/glsx/devicemonitor/iceprotocol/resident/ResideBaseInfosHelper.java
src/main/java/cn/com/glsx/devicemonitor/iceprotocol/resident/ResideBaseInfosHolder.java
src/main/java/cn/com/glsx/devicemonitor/iceprotocol/resident/_FspServiceDel.java
src/main/java/cn/com/glsx/devicemonitor/iceprotocol/resident/_FspServiceDelD.java
src/main/java/cn/com/glsx/devicemonitor/iceprotocol/resident/_FspServiceDelM.java
src/main/java/cn/com/glsx/devicemonitor/iceprotocol/resident/_FspServiceDisp.java
src/main/java/cn/com/glsx/devicemonitor/iceprotocol/resident/_FspServiceOperations.java
src/main/java/cn/com/glsx/devicemonitor/iceprotocol/resident/_FspServiceOperationsNC.java
src/main/java/cn/com/glsx/devicemonitor/iceprotocol/resident/Callback_FspService_GetFsp.java
0 → 100644
View file @
8bb77b1
// **********************************************************************
//
// 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 `fsp_online.ice'
//
// Warning: do not edit this file.
//
// </auto-generated>
//
package
cn
.
com
.
glsx
.
devicemonitor
.
iceprotocol
.
resident
;
public
abstract
class
Callback_FspService_GetFsp
extends
Ice
.
TwowayCallback
{
public
abstract
void
response
(
int
__ret
,
FspResp
resp
);
public
final
void
__completed
(
Ice
.
AsyncResult
__result
)
{
FspServicePrx
__proxy
=
(
FspServicePrx
)
__result
.
getProxy
();
int
__ret
=
0
;
FspRespHolder
resp
=
new
FspRespHolder
();
try
{
__ret
=
__proxy
.
end_GetFsp
(
resp
,
__result
);
}
catch
(
Ice
.
LocalException
__ex
)
{
exception
(
__ex
);
return
;
}
response
(
__ret
,
resp
.
value
);
}
}
src/main/java/cn/com/glsx/devicemonitor/iceprotocol/resident/FspReq.java
0 → 100644
View file @
8bb77b1
// **********************************************************************
//
// 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 `fsp_online.ice'
//
// Warning: do not edit this file.
//
// </auto-generated>
//
package
cn
.
com
.
glsx
.
devicemonitor
.
iceprotocol
.
resident
;
public
class
FspReq
implements
Cloneable
,
java
.
io
.
Serializable
{
public
String
userId
;
public
int
apType
;
public
int
beginTime
;
public
int
endTime
;
public
int
locInfoType
;
public
int
perType
;
public
FspReq
()
{
}
public
FspReq
(
String
userId
,
int
apType
,
int
beginTime
,
int
endTime
,
int
locInfoType
,
int
perType
)
{
this
.
userId
=
userId
;
this
.
apType
=
apType
;
this
.
beginTime
=
beginTime
;
this
.
endTime
=
endTime
;
this
.
locInfoType
=
locInfoType
;
this
.
perType
=
perType
;
}
public
boolean
equals
(
Object
rhs
)
{
if
(
this
==
rhs
)
{
return
true
;
}
FspReq
_r
=
null
;
if
(
rhs
instanceof
FspReq
)
{
_r
=
(
FspReq
)
rhs
;
}
if
(
_r
!=
null
)
{
if
(
userId
!=
_r
.
userId
)
{
if
(
userId
==
null
||
_r
.
userId
==
null
||
!
userId
.
equals
(
_r
.
userId
))
{
return
false
;
}
}
if
(
apType
!=
_r
.
apType
)
{
return
false
;
}
if
(
beginTime
!=
_r
.
beginTime
)
{
return
false
;
}
if
(
endTime
!=
_r
.
endTime
)
{
return
false
;
}
if
(
locInfoType
!=
_r
.
locInfoType
)
{
return
false
;
}
if
(
perType
!=
_r
.
perType
)
{
return
false
;
}
return
true
;
}
return
false
;
}
public
int
hashCode
()
{
int
__h
=
5381
;
__h
=
IceInternal
.
HashUtil
.
hashAdd
(
__h
,
"::FspOnline::FspReq"
);
__h
=
IceInternal
.
HashUtil
.
hashAdd
(
__h
,
userId
);
__h
=
IceInternal
.
HashUtil
.
hashAdd
(
__h
,
apType
);
__h
=
IceInternal
.
HashUtil
.
hashAdd
(
__h
,
beginTime
);
__h
=
IceInternal
.
HashUtil
.
hashAdd
(
__h
,
endTime
);
__h
=
IceInternal
.
HashUtil
.
hashAdd
(
__h
,
locInfoType
);
__h
=
IceInternal
.
HashUtil
.
hashAdd
(
__h
,
perType
);
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
.
writeString
(
userId
);
__os
.
writeInt
(
apType
);
__os
.
writeInt
(
beginTime
);
__os
.
writeInt
(
endTime
);
__os
.
writeInt
(
locInfoType
);
__os
.
writeInt
(
perType
);
}
public
void
__read
(
IceInternal
.
BasicStream
__is
)
{
userId
=
__is
.
readString
();
apType
=
__is
.
readInt
();
beginTime
=
__is
.
readInt
();
endTime
=
__is
.
readInt
();
locInfoType
=
__is
.
readInt
();
perType
=
__is
.
readInt
();
}
public
static
final
long
serialVersionUID
=
-
2433871950471427274L
;
}
src/main/java/cn/com/glsx/devicemonitor/iceprotocol/resident/FspReqHolder.java
0 → 100644
View file @
8bb77b1
// **********************************************************************
//
// 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 `fsp_online.ice'
//
// Warning: do not edit this file.
//
// </auto-generated>
//
package
cn
.
com
.
glsx
.
devicemonitor
.
iceprotocol
.
resident
;
public
final
class
FspReqHolder
{
public
FspReqHolder
()
{
}
public
FspReqHolder
(
FspReq
value
)
{
this
.
value
=
value
;
}
public
FspReq
value
;
}
src/main/java/cn/com/glsx/devicemonitor/iceprotocol/resident/FspResp.java
0 → 100644
View file @
8bb77b1
// **********************************************************************
//
// 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 `fsp_online.ice'
//
// Warning: do not edit this file.
//
// </auto-generated>
//
package
cn
.
com
.
glsx
.
devicemonitor
.
iceprotocol
.
resident
;
public
class
FspResp
implements
Cloneable
,
java
.
io
.
Serializable
{
public
int
ret
;
public
ResideBaseInfo
[]
baseInfos
;
public
FspResp
()
{
}
public
FspResp
(
int
ret
,
ResideBaseInfo
[]
baseInfos
)
{
this
.
ret
=
ret
;
this
.
baseInfos
=
baseInfos
;
}
public
boolean
equals
(
Object
rhs
)
{
if
(
this
==
rhs
)
{
return
true
;
}
FspResp
_r
=
null
;
if
(
rhs
instanceof
FspResp
)
{
_r
=
(
FspResp
)
rhs
;
}
if
(
_r
!=
null
)
{
if
(
ret
!=
_r
.
ret
)
{
return
false
;
}
if
(!
java
.
util
.
Arrays
.
equals
(
baseInfos
,
_r
.
baseInfos
))
{
return
false
;
}
return
true
;
}
return
false
;
}
public
int
hashCode
()
{
int
__h
=
5381
;
__h
=
IceInternal
.
HashUtil
.
hashAdd
(
__h
,
"::FspOnline::FspResp"
);
__h
=
IceInternal
.
HashUtil
.
hashAdd
(
__h
,
ret
);
__h
=
IceInternal
.
HashUtil
.
hashAdd
(
__h
,
baseInfos
);
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
);
ResideBaseInfosHelper
.
write
(
__os
,
baseInfos
);
}
public
void
__read
(
IceInternal
.
BasicStream
__is
)
{
ret
=
__is
.
readInt
();
baseInfos
=
ResideBaseInfosHelper
.
read
(
__is
);
}
public
static
final
long
serialVersionUID
=
4447756455579930363L
;
}
src/main/java/cn/com/glsx/devicemonitor/iceprotocol/resident/FspRespHolder.java
0 → 100644
View file @
8bb77b1
// **********************************************************************
//
// 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 `fsp_online.ice'
//
// Warning: do not edit this file.
//
// </auto-generated>
//
package
cn
.
com
.
glsx
.
devicemonitor
.
iceprotocol
.
resident
;
public
final
class
FspRespHolder
{
public
FspRespHolder
()
{
}
public
FspRespHolder
(
FspResp
value
)
{
this
.
value
=
value
;
}
public
FspResp
value
;
}
src/main/java/cn/com/glsx/devicemonitor/iceprotocol/resident/FspService.java
0 → 100644
View file @
8bb77b1
// **********************************************************************
//
// 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 `fsp_online.ice'
//
// Warning: do not edit this file.
//
// </auto-generated>
//
package
cn
.
com
.
glsx
.
devicemonitor
.
iceprotocol
.
resident
;
public
interface
FspService
extends
Ice
.
Object
,
_FspServiceOperations
,
_FspServiceOperationsNC
{
public
static
final
long
serialVersionUID
=
-
8525174583466358961L
;
}
src/main/java/cn/com/glsx/devicemonitor/iceprotocol/resident/FspServiceHolder.java
0 → 100644
View file @
8bb77b1
// **********************************************************************
//
// 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 `fsp_online.ice'
//
// Warning: do not edit this file.
//
// </auto-generated>
//
package
cn
.
com
.
glsx
.
devicemonitor
.
iceprotocol
.
resident
;
public
final
class
FspServiceHolder
extends
Ice
.
ObjectHolderBase
<
FspService
>
{
public
FspServiceHolder
()
{
}
public
FspServiceHolder
(
FspService
value
)
{
this
.
value
=
value
;
}
public
void
patch
(
Ice
.
Object
v
)
{
if
(
v
==
null
||
v
instanceof
FspService
)
{
value
=
(
FspService
)
v
;
}
else
{
IceInternal
.
Ex
.
throwUOE
(
type
(),
v
);
}
}
public
String
type
()
{
return
_FspServiceDisp
.
ice_staticId
();
}
}
src/main/java/cn/com/glsx/devicemonitor/iceprotocol/resident/FspServicePrx.java
0 → 100644
View file @
8bb77b1
// **********************************************************************
//
// 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 `fsp_online.ice'
//
// Warning: do not edit this file.
//
// </auto-generated>
//
package
cn
.
com
.
glsx
.
devicemonitor
.
iceprotocol
.
resident
;
public
interface
FspServicePrx
extends
Ice
.
ObjectPrx
{
public
int
GetFsp
(
FspReq
req
,
FspRespHolder
resp
);
public
int
GetFsp
(
FspReq
req
,
FspRespHolder
resp
,
java
.
util
.
Map
<
String
,
String
>
__ctx
);
public
Ice
.
AsyncResult
begin_GetFsp
(
FspReq
req
);
public
Ice
.
AsyncResult
begin_GetFsp
(
FspReq
req
,
java
.
util
.
Map
<
String
,
String
>
__ctx
);
public
Ice
.
AsyncResult
begin_GetFsp
(
FspReq
req
,
Ice
.
Callback
__cb
);
public
Ice
.
AsyncResult
begin_GetFsp
(
FspReq
req
,
java
.
util
.
Map
<
String
,
String
>
__ctx
,
Ice
.
Callback
__cb
);
public
Ice
.
AsyncResult
begin_GetFsp
(
FspReq
req
,
Callback_FspService_GetFsp
__cb
);
public
Ice
.
AsyncResult
begin_GetFsp
(
FspReq
req
,
java
.
util
.
Map
<
String
,
String
>
__ctx
,
Callback_FspService_GetFsp
__cb
);
public
int
end_GetFsp
(
FspRespHolder
resp
,
Ice
.
AsyncResult
__result
);
}
src/main/java/cn/com/glsx/devicemonitor/iceprotocol/resident/FspServicePrxHelper.java
0 → 100644
View file @
8bb77b1
// **********************************************************************
//
// 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 `fsp_online.ice'
//
// Warning: do not edit this file.
//
// </auto-generated>
//
package
cn
.
com
.
glsx
.
devicemonitor
.
iceprotocol
.
resident
;
public
final
class
FspServicePrxHelper
extends
Ice
.
ObjectPrxHelperBase
implements
FspServicePrx
{
private
static
final
String
__GetFsp_name
=
"GetFsp"
;
public
int
GetFsp
(
FspReq
req
,
FspRespHolder
resp
)
{
return
GetFsp
(
req
,
resp
,
null
,
false
);
}
public
int
GetFsp
(
FspReq
req
,
FspRespHolder
resp
,
java
.
util
.
Map
<
String
,
String
>
__ctx
)
{
return
GetFsp
(
req
,
resp
,
__ctx
,
true
);
}
private
int
GetFsp
(
FspReq
req
,
FspRespHolder
resp
,
java
.
util
.
Map
<
String
,
String
>
__ctx
,
boolean
__explicitCtx
)
{
if
(
__explicitCtx
&&
__ctx
==
null
)
{
__ctx
=
_emptyContext
;
}
final
Ice
.
Instrumentation
.
InvocationObserver
__observer
=
IceInternal
.
ObserverHelper
.
get
(
this
,
"GetFsp"
,
__ctx
);
int
__cnt
=
0
;
try
{
while
(
true
)
{
Ice
.
_ObjectDel
__delBase
=
null
;
try
{
__checkTwowayOnly
(
"GetFsp"
);
__delBase
=
__getDelegate
(
false
);
_FspServiceDel
__del
=
(
_FspServiceDel
)
__delBase
;
return
__del
.
GetFsp
(
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_GetFsp
(
FspReq
req
)
{
return
begin_GetFsp
(
req
,
null
,
false
,
null
);
}
public
Ice
.
AsyncResult
begin_GetFsp
(
FspReq
req
,
java
.
util
.
Map
<
String
,
String
>
__ctx
)
{
return
begin_GetFsp
(
req
,
__ctx
,
true
,
null
);
}
public
Ice
.
AsyncResult
begin_GetFsp
(
FspReq
req
,
Ice
.
Callback
__cb
)
{
return
begin_GetFsp
(
req
,
null
,
false
,
__cb
);
}
public
Ice
.
AsyncResult
begin_GetFsp
(
FspReq
req
,
java
.
util
.
Map
<
String
,
String
>
__ctx
,
Ice
.
Callback
__cb
)
{
return
begin_GetFsp
(
req
,
__ctx
,
true
,
__cb
);
}
public
Ice
.
AsyncResult
begin_GetFsp
(
FspReq
req
,
Callback_FspService_GetFsp
__cb
)
{
return
begin_GetFsp
(
req
,
null
,
false
,
__cb
);
}
public
Ice
.
AsyncResult
begin_GetFsp
(
FspReq
req
,
java
.
util
.
Map
<
String
,
String
>
__ctx
,
Callback_FspService_GetFsp
__cb
)
{
return
begin_GetFsp
(
req
,
__ctx
,
true
,
__cb
);
}
private
Ice
.
AsyncResult
begin_GetFsp
(
FspReq
req
,
java
.
util
.
Map
<
String
,
String
>
__ctx
,
boolean
__explicitCtx
,
IceInternal
.
CallbackBase
__cb
)
{
__checkAsyncTwowayOnly
(
__GetFsp_name
);
IceInternal
.
OutgoingAsync
__result
=
new
IceInternal
.
OutgoingAsync
(
this
,
__GetFsp_name
,
__cb
);
try
{
__result
.
__prepare
(
__GetFsp_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
int
end_GetFsp
(
FspRespHolder
resp
,
Ice
.
AsyncResult
__result
)
{
Ice
.
AsyncResult
.
__check
(
__result
,
this
,
__GetFsp_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
FspResp
();
resp
.
value
.
__read
(
__is
);
int
__ret
;
__ret
=
__is
.
readInt
();
__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
FspServicePrx
checkedCast
(
Ice
.
ObjectPrx
__obj
)
{
FspServicePrx
__d
=
null
;
if
(
__obj
!=
null
)
{
if
(
__obj
instanceof
FspServicePrx
)
{
__d
=
(
FspServicePrx
)
__obj
;
}
else
{
if
(
__obj
.
ice_isA
(
ice_staticId
()))
{
FspServicePrxHelper
__h
=
new
FspServicePrxHelper
();
__h
.
__copyFrom
(
__obj
);
__d
=
__h
;
}
}
}
return
__d
;
}
public
static
FspServicePrx
checkedCast
(
Ice
.
ObjectPrx
__obj
,
java
.
util
.
Map
<
String
,
String
>
__ctx
)
{
FspServicePrx
__d
=
null
;
if
(
__obj
!=
null
)
{
if
(
__obj
instanceof
FspServicePrx
)
{
__d
=
(
FspServicePrx
)
__obj
;
}
else
{
if
(
__obj
.
ice_isA
(
ice_staticId
(),
__ctx
))
{
FspServicePrxHelper
__h
=
new
FspServicePrxHelper
();
__h
.
__copyFrom
(
__obj
);
__d
=
__h
;
}
}
}
return
__d
;
}
public
static
FspServicePrx
checkedCast
(
Ice
.
ObjectPrx
__obj
,
String
__facet
)
{
FspServicePrx
__d
=
null
;
if
(
__obj
!=
null
)
{
Ice
.
ObjectPrx
__bb
=
__obj
.
ice_facet
(
__facet
);
try
{
if
(
__bb
.
ice_isA
(
ice_staticId
()))
{
FspServicePrxHelper
__h
=
new
FspServicePrxHelper
();
__h
.
__copyFrom
(
__bb
);
__d
=
__h
;
}
}
catch
(
Ice
.
FacetNotExistException
ex
)
{
}
}
return
__d
;
}
public
static
FspServicePrx
checkedCast
(
Ice
.
ObjectPrx
__obj
,
String
__facet
,
java
.
util
.
Map
<
String
,
String
>
__ctx
)
{
FspServicePrx
__d
=
null
;
if
(
__obj
!=
null
)
{
Ice
.
ObjectPrx
__bb
=
__obj
.
ice_facet
(
__facet
);
try
{
if
(
__bb
.
ice_isA
(
ice_staticId
(),
__ctx
))
{
FspServicePrxHelper
__h
=
new
FspServicePrxHelper
();
__h
.
__copyFrom
(
__bb
);
__d
=
__h
;
}
}
catch
(
Ice
.
FacetNotExistException
ex
)
{
}
}
return
__d
;
}
public
static
FspServicePrx
uncheckedCast
(
Ice
.
ObjectPrx
__obj
)
{
FspServicePrx
__d
=
null
;
if
(
__obj
!=
null
)
{
if
(
__obj
instanceof
FspServicePrx
)
{
__d
=
(
FspServicePrx
)
__obj
;
}
else
{
FspServicePrxHelper
__h
=
new
FspServicePrxHelper
();
__h
.
__copyFrom
(
__obj
);
__d
=
__h
;
}
}
return
__d
;
}
public
static
FspServicePrx
uncheckedCast
(
Ice
.
ObjectPrx
__obj
,
String
__facet
)
{
FspServicePrx
__d
=
null
;
if
(
__obj
!=
null
)
{
Ice
.
ObjectPrx
__bb
=
__obj
.
ice_facet
(
__facet
);
FspServicePrxHelper
__h
=
new
FspServicePrxHelper
();
__h
.
__copyFrom
(
__bb
);
__d
=
__h
;
}
return
__d
;
}
public
static
final
String
[]
__ids
=
{
"::FspOnline::FspService"
,
"::Ice::Object"
};
public
static
String
ice_staticId
()
{
return
__ids
[
0
];
}
protected
Ice
.
_ObjectDelM
__createDelegateM
()
{
return
new
_FspServiceDelM
();
}
protected
Ice
.
_ObjectDelD
__createDelegateD
()
{
return
new
_FspServiceDelD
();
}
public
static
void
__write
(
IceInternal
.
BasicStream
__os
,
FspServicePrx
v
)
{
__os
.
writeProxy
(
v
);
}
public
static
FspServicePrx
__read
(
IceInternal
.
BasicStream
__is
)
{
Ice
.
ObjectPrx
proxy
=
__is
.
readProxy
();
if
(
proxy
!=
null
)
{
FspServicePrxHelper
result
=
new
FspServicePrxHelper
();
result
.
__copyFrom
(
proxy
);
return
result
;
}
return
null
;
}
public
static
final
long
serialVersionUID
=
0L
;
}
src/main/java/cn/com/glsx/devicemonitor/iceprotocol/resident/FspServicePrxHolder.java
0 → 100644
View file @
8bb77b1
// **********************************************************************
//
// 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 `fsp_online.ice'
//
// Warning: do not edit this file.
//
// </auto-generated>
//
package
cn
.
com
.
glsx
.
devicemonitor
.
iceprotocol
.
resident
;
public
final
class
FspServicePrxHolder
{
public
FspServicePrxHolder
()
{
}
public
FspServicePrxHolder
(
FspServicePrx
value
)
{
this
.
value
=
value
;
}
public
FspServicePrx
value
;
}
src/main/java/cn/com/glsx/devicemonitor/iceprotocol/resident/GpsLoc.java
0 → 100644
View file @
8bb77b1
// **********************************************************************
//
// 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 `fsp_online.ice'
//
// Warning: do not edit this file.
//
// </auto-generated>
//
package
cn
.
com
.
glsx
.
devicemonitor
.
iceprotocol
.
resident
;
public
class
GpsLoc
implements
Cloneable
,
java
.
io
.
Serializable
{
public
double
longitude
;
public
double
latitude
;
public
GpsLoc
()
{
}
public
GpsLoc
(
double
longitude
,
double
latitude
)
{
this
.
longitude
=
longitude
;
this
.
latitude
=
latitude
;
}
public
boolean
equals
(
Object
rhs
)
{
if
(
this
==
rhs
)
{
return
true
;
}
GpsLoc
_r
=
null
;
if
(
rhs
instanceof
GpsLoc
)
{
_r
=
(
GpsLoc
)
rhs
;
}
if
(
_r
!=
null
)
{
if
(
longitude
!=
_r
.
longitude
)
{
return
false
;
}
if
(
latitude
!=
_r
.
latitude
)
{
return
false
;
}
return
true
;
}
return
false
;
}
public
int
hashCode
()
{
int
__h
=
5381
;
__h
=
IceInternal
.
HashUtil
.
hashAdd
(
__h
,
"::FspOnline::GpsLoc"
);
__h
=
IceInternal
.
HashUtil
.
hashAdd
(
__h
,
longitude
);
__h
=
IceInternal
.
HashUtil
.
hashAdd
(
__h
,
latitude
);
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
.
writeDouble
(
longitude
);
__os
.
writeDouble
(
latitude
);
}
public
void
__read
(
IceInternal
.
BasicStream
__is
)
{
longitude
=
__is
.
readDouble
();
latitude
=
__is
.
readDouble
();
}
public
static
final
long
serialVersionUID
=
3310587848202444726L
;
}
src/main/java/cn/com/glsx/devicemonitor/iceprotocol/resident/GpsLocHolder.java
0 → 100644
View file @
8bb77b1
// **********************************************************************
//
// 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 `fsp_online.ice'
//
// Warning: do not edit this file.
//
// </auto-generated>
//
package
cn
.
com
.
glsx
.
devicemonitor
.
iceprotocol
.
resident
;
public
final
class
GpsLocHolder
{
public
GpsLocHolder
()
{
}
public
GpsLocHolder
(
GpsLoc
value
)
{
this
.
value
=
value
;
}
public
GpsLoc
value
;
}
src/main/java/cn/com/glsx/devicemonitor/iceprotocol/resident/PeriodType.java
0 → 100644
View file @
8bb77b1
// **********************************************************************
//
// 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 `fsp_online.ice'
//
// Warning: do not edit this file.
//
// </auto-generated>
//
package
cn
.
com
.
glsx
.
devicemonitor
.
iceprotocol
.
resident
;
public
enum
PeriodType
implements
java
.
io
.
Serializable
{
Morning
(
1
),
Afternoon
(
2
),
Night
(
4
);
public
int
value
()
{
return
__value
;
}
public
static
PeriodType
valueOf
(
int
__v
)
{
switch
(
__v
)
{
case
1
:
return
Morning
;
case
2
:
return
Afternoon
;
case
4
:
return
Night
;
}
return
null
;
}
private
PeriodType
(
int
__v
)
{
__value
=
__v
;
}
public
void
__write
(
IceInternal
.
BasicStream
__os
)
{
__os
.
writeEnum
(
value
(),
4
);
}
public
static
PeriodType
__read
(
IceInternal
.
BasicStream
__is
)
{
int
__v
=
__is
.
readEnum
(
4
);
return
__validate
(
__v
);
}
private
static
PeriodType
__validate
(
int
__v
)
{
final
PeriodType
__e
=
valueOf
(
__v
);
if
(
__e
==
null
)
{
throw
new
Ice
.
MarshalException
(
"enumerator value "
+
__v
+
" is out of range"
);
}
return
__e
;
}
private
final
int
__value
;
}
src/main/java/cn/com/glsx/devicemonitor/iceprotocol/resident/PeriodTypeHolder.java
0 → 100644
View file @
8bb77b1
// **********************************************************************
//
// 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 `fsp_online.ice'
//
// Warning: do not edit this file.
//
// </auto-generated>
//
package
cn
.
com
.
glsx
.
devicemonitor
.
iceprotocol
.
resident
;
public
final
class
PeriodTypeHolder
{
public
PeriodTypeHolder
()
{
}
public
PeriodTypeHolder
(
PeriodType
value
)
{
this
.
value
=
value
;
}
public
PeriodType
value
;
}
src/main/java/cn/com/glsx/devicemonitor/iceprotocol/resident/ResideBaseInfo.java
0 → 100644
View file @
8bb77b1
// **********************************************************************
//
// 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 `fsp_online.ice'
//
// Warning: do not edit this file.
//
// </auto-generated>
//
package
cn
.
com
.
glsx
.
devicemonitor
.
iceprotocol
.
resident
;
public
class
ResideBaseInfo
implements
Cloneable
,
java
.
io
.
Serializable
{
public
String
userId
;
public
int
apType
;
public
int
totalDuration
;
public
int
totalTimes
;
public
GpsLoc
gps
;
public
ResideBaseInfo
()
{
}
public
ResideBaseInfo
(
String
userId
,
int
apType
,
int
totalDuration
,
int
totalTimes
,
GpsLoc
gps
)
{
this
.
userId
=
userId
;
this
.
apType
=
apType
;
this
.
totalDuration
=
totalDuration
;
this
.
totalTimes
=
totalTimes
;
this
.
gps
=
gps
;
}
public
boolean
equals
(
Object
rhs
)
{
if
(
this
==
rhs
)
{
return
true
;
}
ResideBaseInfo
_r
=
null
;
if
(
rhs
instanceof
ResideBaseInfo
)
{
_r
=
(
ResideBaseInfo
)
rhs
;
}
if
(
_r
!=
null
)
{
if
(
userId
!=
_r
.
userId
)
{
if
(
userId
==
null
||
_r
.
userId
==
null
||
!
userId
.
equals
(
_r
.
userId
))
{
return
false
;
}
}
if
(
apType
!=
_r
.
apType
)
{
return
false
;
}
if
(
totalDuration
!=
_r
.
totalDuration
)
{
return
false
;
}
if
(
totalTimes
!=
_r
.
totalTimes
)
{
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
,
"::FspOnline::ResideBaseInfo"
);
__h
=
IceInternal
.
HashUtil
.
hashAdd
(
__h
,
userId
);
__h
=
IceInternal
.
HashUtil
.
hashAdd
(
__h
,
apType
);
__h
=
IceInternal
.
HashUtil
.
hashAdd
(
__h
,
totalDuration
);
__h
=
IceInternal
.
HashUtil
.
hashAdd
(
__h
,
totalTimes
);
__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
.
writeString
(
userId
);
__os
.
writeInt
(
apType
);
__os
.
writeInt
(
totalDuration
);
__os
.
writeInt
(
totalTimes
);
gps
.
__write
(
__os
);
}
public
void
__read
(
IceInternal
.
BasicStream
__is
)
{
userId
=
__is
.
readString
();
apType
=
__is
.
readInt
();
totalDuration
=
__is
.
readInt
();
totalTimes
=
__is
.
readInt
();
gps
=
new
GpsLoc
();
gps
.
__read
(
__is
);
}
public
static
final
long
serialVersionUID
=
-
7035780298078512264L
;
}
src/main/java/cn/com/glsx/devicemonitor/iceprotocol/resident/ResideBaseInfoHolder.java
0 → 100644
View file @
8bb77b1
// **********************************************************************
//
// 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 `fsp_online.ice'
//
// Warning: do not edit this file.
//
// </auto-generated>
//
package
cn
.
com
.
glsx
.
devicemonitor
.
iceprotocol
.
resident
;
public
final
class
ResideBaseInfoHolder
{
public
ResideBaseInfoHolder
()
{
}
public
ResideBaseInfoHolder
(
ResideBaseInfo
value
)
{
this
.
value
=
value
;
}
public
ResideBaseInfo
value
;
}
src/main/java/cn/com/glsx/devicemonitor/iceprotocol/resident/ResideBaseInfosHelper.java
0 → 100644
View file @
8bb77b1
// **********************************************************************
//
// 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 `fsp_online.ice'
//
// Warning: do not edit this file.
//
// </auto-generated>
//
package
cn
.
com
.
glsx
.
devicemonitor
.
iceprotocol
.
resident
;
public
final
class
ResideBaseInfosHelper
{
public
static
void
write
(
IceInternal
.
BasicStream
__os
,
ResideBaseInfo
[]
__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
ResideBaseInfo
[]
read
(
IceInternal
.
BasicStream
__is
)
{
ResideBaseInfo
[]
__v
;
final
int
__len0
=
__is
.
readAndCheckSeqSize
(
29
);
__v
=
new
ResideBaseInfo
[
__len0
];
for
(
int
__i0
=
0
;
__i0
<
__len0
;
__i0
++)
{
__v
[
__i0
]
=
new
ResideBaseInfo
();
__v
[
__i0
].
__read
(
__is
);
}
return
__v
;
}
}
src/main/java/cn/com/glsx/devicemonitor/iceprotocol/resident/ResideBaseInfosHolder.java
0 → 100644
View file @
8bb77b1
// **********************************************************************
//
// 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 `fsp_online.ice'
//
// Warning: do not edit this file.
//
// </auto-generated>
//
package
cn
.
com
.
glsx
.
devicemonitor
.
iceprotocol
.
resident
;
public
final
class
ResideBaseInfosHolder
{
public
ResideBaseInfosHolder
()
{
}
public
ResideBaseInfosHolder
(
ResideBaseInfo
[]
value
)
{
this
.
value
=
value
;
}
public
ResideBaseInfo
[]
value
;
}
src/main/java/cn/com/glsx/devicemonitor/iceprotocol/resident/_FspServiceDel.java
0 → 100644
View file @
8bb77b1
// **********************************************************************
//
// 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 `fsp_online.ice'
//
// Warning: do not edit this file.
//
// </auto-generated>
//
package
cn
.
com
.
glsx
.
devicemonitor
.
iceprotocol
.
resident
;
public
interface
_FspServiceDel
extends
Ice
.
_ObjectDel
{
int
GetFsp
(
FspReq
req
,
FspRespHolder
resp
,
java
.
util
.
Map
<
String
,
String
>
__ctx
,
Ice
.
Instrumentation
.
InvocationObserver
__obsv
)
throws
IceInternal
.
LocalExceptionWrapper
;
}
src/main/java/cn/com/glsx/devicemonitor/iceprotocol/resident/_FspServiceDelD.java
0 → 100644
View file @
8bb77b1
// **********************************************************************
//
// 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 `fsp_online.ice'
//
// Warning: do not edit this file.
//
// </auto-generated>
//
package
cn
.
com
.
glsx
.
devicemonitor
.
iceprotocol
.
resident
;
public
final
class
_FspServiceDelD
extends
Ice
.
_ObjectDelD
implements
_FspServiceDel
{
public
int
GetFsp
(
final
FspReq
req
,
final
FspRespHolder
resp
,
java
.
util
.
Map
<
String
,
String
>
__ctx
,
Ice
.
Instrumentation
.
InvocationObserver
__observer
)
throws
IceInternal
.
LocalExceptionWrapper
{
final
Ice
.
Current
__current
=
new
Ice
.
Current
();
__initCurrent
(
__current
,
"GetFsp"
,
Ice
.
OperationMode
.
Normal
,
__ctx
);
final
Ice
.
IntHolder
__result
=
new
Ice
.
IntHolder
();
IceInternal
.
Direct
__direct
=
null
;
try
{
__direct
=
new
IceInternal
.
Direct
(
__current
)
{
public
Ice
.
DispatchStatus
run
(
Ice
.
Object
__obj
)
{
FspService
__servant
=
null
;
if
(
__obj
==
null
||
__obj
instanceof
FspService
)
{
__servant
=
(
FspService
)
__obj
;
}
else
{
throw
new
Ice
.
OperationNotExistException
(
__current
.
id
,
__current
.
facet
,
__current
.
operation
);
}
__result
.
value
=
__servant
.
GetFsp
(
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
;
}
}
src/main/java/cn/com/glsx/devicemonitor/iceprotocol/resident/_FspServiceDelM.java
0 → 100644
View file @
8bb77b1
// **********************************************************************
//
// 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 `fsp_online.ice'
//
// Warning: do not edit this file.
//
// </auto-generated>
//
package
cn
.
com
.
glsx
.
devicemonitor
.
iceprotocol
.
resident
;
public
final
class
_FspServiceDelM
extends
Ice
.
_ObjectDelM
implements
_FspServiceDel
{
public
int
GetFsp
(
FspReq
req
,
FspRespHolder
resp
,
java
.
util
.
Map
<
String
,
String
>
__ctx
,
Ice
.
Instrumentation
.
InvocationObserver
__observer
)
throws
IceInternal
.
LocalExceptionWrapper
{
IceInternal
.
Outgoing
__og
=
__handler
.
getOutgoing
(
"GetFsp"
,
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
FspResp
();
resp
.
value
.
__read
(
__is
);
int
__ret
;
__ret
=
__is
.
readInt
();
__og
.
endReadParams
();
return
__ret
;
}
catch
(
Ice
.
LocalException
__ex
)
{
throw
new
IceInternal
.
LocalExceptionWrapper
(
__ex
,
false
);
}
}
finally
{
__handler
.
reclaimOutgoing
(
__og
);
}
}
}
src/main/java/cn/com/glsx/devicemonitor/iceprotocol/resident/_FspServiceDisp.java
0 → 100644
View file @
8bb77b1
// **********************************************************************
//
// 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 `fsp_online.ice'
//
// Warning: do not edit this file.
//
// </auto-generated>
//
package
cn
.
com
.
glsx
.
devicemonitor
.
iceprotocol
.
resident
;
public
abstract
class
_FspServiceDisp
extends
Ice
.
ObjectImpl
implements
FspService
{
protected
void
ice_copyStateFrom
(
Ice
.
Object
__obj
)
throws
CloneNotSupportedException
{
throw
new
CloneNotSupportedException
();
}
public
static
final
String
[]
__ids
=
{
"::FspOnline::FspService"
,
"::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
int
GetFsp
(
FspReq
req
,
FspRespHolder
resp
)
{
return
GetFsp
(
req
,
resp
,
null
);
}
public
static
Ice
.
DispatchStatus
___GetFsp
(
FspService
__obj
,
IceInternal
.
Incoming
__inS
,
Ice
.
Current
__current
)
{
__checkMode
(
Ice
.
OperationMode
.
Normal
,
__current
.
mode
);
IceInternal
.
BasicStream
__is
=
__inS
.
startReadParams
();
FspReq
req
;
req
=
new
FspReq
();
req
.
__read
(
__is
);
__inS
.
endReadParams
();
FspRespHolder
resp
=
new
FspRespHolder
();
int
__ret
=
__obj
.
GetFsp
(
req
,
resp
,
__current
);
IceInternal
.
BasicStream
__os
=
__inS
.
__startWriteParams
(
Ice
.
FormatType
.
DefaultFormat
);
resp
.
value
.
__write
(
__os
);
__os
.
writeInt
(
__ret
);
__inS
.
__endWriteParams
(
true
);
return
Ice
.
DispatchStatus
.
DispatchOK
;
}
private
final
static
String
[]
__all
=
{
"GetFsp"
,
"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
___GetFsp
(
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
;
}
src/main/java/cn/com/glsx/devicemonitor/iceprotocol/resident/_FspServiceOperations.java
0 → 100644
View file @
8bb77b1
// **********************************************************************
//
// 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 `fsp_online.ice'
//
// Warning: do not edit this file.
//
// </auto-generated>
//
package
cn
.
com
.
glsx
.
devicemonitor
.
iceprotocol
.
resident
;
public
interface
_FspServiceOperations
{
int
GetFsp
(
FspReq
req
,
FspRespHolder
resp
,
Ice
.
Current
__current
);
}
src/main/java/cn/com/glsx/devicemonitor/iceprotocol/resident/_FspServiceOperationsNC.java
0 → 100644
View file @
8bb77b1
// **********************************************************************
//
// 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 `fsp_online.ice'
//
// Warning: do not edit this file.
//
// </auto-generated>
//
package
cn
.
com
.
glsx
.
devicemonitor
.
iceprotocol
.
resident
;
public
interface
_FspServiceOperationsNC
{
int
GetFsp
(
FspReq
req
,
FspRespHolder
resp
);
}
Write
Preview
Markdown
is supported
Attach a file
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to post a comment