Package ru.bitel.bgbilling.modules.ipn.server.bean

# Class VlanManager

java.lang.Object
ru.bitel.bgbilling.modules.ipn.server.bean.VlanManager

public class VlanManager extends Object

- ## Field Summary

  Fields
  Modifier and Type
  Field
  Description
  `protected Connection`
  `con`
  `protected int`
  `mid`

- ## Constructor Summary

  Constructors
  Constructor
  Description
  `VlanManager(int mid, Connection con)`

- ## Method Summary

  Modifier and Type
  Method
  Description
  `int`
  `createVlan(int vid, int gateId, int cid)`
  `Integer`
  `getFreeVlan(int gateId, List<List<Integer>> rangeList)`
  `int`
  `getUsedVlan(int gateId, int vlanId)`
  `boolean`
  `getVlan(int gateId)`
  `int`
  `getVlan(int gateId, int cid)`
  `List<List<Integer>>`
  `getVlanList(int cid)`
  `void`
  `removeVlan(int vid, int gateId, int cid)`

  ### Methods inherited from class java.lang.Object

  `clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait`

- ## Field Details

  - ### mid

    protected int mid

  - ### con

    protected Connection con

- ## Constructor Details

  - ### VlanManager

    public VlanManager(int mid, Connection con)

- ## Method Details

  - ### getVlan

    public int getVlan(int gateId, int cid)

  - ### getVlan

    public boolean getVlan(int gateId)

  - ### getUsedVlan

    public int getUsedVlan(int gateId, int vlanId)

  - ### getVlanList

    public List<List<Integer>> getVlanList(int cid)

  - ### getFreeVlan

    public Integer getFreeVlan(int gateId, List<List<Integer>> rangeList)

  - ### createVlan

    public int createVlan(int vid, int gateId, int cid)

  - ### removeVlan

    public void removeVlan(int vid, int gateId, int cid)