Class Filter
In: lib/network/protocol/filter.rb
Parent: Object
Filter
TopLevel

The Filter class is an abstract class defining the minimal methods needed to filter data.

A Filter can keep state and partial data

Methods

filter_in   filter_out   init   new  

Public Class methods

Construct filter

pstack
The ProtocolStack associated with this filter

Public Instance methods

The filter_in method filters input data

str
The string to be processed
return
The filtered data

The filter_out method filters output data

str
The string to be processed
return
The filtered data

Run any post-contruction initialization

args
Optional initial options

[Validate]