244 lines
14 KiB
Python
244 lines
14 KiB
Python
|
|
# -*- coding: utf-8 -*-
|
||
|
|
# **********************************************************************
|
||
|
|
#
|
||
|
|
# Copyright (c) 2003-2018 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.7.1
|
||
|
|
#
|
||
|
|
# <auto-generated>
|
||
|
|
#
|
||
|
|
# Generated from file `CallBackICE.ice'
|
||
|
|
#
|
||
|
|
# Warning: do not edit this file.
|
||
|
|
#
|
||
|
|
# </auto-generated>
|
||
|
|
#
|
||
|
|
|
||
|
|
from sys import version_info as _version_info_
|
||
|
|
import Ice, IcePy
|
||
|
|
import Ice.BuiltinSequences_ice
|
||
|
|
import BuiltinDictionary_ice
|
||
|
|
|
||
|
|
# Included module Ice
|
||
|
|
_M_Ice = Ice.openModule('Ice')
|
||
|
|
|
||
|
|
# Included module baosight
|
||
|
|
_M_baosight = Ice.openModule('baosight')
|
||
|
|
|
||
|
|
# Start of module baosight
|
||
|
|
__name__ = 'baosight'
|
||
|
|
|
||
|
|
_M_baosight._t_CallBackICE = IcePy.defineValue('::baosight::CallBackICE', Ice.Value, -1, (), False, True, None, ())
|
||
|
|
|
||
|
|
if 'CallBackICEPrx' not in _M_baosight.__dict__:
|
||
|
|
_M_baosight.CallBackICEPrx = Ice.createTempClass()
|
||
|
|
class CallBackICEPrx(Ice.ObjectPrx):
|
||
|
|
|
||
|
|
def SendDataShort(self, eventNo, seq, length, context=None):
|
||
|
|
return _M_baosight.CallBackICE._op_SendDataShort.invoke(self, ((eventNo, seq, length), context))
|
||
|
|
|
||
|
|
def SendDataShortAsync(self, eventNo, seq, length, context=None):
|
||
|
|
return _M_baosight.CallBackICE._op_SendDataShort.invokeAsync(self, ((eventNo, seq, length), context))
|
||
|
|
|
||
|
|
def begin_SendDataShort(self, eventNo, seq, length, _response=None, _ex=None, _sent=None, context=None):
|
||
|
|
return _M_baosight.CallBackICE._op_SendDataShort.begin(self, ((eventNo, seq, length), _response, _ex, _sent, context))
|
||
|
|
|
||
|
|
def end_SendDataShort(self, _r):
|
||
|
|
return _M_baosight.CallBackICE._op_SendDataShort.end(self, _r)
|
||
|
|
|
||
|
|
def SendDataLong(self, eventNo, seq, length, sender, reciver, aditional, context=None):
|
||
|
|
return _M_baosight.CallBackICE._op_SendDataLong.invoke(self, ((eventNo, seq, length, sender, reciver, aditional), context))
|
||
|
|
|
||
|
|
def SendDataLongAsync(self, eventNo, seq, length, sender, reciver, aditional, context=None):
|
||
|
|
return _M_baosight.CallBackICE._op_SendDataLong.invokeAsync(self, ((eventNo, seq, length, sender, reciver, aditional), context))
|
||
|
|
|
||
|
|
def begin_SendDataLong(self, eventNo, seq, length, sender, reciver, aditional, _response=None, _ex=None, _sent=None, context=None):
|
||
|
|
return _M_baosight.CallBackICE._op_SendDataLong.begin(self, ((eventNo, seq, length, sender, reciver, aditional), _response, _ex, _sent, context))
|
||
|
|
|
||
|
|
def end_SendDataLong(self, _r):
|
||
|
|
return _M_baosight.CallBackICE._op_SendDataLong.end(self, _r)
|
||
|
|
|
||
|
|
def MsgCallBack(self, eventNo, seq, context=None):
|
||
|
|
return _M_baosight.CallBackICE._op_MsgCallBack.invoke(self, ((eventNo, seq), context))
|
||
|
|
|
||
|
|
def MsgCallBackAsync(self, eventNo, seq, context=None):
|
||
|
|
return _M_baosight.CallBackICE._op_MsgCallBack.invokeAsync(self, ((eventNo, seq), context))
|
||
|
|
|
||
|
|
def begin_MsgCallBack(self, eventNo, seq, _response=None, _ex=None, _sent=None, context=None):
|
||
|
|
return _M_baosight.CallBackICE._op_MsgCallBack.begin(self, ((eventNo, seq), _response, _ex, _sent, context))
|
||
|
|
|
||
|
|
def end_MsgCallBack(self, _r):
|
||
|
|
return _M_baosight.CallBackICE._op_MsgCallBack.end(self, _r)
|
||
|
|
|
||
|
|
def StringSeqMsgCallBack(self, eventNo, str, context=None):
|
||
|
|
return _M_baosight.CallBackICE._op_StringSeqMsgCallBack.invoke(self, ((eventNo, str), context))
|
||
|
|
|
||
|
|
def StringSeqMsgCallBackAsync(self, eventNo, str, context=None):
|
||
|
|
return _M_baosight.CallBackICE._op_StringSeqMsgCallBack.invokeAsync(self, ((eventNo, str), context))
|
||
|
|
|
||
|
|
def begin_StringSeqMsgCallBack(self, eventNo, str, _response=None, _ex=None, _sent=None, context=None):
|
||
|
|
return _M_baosight.CallBackICE._op_StringSeqMsgCallBack.begin(self, ((eventNo, str), _response, _ex, _sent, context))
|
||
|
|
|
||
|
|
def end_StringSeqMsgCallBack(self, _r):
|
||
|
|
return _M_baosight.CallBackICE._op_StringSeqMsgCallBack.end(self, _r)
|
||
|
|
|
||
|
|
def DoubleSeqCallBack(self, eventNo, str, context=None):
|
||
|
|
return _M_baosight.CallBackICE._op_DoubleSeqCallBack.invoke(self, ((eventNo, str), context))
|
||
|
|
|
||
|
|
def DoubleSeqCallBackAsync(self, eventNo, str, context=None):
|
||
|
|
return _M_baosight.CallBackICE._op_DoubleSeqCallBack.invokeAsync(self, ((eventNo, str), context))
|
||
|
|
|
||
|
|
def begin_DoubleSeqCallBack(self, eventNo, str, _response=None, _ex=None, _sent=None, context=None):
|
||
|
|
return _M_baosight.CallBackICE._op_DoubleSeqCallBack.begin(self, ((eventNo, str), _response, _ex, _sent, context))
|
||
|
|
|
||
|
|
def end_DoubleSeqCallBack(self, _r):
|
||
|
|
return _M_baosight.CallBackICE._op_DoubleSeqCallBack.end(self, _r)
|
||
|
|
|
||
|
|
def ByteMapCallBack(self, eventNo, bytemap, context=None):
|
||
|
|
return _M_baosight.CallBackICE._op_ByteMapCallBack.invoke(self, ((eventNo, bytemap), context))
|
||
|
|
|
||
|
|
def ByteMapCallBackAsync(self, eventNo, bytemap, context=None):
|
||
|
|
return _M_baosight.CallBackICE._op_ByteMapCallBack.invokeAsync(self, ((eventNo, bytemap), context))
|
||
|
|
|
||
|
|
def begin_ByteMapCallBack(self, eventNo, bytemap, _response=None, _ex=None, _sent=None, context=None):
|
||
|
|
return _M_baosight.CallBackICE._op_ByteMapCallBack.begin(self, ((eventNo, bytemap), _response, _ex, _sent, context))
|
||
|
|
|
||
|
|
def end_ByteMapCallBack(self, _r):
|
||
|
|
return _M_baosight.CallBackICE._op_ByteMapCallBack.end(self, _r)
|
||
|
|
|
||
|
|
def StringMapCallBack(self, eventNo, strmap, context=None):
|
||
|
|
return _M_baosight.CallBackICE._op_StringMapCallBack.invoke(self, ((eventNo, strmap), context))
|
||
|
|
|
||
|
|
def StringMapCallBackAsync(self, eventNo, strmap, context=None):
|
||
|
|
return _M_baosight.CallBackICE._op_StringMapCallBack.invokeAsync(self, ((eventNo, strmap), context))
|
||
|
|
|
||
|
|
def begin_StringMapCallBack(self, eventNo, strmap, _response=None, _ex=None, _sent=None, context=None):
|
||
|
|
return _M_baosight.CallBackICE._op_StringMapCallBack.begin(self, ((eventNo, strmap), _response, _ex, _sent, context))
|
||
|
|
|
||
|
|
def end_StringMapCallBack(self, _r):
|
||
|
|
return _M_baosight.CallBackICE._op_StringMapCallBack.end(self, _r)
|
||
|
|
|
||
|
|
def DoubleMapCallBack(self, eventNo, fmap, context=None):
|
||
|
|
return _M_baosight.CallBackICE._op_DoubleMapCallBack.invoke(self, ((eventNo, fmap), context))
|
||
|
|
|
||
|
|
def DoubleMapCallBackAsync(self, eventNo, fmap, context=None):
|
||
|
|
return _M_baosight.CallBackICE._op_DoubleMapCallBack.invokeAsync(self, ((eventNo, fmap), context))
|
||
|
|
|
||
|
|
def begin_DoubleMapCallBack(self, eventNo, fmap, _response=None, _ex=None, _sent=None, context=None):
|
||
|
|
return _M_baosight.CallBackICE._op_DoubleMapCallBack.begin(self, ((eventNo, fmap), _response, _ex, _sent, context))
|
||
|
|
|
||
|
|
def end_DoubleMapCallBack(self, _r):
|
||
|
|
return _M_baosight.CallBackICE._op_DoubleMapCallBack.end(self, _r)
|
||
|
|
|
||
|
|
def IntCallBack(self, eventNo, imap, context=None):
|
||
|
|
return _M_baosight.CallBackICE._op_IntCallBack.invoke(self, ((eventNo, imap), context))
|
||
|
|
|
||
|
|
def IntCallBackAsync(self, eventNo, imap, context=None):
|
||
|
|
return _M_baosight.CallBackICE._op_IntCallBack.invokeAsync(self, ((eventNo, imap), context))
|
||
|
|
|
||
|
|
def begin_IntCallBack(self, eventNo, imap, _response=None, _ex=None, _sent=None, context=None):
|
||
|
|
return _M_baosight.CallBackICE._op_IntCallBack.begin(self, ((eventNo, imap), _response, _ex, _sent, context))
|
||
|
|
|
||
|
|
def end_IntCallBack(self, _r):
|
||
|
|
return _M_baosight.CallBackICE._op_IntCallBack.end(self, _r)
|
||
|
|
|
||
|
|
def TimeNotify(self, eventNo, seq, context=None):
|
||
|
|
return _M_baosight.CallBackICE._op_TimeNotify.invoke(self, ((eventNo, seq), context))
|
||
|
|
|
||
|
|
def TimeNotifyAsync(self, eventNo, seq, context=None):
|
||
|
|
return _M_baosight.CallBackICE._op_TimeNotify.invokeAsync(self, ((eventNo, seq), context))
|
||
|
|
|
||
|
|
def begin_TimeNotify(self, eventNo, seq, _response=None, _ex=None, _sent=None, context=None):
|
||
|
|
return _M_baosight.CallBackICE._op_TimeNotify.begin(self, ((eventNo, seq), _response, _ex, _sent, context))
|
||
|
|
|
||
|
|
def end_TimeNotify(self, _r):
|
||
|
|
return _M_baosight.CallBackICE._op_TimeNotify.end(self, _r)
|
||
|
|
|
||
|
|
@staticmethod
|
||
|
|
def checkedCast(proxy, facetOrContext=None, context=None):
|
||
|
|
return _M_baosight.CallBackICEPrx.ice_checkedCast(proxy, '::baosight::CallBackICE', facetOrContext, context)
|
||
|
|
|
||
|
|
@staticmethod
|
||
|
|
def uncheckedCast(proxy, facet=None):
|
||
|
|
return _M_baosight.CallBackICEPrx.ice_uncheckedCast(proxy, facet)
|
||
|
|
|
||
|
|
@staticmethod
|
||
|
|
def ice_staticId():
|
||
|
|
return '::baosight::CallBackICE'
|
||
|
|
_M_baosight._t_CallBackICEPrx = IcePy.defineProxy('::baosight::CallBackICE', CallBackICEPrx)
|
||
|
|
|
||
|
|
_M_baosight.CallBackICEPrx = CallBackICEPrx
|
||
|
|
del CallBackICEPrx
|
||
|
|
|
||
|
|
_M_baosight.CallBackICE = Ice.createTempClass()
|
||
|
|
class CallBackICE(Ice.Object):
|
||
|
|
|
||
|
|
def ice_ids(self, current=None):
|
||
|
|
return ('::Ice::Object', '::baosight::CallBackICE')
|
||
|
|
|
||
|
|
def ice_id(self, current=None):
|
||
|
|
return '::baosight::CallBackICE'
|
||
|
|
|
||
|
|
@staticmethod
|
||
|
|
def ice_staticId():
|
||
|
|
return '::baosight::CallBackICE'
|
||
|
|
|
||
|
|
def SendDataShort(self, eventNo, seq, length, current=None):
|
||
|
|
raise NotImplementedError("servant method 'SendDataShort' not implemented")
|
||
|
|
|
||
|
|
def SendDataLong(self, eventNo, seq, length, sender, reciver, aditional, current=None):
|
||
|
|
raise NotImplementedError("servant method 'SendDataLong' not implemented")
|
||
|
|
|
||
|
|
def MsgCallBack(self, eventNo, seq, current=None):
|
||
|
|
raise NotImplementedError("servant method 'MsgCallBack' not implemented")
|
||
|
|
|
||
|
|
def StringSeqMsgCallBack(self, eventNo, str, current=None):
|
||
|
|
raise NotImplementedError("servant method 'StringSeqMsgCallBack' not implemented")
|
||
|
|
|
||
|
|
def DoubleSeqCallBack(self, eventNo, str, current=None):
|
||
|
|
raise NotImplementedError("servant method 'DoubleSeqCallBack' not implemented")
|
||
|
|
|
||
|
|
def ByteMapCallBack(self, eventNo, bytemap, current=None):
|
||
|
|
raise NotImplementedError("servant method 'ByteMapCallBack' not implemented")
|
||
|
|
|
||
|
|
def StringMapCallBack(self, eventNo, strmap, current=None):
|
||
|
|
raise NotImplementedError("servant method 'StringMapCallBack' not implemented")
|
||
|
|
|
||
|
|
def DoubleMapCallBack(self, eventNo, fmap, current=None):
|
||
|
|
raise NotImplementedError("servant method 'DoubleMapCallBack' not implemented")
|
||
|
|
|
||
|
|
def IntCallBack(self, eventNo, imap, current=None):
|
||
|
|
raise NotImplementedError("servant method 'IntCallBack' not implemented")
|
||
|
|
|
||
|
|
def TimeNotify(self, eventNo, seq, current=None):
|
||
|
|
raise NotImplementedError("servant method 'TimeNotify' not implemented")
|
||
|
|
|
||
|
|
def __str__(self):
|
||
|
|
return IcePy.stringify(self, _M_baosight._t_CallBackICEDisp)
|
||
|
|
|
||
|
|
__repr__ = __str__
|
||
|
|
|
||
|
|
_M_baosight._t_CallBackICEDisp = IcePy.defineClass('::baosight::CallBackICE', CallBackICE, (), None, ())
|
||
|
|
CallBackICE._ice_type = _M_baosight._t_CallBackICEDisp
|
||
|
|
|
||
|
|
CallBackICE._op_SendDataShort = IcePy.Operation('SendDataShort', Ice.OperationMode.Normal, Ice.OperationMode.Normal, False, None, (), (((), IcePy._t_int, False, 0), ((), _M_Ice._t_ByteSeq, False, 0), ((), IcePy._t_int, False, 0)), (), ((), IcePy._t_int, False, 0), ())
|
||
|
|
CallBackICE._op_SendDataLong = IcePy.Operation('SendDataLong', Ice.OperationMode.Normal, Ice.OperationMode.Normal, False, None, (), (((), IcePy._t_int, False, 0), ((), _M_Ice._t_ByteSeq, False, 0), ((), IcePy._t_int, False, 0), ((), IcePy._t_string, False, 0), ((), IcePy._t_string, False, 0), ((), IcePy._t_string, False, 0)), (), ((), IcePy._t_int, False, 0), ())
|
||
|
|
CallBackICE._op_MsgCallBack = IcePy.Operation('MsgCallBack', Ice.OperationMode.Normal, Ice.OperationMode.Normal, False, None, (), (((), IcePy._t_int, False, 0), ((), _M_Ice._t_ByteSeq, False, 0)), (), ((), _M_Ice._t_ByteSeq, False, 0), ())
|
||
|
|
CallBackICE._op_StringSeqMsgCallBack = IcePy.Operation('StringSeqMsgCallBack', Ice.OperationMode.Normal, Ice.OperationMode.Normal, False, None, (), (((), IcePy._t_int, False, 0), ((), IcePy._t_string, False, 0)), (), ((), _M_Ice._t_StringSeq, False, 0), ())
|
||
|
|
CallBackICE._op_DoubleSeqCallBack = IcePy.Operation('DoubleSeqCallBack', Ice.OperationMode.Normal, Ice.OperationMode.Normal, False, None, (), (((), IcePy._t_int, False, 0), ((), IcePy._t_string, False, 0)), (), ((), _M_Ice._t_DoubleSeq, False, 0), ())
|
||
|
|
CallBackICE._op_ByteMapCallBack = IcePy.Operation('ByteMapCallBack', Ice.OperationMode.Normal, Ice.OperationMode.Normal, False, None, (), (((), IcePy._t_int, False, 0), ((), _M_baosight._t_ByteSeqMap, False, 0)), (), ((), _M_baosight._t_ByteSeqMap, False, 0), ())
|
||
|
|
CallBackICE._op_StringMapCallBack = IcePy.Operation('StringMapCallBack', Ice.OperationMode.Normal, Ice.OperationMode.Normal, False, None, (), (((), IcePy._t_int, False, 0), ((), _M_baosight._t_StringMap, False, 0)), (), ((), _M_baosight._t_StringMap, False, 0), ())
|
||
|
|
CallBackICE._op_DoubleMapCallBack = IcePy.Operation('DoubleMapCallBack', Ice.OperationMode.Normal, Ice.OperationMode.Normal, False, None, (), (((), IcePy._t_int, False, 0), ((), _M_baosight._t_FloatMap, False, 0)), (), ((), _M_baosight._t_DoubleMap, False, 0), ())
|
||
|
|
CallBackICE._op_IntCallBack = IcePy.Operation('IntCallBack', Ice.OperationMode.Normal, Ice.OperationMode.Normal, False, None, (), (((), IcePy._t_int, False, 0), ((), _M_baosight._t_IntMap, False, 0)), (), ((), _M_baosight._t_IntMap, False, 0), ())
|
||
|
|
CallBackICE._op_TimeNotify = IcePy.Operation('TimeNotify', Ice.OperationMode.Normal, Ice.OperationMode.Normal, False, None, (), (((), IcePy._t_int, False, 0), ((), _M_Ice._t_ByteSeq, False, 0)), (), None, ())
|
||
|
|
|
||
|
|
_M_baosight.CallBackICE = CallBackICE
|
||
|
|
del CallBackICE
|
||
|
|
|
||
|
|
# End of module baosight
|