Class ProtocolStack
In: lib/network/protocol/protocolstack.rb
Parent: Object
ProtocolStack
TopLevel

The ProtocolStack class implements a stack of input and output filters. It also maintains some interesting state variables that are shared amongst filters.

Remarks:This should have its own configuration file.

Methods

filter_call   new   query   set  

Attributes

binary_on  [RW] 
color_on  [RW] 
conn  [R] 
echo_on  [RW] 
eorec_on  [RW] 
hide_on  [RW] 
terminal  [RW] 
theight  [RW] 
twidth  [RW] 
urgent_on  [RW] 
zmp_on  [RW] 

Public Class methods

Construct a ProtocolStack

conn
The connection associated with this filter

Public Instance methods

A method is called on each filter in the stack in order.

[method] [args]

The filter_query method returns state information for the filter.

attr
A symbol representing the attribute being queried.
return
An attr/value pair or false if not defined in this filter

The filter_set method sets state information on the filter.

pair
An attr/value pair [:symbol, value]
return
true if attr not defined in this filter, false if not

[Validate]