NAME

Cobweb::SignalLine - class for detection of nodes in the network.

DESCRIPTION

CobWeb::SignalLine is the class responsible for detecting all the ode ins the networ thru a multicast channel. All responsive nodes will be memorized in a text file located at HOME/.cobweb directory.

ATTRIBUTES

group

is rw isa Str default set to 230.1.2.3

port

is rw isa Int default set to 6001

interface

is rw isa Str default set to 'eth0'

lookup

is rw isa Str

METHODS AND MODIFIERS

start

This methos instantiate the multicast function. The responsive nodes will have their IP stored in the nodes.cw file under the HOME/.cobweb directory.

before start modifier

This modifier is responsible for the set up of the .cobweb directory. The modifier will look for a directory with this name, if doesnt find one, it creates a new one.