Class NetworkAdapterWrapper
java.lang.Object
com.elpical.jclaro.admin.ws.server.NetworkAdapterWrapper
Class which hold information about network cards in the system. Needed for licensing
-
Constructor Summary
ConstructorsConstructorDescriptionEmpty constructorNetworkAdapterWrapper(com.elpical.jclaro.license.NetworkAdapter networkAdapter)
Constructor which reads information form the server NetworkAdapter object -
Method Summary
Modifier and TypeMethodDescriptionReturns the name of the network adapterbyte[]
Returns the hardware address of the network adaptervoid
setDisplayname(String displayname)
Sets the name of the network adaptervoid
setMacbytes(byte[] macbytes)
Sets the hardware address of the network adapter
-
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
Returns the name of the network adapter- Returns:
- The name of the network adapter
-
setDisplayname
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
-