proxyd有一个接受endpoint,并会监听一个内部地址和一个外部地址
内部地址用于连接本机的serverd,外部地址用于和其他集群的proxyd通信
proxyd对内部serverd发送消息采用zmq router节点,对每个外部proxyd都会建立一个zmq dealer节点与之通信
| from PyQt5 import QtCore, QtGui, QtWidgets | |
| if __name__ == "__main__": | |
| import sys | |
| app = QtWidgets.QApplication(sys.argv) | |
| app.setStyle('Fusion') | |
| palette = QtGui.QPalette() | |
| palette.setColor(QtGui.QPalette.Window, QtGui.QColor(53,53,53)) | |
| palette.setColor(QtGui.QPalette.WindowText, QtCore.Qt.white) | |
| palette.setColor(QtGui.QPalette.Base, QtGui.QColor(15,15,15)) |
| /** @file doxygen_chinese_utils.em | |
| * @note HangZhou Hikvision Digital Technology Co., Ltd. All Right Reserved. | |
| * @brief Doxygen宏 和 支持中文显示与操作的宏,字体颜色之类的注释说明未完成 | |
| * | |
| * @author liuboyf1 | |
| * @date 2012-10-26 | |
| * @version V1.0.0 | |
| * | |
| * @note ///Description here | |
| * @note History: |