[Click] working with the handlers

sam barker sam.barker0 at gmail.com
Tue Jan 8 19:04:14 EST 2008


Thanks a lot guys .finally got it working.

On Jan 9, 2008 3:30 AM, Eddie Kohler <kohler at cs.ucla.edu> wrote:

> There is no element named readelment, because the configuration file was
> empty.
>
> Try a config file like
>
> readelment::NameOfYourElementClass
>
> E
>
>
> sam barker wrote:
> > Hi Beyers,
> > It was an empty file.I know its crazy,but all I want is to access the
> > handler and that would return me a string.So the element need not be
> > initialized and no interconnection are needed.
> >
> > I had placed the element in click .then did a make elemlist and then a
> make
> > install.
> >
> > Then
> > click –p 1234 test_handle.click
> > telnet local host 1234
> > read  readelment.handlername
> >
> >
> >
> >
> > On Jan 9, 2008 12:41 AM, Beyers Cronje <bcronje at gmail.com> wrote:
> >
> >> Hi Sam,
> >>
> >> What does test_handle.click look like and what command did you use in
> the
> >> telnet session?
> >>
> >> On Jan 8, 2008 5:15 AM, sam barker <sam.barker0 at gmail.com > wrote:
> >>
> >>> Hi,
> >>> I have a dummy element which has a handler.It doesnt have any output
> >>> ports.
> >>> The handler just returns a string.
> >>> Basically I just wanted to check functionality of the handler.
> >>>
> >>> So can I create a empty click file say test_handle.click.
> >>> and then start click with
> >>> click -p 1000 test_handle.click?
> >>>
> >>>
> >>>
> >>> I did try this then I telnetted into click but I got a error on the
> >>> screen
> >>> that my element cannot be found.
> >>>
> >>> Regards,
> >>> Sam
> >>> _______________________________________________
> >>> click mailing list
> >>> click at amsterdam.lcs.mit.edu
> >>> https://amsterdam.lcs.mit.edu/mailman/listinfo/click
> >>>
> >>
> > _______________________________________________
> > click mailing list
> > click at amsterdam.lcs.mit.edu
> > https://amsterdam.lcs.mit.edu/mailman/listinfo/click
>
>


More information about the click mailing list