|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectverinec.netsim.firewall.packetFilter.IfMap
public class IfMap
Maps interfaces to interface-filter-mappings
| Field Summary | |
|---|---|
private String |
chain
References to a chain (packet-filter-chain) defined in packet-filters TODO get the reference |
private String |
direction
|
private String |
interf
References to a interface defined in the node.xml TODO get the reference |
private Logger |
logger
|
| Constructor Summary | |
|---|---|
protected |
IfMap(Element node)
Creates a new IfMap (Interface Mapping). |
| Method Summary | |
|---|---|
String |
getChain()
Get the chain reference |
String |
getDirection()
Get the direction |
String |
getInterf()
Retrieves the interface |
void |
setChain(String chain)
Set the chain reference |
void |
setDirection(String direction)
Sets the direction. |
void |
setInterf(String interf)
Sets a new interface |
String |
toString()
|
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Field Detail |
|---|
private String interf
private String chain
private String direction
private Logger logger
| Constructor Detail |
|---|
protected IfMap(Element node)
node - Element which specifies the configuration for the Interface Mapping.| Method Detail |
|---|
public String getChain()
public void setChain(String chain)
chain - The chain to set.public String getDirection()
public void setDirection(String direction)
direction - The direction to set.public String getInterf()
public void setInterf(String interf)
interf - The interface to set.public String toString()
toString in class ObjectObject.toString()
|
Copyright © 2005 Verinec, DIUF | ||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||