예제 #1
0
def discover_meta(ipExpression=None, timeout=100):
    if ipExpression == None: 
       nl = FederationServiceDiscovery.getInstance().discoverMeTA()
    else:
       inst = FederationServiceDiscovery.getInstance()
       inst.setTimeout(timeout)
       nl = inst.discoverMeTA(ipExpression)

    return arraylistToPylist(nl)
예제 #2
0
def list_meta(timeout=100):
    inst = FederationServiceDiscovery.getInstance()
    inst.setTimeout(timeout)
    return arraylistToPylist(inst.listMeTA())