[prev in list] [next in list] [prev in thread] [next in thread] 

List:       midware
Subject:    Re: [midware] GETDATETIME
From:       "Francois PIETTE" <francois.piette () overbyte ! be>
Date:       2005-05-14 8:30:18
Message-ID: 012001c5585f$842f0aa0$6701a8c0 () TOSHIBA2
[Download RAW message or body]

> but i can't understand why the server responds via the telnet
> connection that i open only the GETDATETIME command when it hasn't
> been declared anyware?

Unless overriden, the FunctionCode for a TServerObject is derived from his
ClassName.
Here is the comment in the source code:

    TServerObject = class(TComponent)
    protected
        {:The FunctionCode is used by the ORB to know how to dispatch client
          requests to the various server objects he has in his table. By
default
          the FunctionCode is derived from the server object class name and
is
          the class name without the leading TServerObject. You can override
          the BuildFunctionCode method to change that behaviour. The
function
          code is case insensitive. }
        FFunctionCode   : String;

If you want to know how it works internally, you should study the source
code (rememeber: you have full source code). And also interesting is using
the debugger to follow what happend at execution time.
--
francois.piette@overbyte.be
http://www.overbyte.be


_______________________________________________
Midware mailing list [http://www.elists.org/mailman/listinfo/midware]
Visit our website at: http://www.overbyte.be

[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic