public int removeRegisteredNet(String oldNet)
{
if (oldNet == null) return TErrorList.argument_list_error;
synchronized (gRegisteredNetsList)
{
TNetAcl a = new TNetAcl(oldNet);
if (!gRegisteredNetsList.contains(a)) return TErrorList.invalid_name;
gRegisteredNetsList.remove(a);
}
return 0;
}