Class NetworkAdapterWrapper

java.lang.Object
com.elpical.jclaro.admin.ws.server.NetworkAdapterWrapper

public class NetworkAdapterWrapper extends Object
Class which hold information about network cards in the system. Needed for licensing
  • Constructor Details

    • NetworkAdapterWrapper

      public NetworkAdapterWrapper()
      Empty constructor
    • NetworkAdapterWrapper

      public NetworkAdapterWrapper(com.elpical.jclaro.license.NetworkAdapter networkAdapter)
      Constructor which reads information form the server NetworkAdapter object
  • Method Details

    • getDisplayname

      public String getDisplayname()
      Returns the name of the network adapter
      Returns:
      The name of the network adapter
    • setDisplayname

      public void setDisplayname(String displayname)
      Sets the name of the network adapter
      Parameters:
      displayname - The name of the network adapter
    • getMacbytes

      public byte[] getMacbytes()
      Returns the hardware address of the network adapter
      Returns:
      The hardware address of the network adapter
    • setMacbytes

      public void setMacbytes(byte[] macbytes)
      Sets the hardware address of the network adapter
      Parameters:
      macbytes - The hardware address of the network adapter