Class GatePortManager
java.lang.Object
ru.bitel.bgbilling.modules.ipn.server.bean.GatePortManager
Клас для работы с портами шлюзов
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbooleandeleteGatePorts(int cid, int gid) findFreePorts(int cid, int gid, int count, List<List<Integer>> rangeList) getAvailableGates(int cid) getGatePortMap(int cid, int gid) getGatePortMaps(int contractId) getGatePorts(int cid, int gid) getPortMonitorMap(int gid) booleanportsExists(int cid, int gid, List<Integer> ports) booleanupdateGatePorts(int cid, int gid, List<Integer> ports)
-
Field Details
-
mid
protected int mid -
con
-
-
Constructor Details
-
GatePortManager
-
-
Method Details
-
getGatePortMaps
public List<Map<String,Object>> getGatePortMaps(int contractId) throws ru.bitel.bgbilling.common.BGException - Throws:
ru.bitel.bgbilling.common.BGException
-
getPortMonitorMap
public List<Map<String,Object>> getPortMonitorMap(int gid) throws ru.bitel.bgbilling.common.BGException - Throws:
ru.bitel.bgbilling.common.BGException
-
getGatePortMap
- Throws:
Exception
-
updateGatePorts
public boolean updateGatePorts(int cid, int gid, List<Integer> ports) throws ru.bitel.bgbilling.common.BGException - Throws:
ru.bitel.bgbilling.common.BGException
-
deleteGatePorts
public boolean deleteGatePorts(int cid, int gid) throws ru.bitel.bgbilling.common.BGException - Throws:
ru.bitel.bgbilling.common.BGException
-
findFreePorts
public List<Integer> findFreePorts(int cid, int gid, int count, List<List<Integer>> rangeList) throws ru.bitel.bgbilling.common.BGException - Throws:
ru.bitel.bgbilling.common.BGException
-
getAvailableGates
- Throws:
ru.bitel.bgbilling.common.BGException
-
portsExists
public boolean portsExists(int cid, int gid, List<Integer> ports) throws ru.bitel.bgbilling.common.BGException - Throws:
ru.bitel.bgbilling.common.BGException
-
getGatePorts
- Throws:
ru.bitel.bgbilling.common.BGException
-