|
SourceForge Jpcap | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectnet.sourceforge.jpcap.client.HostRenderer
public class HostRenderer
A rendering of a host on a network.
Field Summary | |
---|---|
String |
hostName
The host name of the host associated with this renderer. |
String |
ipAddress
The IP address of the host associated with this renderer. |
Constructor Summary | |
---|---|
HostRenderer(Canvas canvas,
String ipAddress)
Create a new host renderer. |
Method Summary | |
---|---|
String |
getHostName()
Fetch the name of the host associated with this renderer. |
String |
getIpAddress()
Fetch the IP address of the host associated with this renderer. |
protected void |
setHostName(String hostName)
Fetch the name of the host associated with this renderer. |
void |
setPos(int xn,
int yn)
|
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 String ipAddress
public String hostName
Constructor Detail |
---|
public HostRenderer(Canvas canvas, 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 String toString()
toString
in class Object
public String getIpAddress()
public String getHostName()
protected void setHostName(String hostName)
|
Copyright © Patrick Charles & Jonas Lehmann, 2001; Esmond Pitt, 2008. | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |