/usr/lib/python2.7/dist-packages/Ice/Process_ice.py is in python-zeroc-ice 3.7.0-5.
This file is owned by root:root, with mode 0o644.
The actual contents of the file can be viewed below.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 167 168 169 170 171 172 173 174 175 176 177 178 179 180 | # -*- coding: utf-8 -*-
# **********************************************************************
#
# Copyright (c) 2003-2017 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.0
#
# <auto-generated>
#
# Generated from file `Process.ice'
#
# Warning: do not edit this file.
#
# </auto-generated>
#
from sys import version_info as _version_info_
import Ice, IcePy
# Start of module Ice
_M_Ice = Ice.openModule('Ice')
__name__ = 'Ice'
_M_Ice._t_Process = IcePy.defineValue('::Ice::Process', Ice.Value, -1, (), False, True, None, ())
if 'ProcessPrx' not in _M_Ice.__dict__:
_M_Ice.ProcessPrx = Ice.createTempClass()
class ProcessPrx(Ice.ObjectPrx):
"""
Initiate a graceful shut-down.
Arguments:
context -- The request context for the invocation.
"""
def shutdown(self, context=None):
return _M_Ice.Process._op_shutdown.invoke(self, ((), context))
"""
Initiate a graceful shut-down.
Arguments:
context -- The request context for the invocation.
Returns: A future object for the invocation.
"""
def shutdownAsync(self, context=None):
return _M_Ice.Process._op_shutdown.invokeAsync(self, ((), context))
"""
Initiate a graceful shut-down.
Arguments:
_response -- The asynchronous response callback.
_ex -- The asynchronous exception callback.
_sent -- The asynchronous sent callback.
context -- The request context for the invocation.
Returns: An asynchronous result object for the invocation.
"""
def begin_shutdown(self, _response=None, _ex=None, _sent=None, context=None):
return _M_Ice.Process._op_shutdown.begin(self, ((), _response, _ex, _sent, context))
"""
Initiate a graceful shut-down.
Arguments:
"""
def end_shutdown(self, _r):
return _M_Ice.Process._op_shutdown.end(self, _r)
"""
Write a message on the process' stdout or stderr.
Arguments:
message -- The message.
fd -- 1 for stdout, 2 for stderr.
context -- The request context for the invocation.
"""
def writeMessage(self, message, fd, context=None):
return _M_Ice.Process._op_writeMessage.invoke(self, ((message, fd), context))
"""
Write a message on the process' stdout or stderr.
Arguments:
message -- The message.
fd -- 1 for stdout, 2 for stderr.
context -- The request context for the invocation.
Returns: A future object for the invocation.
"""
def writeMessageAsync(self, message, fd, context=None):
return _M_Ice.Process._op_writeMessage.invokeAsync(self, ((message, fd), context))
"""
Write a message on the process' stdout or stderr.
Arguments:
message -- The message.
fd -- 1 for stdout, 2 for stderr.
_response -- The asynchronous response callback.
_ex -- The asynchronous exception callback.
_sent -- The asynchronous sent callback.
context -- The request context for the invocation.
Returns: An asynchronous result object for the invocation.
"""
def begin_writeMessage(self, message, fd, _response=None, _ex=None, _sent=None, context=None):
return _M_Ice.Process._op_writeMessage.begin(self, ((message, fd), _response, _ex, _sent, context))
"""
Write a message on the process' stdout or stderr.
Arguments:
message -- The message.
fd -- 1 for stdout, 2 for stderr.
"""
def end_writeMessage(self, _r):
return _M_Ice.Process._op_writeMessage.end(self, _r)
@staticmethod
def checkedCast(proxy, facetOrContext=None, context=None):
return _M_Ice.ProcessPrx.ice_checkedCast(proxy, '::Ice::Process', facetOrContext, context)
@staticmethod
def uncheckedCast(proxy, facet=None):
return _M_Ice.ProcessPrx.ice_uncheckedCast(proxy, facet)
@staticmethod
def ice_staticId():
return '::Ice::Process'
_M_Ice._t_ProcessPrx = IcePy.defineProxy('::Ice::Process', ProcessPrx)
_M_Ice.ProcessPrx = ProcessPrx
del ProcessPrx
_M_Ice.Process = Ice.createTempClass()
class Process(Ice.Object):
def ice_ids(self, current=None):
return ('::Ice::Object', '::Ice::Process')
def ice_id(self, current=None):
return '::Ice::Process'
@staticmethod
def ice_staticId():
return '::Ice::Process'
def shutdown(self, current=None):
"""
Initiate a graceful shut-down.
Arguments:
current -- The Current object for the invocation.
Returns: A future object for the invocation.
"""
raise NotImplementedError("servant method 'shutdown' not implemented")
def writeMessage(self, message, fd, current=None):
"""
Write a message on the process' stdout or stderr.
Arguments:
message -- The message.
fd -- 1 for stdout, 2 for stderr.
current -- The Current object for the invocation.
Returns: A future object for the invocation.
"""
raise NotImplementedError("servant method 'writeMessage' not implemented")
def __str__(self):
return IcePy.stringify(self, _M_Ice._t_ProcessDisp)
__repr__ = __str__
_M_Ice._t_ProcessDisp = IcePy.defineClass('::Ice::Process', Process, (), None, ())
Process._ice_type = _M_Ice._t_ProcessDisp
Process._op_shutdown = IcePy.Operation('shutdown', Ice.OperationMode.Normal, Ice.OperationMode.Normal, False, None, (), (), (), None, ())
Process._op_writeMessage = IcePy.Operation('writeMessage', Ice.OperationMode.Normal, Ice.OperationMode.Normal, False, None, (), (((), IcePy._t_string, False, 0), ((), IcePy._t_int, False, 0)), (), None, ())
_M_Ice.Process = Process
del Process
# End of module Ice
Ice.sliceChecksums["::Ice::Process"] = "e3a9673d486a5bf031844cac6f9d287e"
|