self.registration_record = dict()
self.communicationHandler = CommunicationHandler(self)
self.processor = Communication.Processor(self.communicationHandler)
- self.transport = TSocket.TServerSocket(port=9090)
+ self.transport = TSocket.TServerSocket(port=DOMINO_SERVER_PORT)
self.tfactory = TTransport.TBufferedTransportFactory()
self.pfactory = TBinaryProtocol.TBinaryProtocolFactory()
#Use TThreadedServer or TThreadPoolServer for a multithreaded server
def main(argv):
server = DominoServer()
-
+ loglevel = 'WARNING'
#process input arguments
try:
opts, args = getopt.getopt(argv,"hc:l:",["conf=","log="])
sudo pip install tosca-parser
###Start Domino Server:
- ./DominoServer.py
+ ./DominoServer.py --log=DEBUG
###Start the first Domino Client:
- ./DominoClient.py -p 9091
+ ./DominoClient.py -p 9091 --log=DEBUG
###Start the second Domino Client:
./DominoClient.py -p 9092