# -*- 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 # # # # Generated from file `MessageICE.ice' # # Warning: do not edit this file. # # # from sys import version_info as _version_info_ import Ice, IcePy import Ice.BuiltinSequences_ice # Included module Ice _M_Ice = Ice.openModule('Ice') # Start of module baosight _M_baosight = Ice.openModule('baosight') __name__ = 'baosight' _M_baosight._t_MessageICE = IcePy.defineValue('::baosight::MessageICE', Ice.Value, -1, (), False, True, None, ()) if 'MessageICEPrx' not in _M_baosight.__dict__: _M_baosight.MessageICEPrx = Ice.createTempClass() class MessageICEPrx(Ice.ObjectPrx): def SendDataShort(self, eventNo, seq, length, context=None): return _M_baosight.MessageICE._op_SendDataShort.invoke(self, ((eventNo, seq, length), context)) def SendDataShortAsync(self, eventNo, seq, length, context=None): return _M_baosight.MessageICE._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.MessageICE._op_SendDataShort.begin(self, ((eventNo, seq, length), _response, _ex, _sent, context)) def end_SendDataShort(self, _r): return _M_baosight.MessageICE._op_SendDataShort.end(self, _r) def SendDataLong(self, eventNo, seq, length, sender, reciver, aditional, context=None): return _M_baosight.MessageICE._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.MessageICE._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.MessageICE._op_SendDataLong.begin(self, ((eventNo, seq, length, sender, reciver, aditional), _response, _ex, _sent, context)) def end_SendDataLong(self, _r): return _M_baosight.MessageICE._op_SendDataLong.end(self, _r) def TimeNotify(self, eventNo, seq, context=None): return _M_baosight.MessageICE._op_TimeNotify.invoke(self, ((eventNo, seq), context)) def TimeNotifyAsync(self, eventNo, seq, context=None): return _M_baosight.MessageICE._op_TimeNotify.invokeAsync(self, ((eventNo, seq), context)) def begin_TimeNotify(self, eventNo, seq, _response=None, _ex=None, _sent=None, context=None): return _M_baosight.MessageICE._op_TimeNotify.begin(self, ((eventNo, seq), _response, _ex, _sent, context)) def end_TimeNotify(self, _r): return _M_baosight.MessageICE._op_TimeNotify.end(self, _r) @staticmethod def checkedCast(proxy, facetOrContext=None, context=None): return _M_baosight.MessageICEPrx.ice_checkedCast(proxy, '::baosight::MessageICE', facetOrContext, context) @staticmethod def uncheckedCast(proxy, facet=None): return _M_baosight.MessageICEPrx.ice_uncheckedCast(proxy, facet) @staticmethod def ice_staticId(): return '::baosight::MessageICE' _M_baosight._t_MessageICEPrx = IcePy.defineProxy('::baosight::MessageICE', MessageICEPrx) _M_baosight.MessageICEPrx = MessageICEPrx del MessageICEPrx _M_baosight.MessageICE = Ice.createTempClass() class MessageICE(Ice.Object): def ice_ids(self, current=None): return ('::Ice::Object', '::baosight::MessageICE') def ice_id(self, current=None): return '::baosight::MessageICE' @staticmethod def ice_staticId(): return '::baosight::MessageICE' 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 TimeNotify(self, eventNo, seq, current=None): raise NotImplementedError("servant method 'TimeNotify' not implemented") def __str__(self): return IcePy.stringify(self, _M_baosight._t_MessageICEDisp) __repr__ = __str__ _M_baosight._t_MessageICEDisp = IcePy.defineClass('::baosight::MessageICE', MessageICE, (), None, ()) MessageICE._ice_type = _M_baosight._t_MessageICEDisp MessageICE._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)), (), None, ()) MessageICE._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)), (), None, ()) MessageICE._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.MessageICE = MessageICE del MessageICE # End of module baosight