Mail Archive: Open Networks

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Update - Service Examples



Norman,

See below comments.

"Brickman,Norman F." wrote:
> 
> Rob,
>         Thanks for the offer to help.  I got the hello and helloclient code off
> the Nortel Active Networks web page,
> http://www.openetlab.org/docs/openetlab/AN_whitepaper.htm
> and was able to independently repeat the compile and creation of the jar
> files and have the Accelar ORE load them at startup.  First the hello
> loaded, then helloclient loaded and executed, causing a count message
> (of 0) to appear on the Accelar console screen.
That's correct.

> 
>         I have the general idea what is happening, but wouldn't mind a more
> detailed explanation that is on the white paper.  Like, HelloClient is a
> testing service that acquires the hello application.  Why not just run
> the Hello application directly?  If the Oplet class encapsulates the
> service, can I interface to the Oplet from my PC?  How?
The fact is that a service oplet such as Hello runs on the Accelar just
like a daemon program and provides its service to the client such as
HelloClient upon request.

You can interface a service oplet within the same ORE. For remote access
you communicate a service oplet from a system inside the network through
Java socket or RMI.

> 
>         My general question is how to control the router real time by sending
> it capsules/packets from my PC (or Sun, etc.).  The hello sample code
> will hopefully demonstrate that communications.  Is there any sample
> code or directions on doing this?  I want to call the HelloClient (or
> Hello) method and have an incremented count returned to me.  Or do I
> need to load ANTS in order to do this?
The ORE ANTS is a good example that meets your requirement. Actually it
makes the communication in the same way a Java program does.

>  And of course once I am
> proficient at, and can demonstrate, this communications I can start
> learning (and asking more questions!) about interfacing to the different
> parts of the Accelar to conduct QoS and security type of functionality.
> 
>         Thanks for your help with all these elementary questions.
>                 Norman
Sure. And, you need to learn about these 8600 features although the
1100B provides QoS support by a handful of forwarding priorities.

Regards,
Phil



Home | Date Index | Thread Index