|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
public interface ITableKey
Interface for the different key types of the Hash Table.
| Method Summary | |
|---|---|
boolean |
equals(Object other)
Equals methos which overrides @link Object#equals(java.lang.Object) The method was overriden so that the one can compare @link ITableKey Objects. |
String |
getProtocol()
Returns the protcol of the packet-key. |
boolean |
handleEstablished(Packet packet,
StatefulInspection stateInspect)
Method which checks if a packet is in the NEW satet of the appropriate packet's protocol. |
boolean |
handleNew(Packet packet,
StatefulInspection stateInspect)
Method which checks if a packet is in the ESTABLISHED satet of the appropriate packet's protocol. |
boolean |
handleRelated(Packet packet,
StatefulInspection stateInspect)
Method which checks if a packet is in the RELATED satet of the appropriate packet's protocol. |
int |
hashCode()
HashCode method which overrides @link Object#hashCode() The method was overriden so that one can compare @link ITableKey Objects. |
TableEntry |
updateEntry(TableEntry entry,
boolean reply,
Node node,
String hostname)
Method which updates the connection entry according to the protocol. |
| Method Detail |
|---|
String getProtocol()
boolean equals(Object other)
equals in class Objectother - the Other Object to compare against.
int hashCode()
hashCode in class Object
boolean handleNew(Packet packet,
StatefulInspection stateInspect)
packet - Packet which is checked for its state.stateInspect - State Table with all the connection entries of the node.
boolean handleEstablished(Packet packet,
StatefulInspection stateInspect)
packet - Packet which is checked for its state.stateInspect - State Table with all the connection entries of the node.
boolean handleRelated(Packet packet,
StatefulInspection stateInspect)
packet - Packet which is checked for its state.stateInspect - State Table with all the connection entries of the node.
TableEntry updateEntry(TableEntry entry,
boolean reply,
Node node,
String hostname)
entry - Entry to update.reply - If we are dealing with a reply packet.node - Node object needed to retrieve the socket state of a connection (Needed for TCP connections).hostname - Hostname for which the Stateful Inspection Table is active.
|
Copyright © 2005 Verinec, DIUF | ||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||