|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.quadrique.jbuildingblocks.core.io.networkInterfaces.JbbNetworkInterface
public class JbbNetworkInterface
| Constructor Summary | |
|---|---|
JbbNetworkInterface()
|
|
JbbNetworkInterface(NetworkInterface netint)
|
|
| Method Summary | |
|---|---|
void |
afterEachTest()
clean up the tests fixture |
void |
beforeEachTest()
acquireConnection the tests fixture |
void |
displayInterfaceInformation()
Write interface information to the console |
String |
getInterfaceInformationAsString()
|
ArrayList<String> |
getIP()
Get the list of IP addresses of this interface |
String |
getMAC()
Get the MAC address of this interface |
NetworkInterface |
getNetworkInterface()
|
void |
testGetInterfaceInformationAsString()
|
| Methods inherited from class java.lang.Object |
|---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public JbbNetworkInterface()
public JbbNetworkInterface(NetworkInterface netint)
throws NullPointerException
NullPointerException| Method Detail |
|---|
public void beforeEachTest()
public void afterEachTest()
public String getMAC()
throws SocketException
SocketExceptionpublic ArrayList<String> getIP()
SocketException
public String getInterfaceInformationAsString()
throws SocketException
SocketExceptionpublic void testGetInterfaceInformationAsString()
public void displayInterfaceInformation()
throws SocketException
SocketExceptionpublic NetworkInterface getNetworkInterface()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||