예제 #1
0
	def _handler_topology_websocket(self, ws):
		rpc_server = WebSocketRPCServer(ws, self.app)
		rpc_server.serve_forever()
예제 #2
0
 def _websocket_handler(self, ws):
     simple_switch = self.simple_switch_app
     simple_switch.logger.debug('WebSocket connected: %s', ws)
     rpc_server = WebSocketRPCServer(ws, simple_switch)
     rpc_server.serve_forever()
     simple_switch.logger.debug('WebSocket disconnected: %s', ws)
예제 #3
0
 def _websocket_handler(self, ws):
     rpc_server = WebSocketRPCServer(ws, self.bgp_api_app)
     rpc_server.serve_forever()
예제 #4
0
파일: jsonrpc.py 프로젝트: Aminiok/ryu
 def _websocket_handler(self, ws):
     rpc_server = WebSocketRPCServer(ws, self.bgp_api_app)
     rpc_server.serve_forever()
예제 #5
0
 def _websocket_handler(self, ws):
     simple_switch = self.simple_switch_app
     simple_switch.logger.debug('WebSocket connected: %s', ws)
     rpc_server = WebSocketRPCServer(ws, simple_switch)
     rpc_server.serve_forever()
     simple_switch.logger.debug('WebSocket disconnected: %s', ws)
예제 #6
0
 def websocket_handler_2(self, ws):
     logger.debug('WebSocket connected: %s', ws)
     rpc_server = WebSocketRPCServer(ws, self.ctrl_api.app)
     rpc_server.serve_forever()
     logger.debug('WebSocket disconnected: %s', ws)
예제 #7
0
 def _websocket_handler(self, ws):
     rpc_client = WebSocketRPCServer(ws, self.app)
     rpc_client.serve_forever()