Skip to content
Snippets Groups Projects
Commit 3cfdcb48 authored by Jan David Mol's avatar Jan David Mol
Browse files

SW-699: Use default bus

parent d3ae1a95
No related branches found
No related tags found
No related merge requests found
......@@ -21,7 +21,8 @@
import logging
from lofar.messaging.RPC import RPCWrapper
from lofar.mac.config import DEFAULT_OBSERVATION_CONTROL_BUS_NAME, DEFAULT_OBSERVATION_CONTROL_SERVICE_NAME
from lofar.messaging import DEFAULT_BROKER, DEFAULT_BUSNAME
from lofar.mac.config import DEFAULT_OBSERVATION_CONTROL_SERVICE_NAME
''' Simple RPC client for Service ObservationControl2
'''
......@@ -31,9 +32,9 @@ logger = logging.getLogger(__name__)
class ObservationControlRPCClient(RPCWrapper):
def __init__(self,
busname=DEFAULT_OBSERVATION_CONTROL_BUS_NAME,
busname=DEFAULT_BUSNAME,
servicename=DEFAULT_OBSERVATION_CONTROL_SERVICE_NAME,
broker=None,
broker=DEFAULT_BROKER,
timeout=120):
super(ObservationControlRPCClient, self).__init__(busname, servicename, broker, timeout=timeout)
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment