|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectnet.sourceforge.jpcap.client.HostRenderer
A rendering of a host on a network.
| Field Summary | |
java.lang.String |
hostName
The host name of the host associated with this renderer. |
java.lang.String |
ipAddress
The IP address of the host associated with this renderer. |
| Constructor Summary | |
HostRenderer(java.awt.Canvas canvas,
java.lang.String ipAddress)
Create a new host renderer. |
|
| Method Summary | |
java.lang.String |
getHostName()
Fetch the name of the host associated with this renderer. |
java.lang.String |
getIpAddress()
Fetch the IP address of the host associated with this renderer. |
protected void |
setHostName(java.lang.String hostName)
Fetch the name of the host associated with this renderer. |
void |
setPos(int xn,
int yn)
|
java.lang.String |
toString()
Convert this host renderer to a readable string. |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Field Detail |
public java.lang.String ipAddress
public java.lang.String hostName
| Constructor Detail |
public HostRenderer(java.awt.Canvas canvas,
java.lang.String ipAddress)
canvas - the canvas where this host is being drawn.ipAddress - the ip address of the host being drawn.| Method Detail |
public void setPos(int xn,
int yn)
public java.lang.String toString()
public java.lang.String getIpAddress()
public java.lang.String getHostName()
protected void setHostName(java.lang.String hostName)
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||