class FilterRawSocket4

A RawSocketClass that allows arbitrary filters to receive the data associated with a raw socket. More...

Definition#include <rawsock4.hh>
InheritsIoRawSocket4 [public ]
List of all Methods
Annotated List
Files
Globals
Hierarchy
Index

Public Types

Public Methods

Protected Methods

Protected Members


Detailed Description

A RawSocketClass that allows arbitrary filters to receive the data associated with a raw socket.

InputFilter (class)

InputFilter

Filter class.

 FilterRawSocket4 (EventLoop& e, int protocol)
throw (RawSocketException)

FilterRawSocket4

 ~FilterRawSocket4 ()

~FilterRawSocket4

bool  add_filter (InputFilter* filter)

add_filter

Add a filter to list of input filters. The FilterRawSocket4 class assumes that the callee will be responsible for managing the memory associated with the filter and will call remove_filter() if the filter is deleted or goes out of scope.

bool  remove_filter (InputFilter* filter)

remove_filter

bool  empty ()

empty

[const]

void  process_recv_data (const vector<uint8_t>& buf)

process_recv_data

[protected]

Reimplemented from IoRawSocket4.

list<InputFilter*> _filters

_filters

[protected]


Generated by: pavlin on possum.icir.org on Wed Dec 11 16:50:56 2002, using kdoc 2.0a54+XORP.