Writing an R-class!!

Login to reply to this topic.
Wed, 2006-11-01 07:20
Joined: 2006-08-01
Forum posts: 6
    Does anybody knows whether a user-defined R-class is available?
    I think the R-class derives from CActive, and StartL-like function contains a TRequestStatus& -typed param.
    If a user-defined one is available, then can we modify iStatus as the system-defined R-classes do?
Huh

Wed, 2006-11-01 08:45
Joined: 2003-12-05
Forum posts: 587
Re: Writing an R-class!!
If you meant to ask if one can create your own R -class, the answer is yes, of course. For example, if you implement a server, it's client side API is usually implemented as a R -class.

R -classes do not inherit from CActive, if they did, they would be C -classes.

R -classes can change the value of request status variable if they get it passes as a parameter to some of their (asynchronous) methods.
  • Login to reply to this topic.