!C99Shell v. 2.0 [PHP 7 Update] [25.02.2019]!

Software: Apache/2.2.16 (Debian). PHP/5.3.3-7+squeeze19 

uname -a: Linux mail.tri-specialutilitydistrict.com 2.6.32-5-amd64 #1 SMP Tue May 13 16:34:35 UTC
2014 x86_64
 

uid=33(www-data) gid=33(www-data) groups=33(www-data) 

Safe-mode: OFF (not secure)

/usr/share/doc/python-pyorbit/examples/c-inproc/   drwxr-xr-x
Free 129.74 GB of 142.11 GB (91.29%)
Home    Back    Forward    UPDIR    Refresh    Search    Buffer    Encoder    Tools    Proc.    FTP brute    Sec.    SQL    PHP-code    Update    Feedback    Self remove    Logout    


Viewing file:     test-c-inproc.py (1.27 KB)      -rw-r--r--
Select action/file-type:
(+) | (+) | (+) | Code (+) | Session (+) | (+) | SDB (+) | (+) | (+) | (+) | (+) | (+) |
import sys
import ORBit

sys.path.append('.libs')
ORBit.load_typelib('./TestCall_module')

import CORBA, PyORBit, PyORBit__POA
import cTestCall

class PyTestCall(PyORBit__POA.TestCall):
    def op1(self, other):
        this = self._this()
        print "  Python impl of TestCall.op1 invoked"
        other.op2(this)
    def op2(self, other):
        print "  Python impl of TestCall.op2 invoked"
        other.op3()
    def op3(self):
        this = self._this()
        print "  Python impl of TestCall.op3 invoked"

orb = CORBA.ORB_init(sys.argv)
poa = orb.resolve_initial_references('RootPOA')

# create the C objref
c_objref = cTestCall.create_TestCall(orb)

# create the python objref
py_servant = PyTestCall()
py_objref = py_servant._this()

# create a python servant that delegates to a C object reference :)
py_delegate_servant = PyORBit__POA.TestCall(c_objref)
py_delegate_objref = py_delegate_servant._this()

print "Calling py_objref.op1(py_objref)"
py_objref.op1(py_objref)
print

print "Calling c_objref.op1(c_objref)"
c_objref.op1(c_objref)
print

print "Calling py_objref.op1(c_objref)"
py_objref.op1(c_objref)
print

print "Calling c_objref.op1(py_objref)"
c_objref.op1(py_objref)
print

print "Calling py_delegate_objref.op1(py_objref)"
py_delegate_objref.op1(py_objref)
print

:: Command execute ::

Enter:
 
Select:
 

:: Search ::
  - regexp 

:: Upload ::
 
[ Read-Only ]

:: Make Dir ::
 
[ Read-Only ]
:: Make File ::
 
[ Read-Only ]

:: Go Dir ::
 
:: Go File ::
 

--[ c99shell v. 2.0 [PHP 7 Update] [25.02.2019] maintained by KaizenLouie | C99Shell Github | Generation time: 0.0187 ]--