Re: Suspend the parser

Marcio Marchini <[email protected]>
Newsgroups gmane.comp.lang.eiffel.gobo.general
Message-ID <[email protected]>
	This kind of functionality is very useful. I've had that need when 
parsing bytes coming in an event-driven fashion from a socket, via 
socket select in a loop.

marcio

Cheng-Chang Wu wrote:
> For my application the proccess must jump out from the
> parser and jump in later. I've written a feature
> 'suspend' to save the local variables of feature
> 'parse', and redefined feature 'parse' so when it is
> called next time, it can resume its job.
> 
> I am not sure if I've done it right. Maybe someone
> have interest to look in the two attached classes.
> 




------------------------ Yahoo! Groups Sponsor --------------------~--> 
Most low income households are not online. Help bridge the digital divide today!
http://us.click.yahoo.com/cd_AJB/QnQLAA/TtwFAA/saFolB/TM
--------------------------------------------------------------------~-> 

To Post a message, send it to:   [email protected]
To Unsubscribe, send a blank message to: [email protected] 
Yahoo! Groups Links

<*> To visit your group on the web, go to:
    http://groups.yahoo.com/group/gobo-eiffel/

<*> To unsubscribe from this group, send an email to:
    [email protected]

<*> Your use of Yahoo! Groups is subject to:
    http://docs.yahoo.com/info/terms/
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.