com.bigswitch.floodlight.vendor
Class OFInterfaceVendorData

java.lang.Object
  extended by com.bigswitch.floodlight.vendor.OFInterfaceVendorData

public class OFInterfaceVendorData
extends java.lang.Object


Field Summary
protected  byte[] hardwareAddress
           
protected  int ipv4Addr
           
protected  int ipv4AddrMask
           
static int MINIMUM_LENGTH
           
protected  java.lang.String name
           
 
Constructor Summary
OFInterfaceVendorData()
           
 
Method Summary
 byte[] getHardwareAddress()
           
 int getIpv4Addr()
           
 int getIpv4AddrMask()
           
 java.lang.String getName()
           
 void readFrom(java.nio.ByteBuffer data)
          Read this message off the wire from the specified ByteBuffer
 void setHardwareAddress(byte[] hardwareAddress)
           
 void setIpv4Addr(int ipv4Addr)
           
 void setIpv4AddrMask(int ipv4AddrMask)
           
 void setName(java.lang.String name)
           
 void writeTo(java.nio.ByteBuffer data)
          Write this message's binary format to the specified ByteBuffer
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

MINIMUM_LENGTH

public static int MINIMUM_LENGTH

hardwareAddress

protected byte[] hardwareAddress

name

protected java.lang.String name

ipv4Addr

protected int ipv4Addr

ipv4AddrMask

protected int ipv4AddrMask
Constructor Detail

OFInterfaceVendorData

public OFInterfaceVendorData()
Method Detail

getHardwareAddress

public byte[] getHardwareAddress()
Returns:
the hardwareAddress

setHardwareAddress

public void setHardwareAddress(byte[] hardwareAddress)
Parameters:
hardwareAddress - the hardwareAddress to set

getIpv4Addr

public int getIpv4Addr()

setIpv4Addr

public void setIpv4Addr(int ipv4Addr)

getIpv4AddrMask

public int getIpv4AddrMask()

setIpv4AddrMask

public void setIpv4AddrMask(int ipv4AddrMask)

getName

public java.lang.String getName()
Returns:
the name

setName

public void setName(java.lang.String name)
Parameters:
name - the name to set

writeTo

public void writeTo(java.nio.ByteBuffer data)
Write this message's binary format to the specified ByteBuffer

Parameters:
data -

readFrom

public void readFrom(java.nio.ByteBuffer data)
Read this message off the wire from the specified ByteBuffer

Parameters:
data -