Esempio n. 1
0
'''
Created on 2014/09/09

@author: Kazuma-Akamine @ OOL
'''
from ncs.compute.rpc.reciever import Reciever

def test_callback(data):
    print 'callback : %s' % str(data)

if __name__ == '__main__':
    print('go main')
    reciever = Reciever('12.04@ubuntu', "ncs.compute.drivers.linux.ubuntu")
    reciever.start()
Esempio n. 2
0
__author__ = 'junichi_matayoshi'

import sys
from ncs.compute.rpc.reciever import Reciever


if __name__ == '__main__':
    pss = Reciever(sys.argv[2], sys.argv[1])
    pss.start()