|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Object | +--com.dalsemi.nethack.EthernetAccess
A class to provide a java interface to some networking utilities.
| Method Summary | |
static void |
getDefaultRouterIPAddress(byte[] address)
Deprecated. Replaced by TININet.getGatewayIP(byte[]). |
static void |
getEthernetAddress(byte[] address)
Deprecated. Replaced by TININet.getEthernetAddress(byte[]). |
static void |
getIPAddress(byte[] address)
Deprecated. Replaced by TININet.getIPAddress(byte[]). |
static void |
getSubnetMask(byte[] mask)
Deprecated. Replaced by TININet.getSubnetMask(byte[]). |
static void |
setDefaultRouterIPAddress(byte[] address)
Deprecated. Replaced by TININet.setGatewayIP(byte[]). |
static void |
setEthernetAddress(byte[] address)
Deprecated. Replaced by TININet.setEthernetAddress(byte[]). |
static void |
setIPAddress(byte[] address)
Deprecated. Replaced by TININet.setIPAddress(byte[]). |
static void |
setSubnetMask(byte[] mask)
Deprecated. Replaced by TININet.setSubnetMask(byte[]). |
| Methods inherited from class java.lang.Object |
clone,
equals,
finalize,
getClass,
hashCode,
notify,
notifyAll,
toString,
wait,
wait,
wait |
| Method Detail |
public static void setEthernetAddress(byte[] address)
address - - the address for the TINI board. Should be
in the form of a byte[] containing the address.public static void getEthernetAddress(byte[] address)
address - - a byte[] of size 6. The call will fill in the
contents of the byte[] with the ethernet address.public static void getIPAddress(byte[] address)
address - - a byte[] of size four that will be filled in
with the IP address.public static void setIPAddress(byte[] address)
address - - a four byte array containing a valid IP Address.public static void getDefaultRouterIPAddress(byte[] address)
address - - a four byte array that will be filled in with the
current setting for the router.public static void setDefaultRouterIPAddress(byte[] address)
address - - a four byte array that contains a valid router IP
address.public static void getSubnetMask(byte[] mask)
mask - - a four byte array that will be filled with the
current subnet mask.public static void setSubnetMask(byte[] mask)
address - - a four byte array containing a valid subnet mask.
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||