def _get_replica_stream_conn(self): return update_stream_service.UpdateStreamConnection( "localhost:%u" % replica_tablet.port, 30)
def _get_master_stream_conn(self): return update_stream_service.UpdateStreamConnection(master_host, 30)
def _get_replica_stream_conn(): #return update_stream_service.UpdateStreamConnection(replica_host, 30, user="******", password="******") return update_stream_service.UpdateStreamConnection(replica_host, 30)
def _get_update_stream(tblt): return update_stream_service.UpdateStreamConnection( 'localhost:%u' % tblt.port, 30)
def _get_master_stream_conn(self): #return update_stream_service.UpdateStreamConnection(master_host, 30, user="******", password="******") return update_stream_service.UpdateStreamConnection(master_host, 30)