Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

How can I retreive a list of active connections to a appserver?

3 views
Skip to first unread message

Alex

unread,
Jun 13, 2000, 3:00:00 AM6/13/00
to
How can I retreive a list of active connections to a MIDAS appserver? (Using
appserver functions)

--
Sincerely,
Alex Granovsky (a...@uk2.net)


Deepak Shenoy

unread,
Jun 13, 2000, 3:00:00 AM6/13/00
to
> How can I retreive a list of active connections to a MIDAS appserver?
(Using
> appserver functions)

Doesn't seem like there are any appserver functions for this, but it's quite
easily implementable. Simply drop a provider on your RDM that returns the
number in an OnGetData handler (create a field, type ftInteger, and return a
global variable that stores the refcount, incremented or decremented in your
RDM unit's on connect)

remember that this will be slightly different for ciSingleInstance and
ciMultiInstance (locking might be required)

You can then use a ClientDataset or an XMLBroker to get the number of
connections by linking to this provider.

--
Deepak Shenoy
Agni Software
http://www.agnisoft.com

0 new messages