New operation types
Hello,
I am trying to put an service together with a need to instantiate a new service operation, similar to the example shown on page 95.
The operation that I am creating is based on an Query operation, and per the example, I am trying to return a class which is part of the state.
However, when I attempt to return a type which is part of my service _state, I get compilation errors.
For example, the code from pg 95 shows:
public class QueryInfrared : Query<SensorsRequest, Portset<Sensors, Fault>>
{
}
What is the scope of the Sensors class? Is it defined in the _state ? If so, how can the above PortSet have knowledge about it if is defined in another class?
I've looked through the Hemmisson code and I can't seem to find the answer...
Thanks,
Scott
|