public static class EAPOLMkpduBasicParameterSet.SCI extends Object
| Modifier and Type | Field and Description | 
|---|---|
static int | 
PORT_OFFSET  | 
static int | 
SYSTEM_IDENTIFIER_LENGTH  | 
| Constructor and Description | 
|---|
SCI(byte[] sci)
To set SCI from MAC address and port stream. 
 | 
SCI(byte[] address,
   short port)
To set SCI from MAC address and port number. 
 | 
| Modifier and Type | Method and Description | 
|---|---|
byte[] | 
address()
To return address. 
 | 
byte[] | 
array()
Convert to byte array. 
 | 
short | 
port()
To return Port. 
 | 
void | 
setAdddress(byte[] address)
To set address. 
 | 
void | 
setPort(short port)
TO set Port. 
 | 
public static final int SYSTEM_IDENTIFIER_LENGTH
public static final int PORT_OFFSET
public SCI(byte[] sci)
sci - , type byte[]public SCI(byte[] address,
           short port)
    throws IllegalArgumentException
address - ,type byte[]port - ,type shortIllegalArgumentException - Exceptionspublic void setAdddress(byte[] address)
                 throws IllegalArgumentException
address - , type byte[]IllegalArgumentException - if address is not setpublic byte[] address()
public void setPort(short port)
port - , type shortpublic short port()
public byte[] array()