[albatross-users] Re: Renaming application and execution context classes

Dave Cole djc at object-craft.com.au
Tue Jul 1 20:18:07 EST 2003


> http://www.object-craft.com.au/projects/albatross/albatross/app-proto-new.html
> 
> looks kinda weird:
>   ? <p>
>   ? <div class="verbatim"><pre>
>   ? "new " appid " " age CRLF
>   ? 
>   ? </pre></div>
>   ? 
>   ? <p>
>   ? Successful response will be a line of the form:
>   ? 
>   ? <p>
>   ? <div class="verbatim"><pre>
>   ? "OK " sesid CRLF
>   ? </pre></div>
>   ? 
> 
> I assume the "'s are ment to be more clear?

A Python representation of the above would look like this:

        'new %s %s\r\n' % (appid, age)

        'OK %s\r\n' % sesid

Is that how you read the text?

- Dave

-- 
http://www.object-craft.com.au




More information about the Albatross-users mailing list