|
Neohapsis is currently accepting applications for employment. For more information, please visit our website www.neohapsis.com or email hr@neohapsis.com |
From: Jorge A. Rodriguez Suarez (jars
RECIFE.PE.GOV.BR)Date: Mon Jan 07 2002 - 07:00:16 CST
No, is not an event...is just a private Method, it work in this way:
- When the client create the instance of server, the method "Initialize" of
server create the object Timer, who from this moment check each minute for a
variable "IsAlive" (that belong to the server) be true and set her(IsAlive)
in false(through the private method "ChekIfAlive"). Now, the client have a
timer too that each minute call another protected method of the
server("KeepAlive") to set the variable IsAlive in true, so now with
multi-apartment the server is not calling the method "CheckIfAlive", and i
don't know when the client disconnect in a wrong way...(ex: the network goes
down...)
...thanks
Jorge...
----- Original Message -----
From: Steve Johnson <sjohnson
3TSYSTEMS.COM>
To: <DCOM
DISCUSS.MICROSOFT.COM>
Sent: Monday, January 07, 2002 14:37
Subject: Re: Problem...
> Is the method called by the TimerProc an event (connection point)?
> If so, the sink must only be called by the thread on which it was
> registered, or marshaled to the thread firing the event.
>
>
> Steve Johnson
> 3t Systems
>
> mailto://sjohnson
3tsystems.com
> (303) 858-8800 x265
>
>
> > ...each minute call a method to check
> > if a
> > client is connected, so when i before used apartment it
> > worked, but when
> > i
> > change to multi-apartment, the problem began...
>
> ----------------------------------------------------------------
> Users Guide http://discuss.microsoft.com/archives/mailfaq.asp
> contains important info. Save time, search the archives at
> http://discuss.microsoft.com/archives/index.html .
> To unsubscribe, mailto:DCOM-signoff-request
DISCUSS.MICROSOFT.COM
----------------------------------------------------------------
Users Guide http://discuss.microsoft.com/archives/mailfaq.asp
contains important info. Save time, search the archives at
http://discuss.microsoft.com/archives/index.html .
To unsubscribe, mailto:DCOM-signoff-request
DISCUSS.MICROSOFT.COM
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]